summaryrefslogtreecommitdiff
path: root/package/gdk-pixbuf/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-23 18:28:03 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-23 18:28:24 +0200
commit72b4ecd972cbade303cf7cf69986183a10feb118 (patch)
tree5bd4eec4af600aa631b0f523b9067855c8e60a4b /package/gdk-pixbuf/Makefile
parent4340ac5371121ab2adb2dc53414c2348506cac73 (diff)
fix host compile of librsvg, required for midori
Diffstat (limited to 'package/gdk-pixbuf/Makefile')
-rw-r--r--package/gdk-pixbuf/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/gdk-pixbuf/Makefile b/package/gdk-pixbuf/Makefile
index 1eda79031..b243727f8 100644
--- a/package/gdk-pixbuf/Makefile
+++ b/package/gdk-pixbuf/Makefile
@@ -7,17 +7,23 @@ PKG_NAME:= gdk-pixbuf
PKG_VERSION:= 2.24.0
PKG_RELEASE:= 2
PKG_MD5SUM:= bd7c2a9d23b573db467e39833f12103d
-PKG_DESCR:= GDK pixbuf library
+PKG_DESCR:= pixbuf library
PKG_SECTION:= libs
PKG_BUILDDEP:= libjpeg-turbo libtiff
+HOST_BUILDDEP:= glib-host
PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/
PKG_NEED_CXX:= 1
PKG_OPTS:= dev
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
+HOST_CONFIGURE_ARGS+= --disable-glibtest \
+ --without-libtiff
CONFIGURE_ENV+= gio_can_sniff=no
gdk-pixbuf-install:
@@ -29,4 +35,5 @@ gdk-pixbuf-install:
$(CP) ./files/loaders.cache \
$(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk