Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= gdk-pixbuf
  5. PKG_VERSION:= 2.24.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= bd7c2a9d23b573db467e39833f12103d
  8. PKG_DESCR:= image loading and pixel buffer manipulation library
  9. PKG_SECTION:= libs/image
  10. PKG_DEPENDS:= libstdcxx
  11. PKG_BUILDDEP:= libjpeg-turbo libtiff
  12. HOST_BUILDDEP:= glib-host
  13. PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/
  14. PKG_OPTS:= dev
  15. include $(TOPDIR)/mk/host.mk
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call HOST_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-${PKG_RELEASE}))
  18. $(eval $(call PKG_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. HOST_STYLE:= auto
  20. HOST_CONFIGURE_ARGS+= --disable-glibtest \
  21. --without-libtiff
  22. CONFIGURE_ENV+= gio_can_sniff=no
  23. gdk-pixbuf-install:
  24. $(INSTALL_DIR) $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
  25. $(CP) $(WRKINST)/usr/lib/libgdk_pixbuf*so* \
  26. $(IDIR_GDK_PIXBUF)/usr/lib
  27. $(CP) $(WRKINST)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-*.so \
  28. $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
  29. $(CP) ./files/loaders.cache \
  30. $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
  31. include ${TOPDIR}/mk/host-bottom.mk
  32. include ${TOPDIR}/mk/pkg-bottom.mk