Quellcode durchsuchen

add uClibc-ng support for kodi build

Waldemar Brodkorb vor 9 Jahren
Ursprung
Commit
f1a7a616a7
3 geänderte Dateien mit 12 neuen und 2 gelöschten Zeilen
  1. 3 0
      package/atk/Makefile
  2. 2 2
      package/kodi/Makefile
  3. 7 0
      package/tvheadend/Makefile

+ 3 - 0
package/atk/Makefile

@@ -16,6 +16,9 @@ PKG_SITES:=		$(MASTER_SITE_GNOME:=atk/$(PKG_EXTRAVER)/)
 PKG_LIBNAME:=		libatk
 PKG_OPTS:=		dev
 
+PKG_BUILDDEP_UCLIBC:=	gettext-tiny
+PKG_BUILDDEP_UCLIBC_NG:=gettext-tiny
+
 include $(ADK_TOPDIR)/mk/package.mk
 
 $(eval $(call PKG_template,LIBATK,libatk,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))

+ 2 - 2
package/kodi/Makefile

@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		kodi
 PKG_VERSION:=		ff25ea118e3580bb1ebcbb7c450ed933da1782be
-PKG_RELEASE:=		3
+PKG_RELEASE:=		4
 PKG_DESCR:=		software media player
 PKG_SECTION:=		mm/video
 PKG_DEPENDS:=		boost python2 libstdcxx glibc-gconv libsquish
@@ -62,7 +62,7 @@ PKGFS_WITH_LIRC:=	lirc
 PKGFD_WITH_WEBSERVER:=	enable internal webserver support
 
 # libiconv missing, freescale GL libraries linked against glibc
-PKG_LIBC_DEPENDS:=	glibc
+PKG_LIBC_DEPENDS:=	glibc uclibc-ng
 
 PKG_DEPENDS_RASPBERRY_PI:=	bcm28xx-vc bcm28xx-vc-gl-libs bcm28xx-vc-libs
 PKG_BUILDDEP_RASPBERRY_PI:=	bcm28xx-vc

+ 7 - 0
package/tvheadend/Makefile

@@ -12,12 +12,19 @@ PKG_BUILDDEP:=		openssl
 PKG_URL:=		https://tvheadend.org/projects/tvheadend
 PKG_SITES:=		https://github.com/tvheadend/tvheadend.git
 
+PKG_BUILDDEP_UCLIBC:=	libiconv-tiny
+PKG_BUILDDEP_UCLIBC_NG:=libiconv-tiny
+
 include $(ADK_TOPDIR)/mk/package.mk
 
 $(eval $(call PKG_template,TVHEADEND,tvheadend,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
 
 XAKE_FLAGS+=		GCC_HONOUR_COPTS=s
 
+ifeq ($(ADK_TARGET_LIB_UCLIBC)$(ADK_TARGET_LIB_UCLIBC_NG),y)
+XAKE_FLAGS+=		LDLIBS=-liconv
+endif
+
 tvheadend-install:
 	$(INSTALL_DIR) $(IDIR_TVHEADEND)/usr/bin
 	$(INSTALL_DIR) $(IDIR_TVHEADEND)/usr/share