Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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_CONFIGURE_ARGS+= --disable-glibtest \
  20. --without-libtiff
  21. CONFIGURE_ENV+= gio_can_sniff=no
  22. gdk-pixbuf-install:
  23. $(INSTALL_DIR) $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
  24. $(CP) $(WRKINST)/usr/lib/libgdk_pixbuf*so* \
  25. $(IDIR_GDK_PIXBUF)/usr/lib
  26. $(CP) $(WRKINST)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-*.so \
  27. $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
  28. $(CP) ./files/loaders.cache \
  29. $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
  30. include ${TOPDIR}/mk/host-bottom.mk
  31. include ${TOPDIR}/mk/pkg-bottom.mk