summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-10 11:51:57 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-13 14:50:46 -0500
commitf1a7a616a7bb97bc3bbad510a6119382d7c09421 (patch)
treed013fc7ca25e660ccca7e6b13fa546248b0b639c /package
parent9e182e632accf2ec3e97d540f7e8b28f1815187c (diff)
add uClibc-ng support for kodi build
Diffstat (limited to 'package')
-rw-r--r--package/atk/Makefile3
-rw-r--r--package/kodi/Makefile4
-rw-r--r--package/tvheadend/Makefile7
3 files changed, 12 insertions, 2 deletions
diff --git a/package/atk/Makefile b/package/atk/Makefile
index 3377d107a..9d43572f0 100644
--- a/package/atk/Makefile
+++ b/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)))
diff --git a/package/kodi/Makefile b/package/kodi/Makefile
index 2c5d3f979..e08d8759d 100644
--- a/package/kodi/Makefile
+++ b/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
diff --git a/package/tvheadend/Makefile b/package/tvheadend/Makefile
index 70cef62f2..c85cc5f7e 100644
--- a/package/tvheadend/Makefile
+++ b/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