6ac12d8b18
This reverts commit dededf0ff2
.
Building the only package depending on libcrossguid, Kodi, breaks due to
this bump:
/home/buildroot/br4/output/build/kodi-17.6-Krypton/xbmc/utils/
StringUtils.cpp: In static member function ‘static std::__cxx11::string
StringUtils::CreateUUID()’:
/home/buildroot/br4/output/build/kodi-17.6-Krypton/xbmc/utils/
StringUtils.cpp:1194:10: error: ‘GuidGenerator’ does not name a type
static GuidGenerator guidGenerator;
^~~~~~~~~~~~~
/home/buildroot/br4/output/build/kodi-17.6-Krypton/xbmc/utils/
StringUtils.cpp:1195:15: error: ‘guidGenerator’ was not declared in this
scope
auto guid = guidGenerator.newGuid();
^~~~~~~~~~~~~
This happens due to changes in libcrossguid:
https://github.com/graeme-hill/crossguid/blob/master/README.md
"This is version 0.2 of CrossGuid. If you all already using CrossGuid and
your code uses GuidGenerator then you are using version 0.1."
Even Kodi master branch has no support for libcrossguid-0.2.x yet so we
revert the bump.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
29 lines
940 B
Makefile
29 lines
940 B
Makefile
################################################################################
|
|
#
|
|
# libcrossguid
|
|
#
|
|
################################################################################
|
|
|
|
LIBCROSSGUID_VERSION = 8f399e8bd4252be9952f3dfa8199924cc8487ca4
|
|
LIBCROSSGUID_SITE = $(call github,graeme-hill,crossguid,$(LIBCROSSGUID_VERSION))
|
|
LIBCROSSGUID_LICENSE = MIT
|
|
LIBCROSSGUID_LICENSE_FILES = LICENSE
|
|
LIBCROSSGUID_INSTALL_STAGING = YES
|
|
# only a static library
|
|
LIBCROSSGUID_INSTALL_TARGET = NO
|
|
LIBCROSSGUID_DEPENDENCIES = util-linux
|
|
|
|
define LIBCROSSGUID_BUILD_CMDS
|
|
(cd $(@D); $(TARGET_CXX) $(TARGET_CXXFLAGS) -std=c++11 -DGUID_LIBUUID \
|
|
-c guid.cpp -o guid.o)
|
|
(cd $(@D); $(TARGET_AR) rvs libcrossguid.a guid.o)
|
|
endef
|
|
|
|
define LIBCROSSGUID_INSTALL_STAGING_CMDS
|
|
$(INSTALL) -D -m 644 $(@D)/libcrossguid.a \
|
|
$(STAGING_DIR)/usr/lib/libcrossguid.a
|
|
$(INSTALL) -D -m 644 $(@D)/guid.h $(STAGING_DIR)/usr/include/guid.h
|
|
endef
|
|
|
|
$(eval $(generic-package))
|