Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:= 1
  7. PKG_MD5SUM:= bd7c2a9d23b573db467e39833f12103d
  8. PKG_DESCR:= GDK pixbuf library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= jpeg libtiff
  11. PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/
  12. PKG_NEED_CXX:= 1
  13. PKG_SUBPKGS:= GDK_PIXBUF GDK_PIXBUF_DEV
  14. PKGSC_GDK_PIXBUF_DEV:= devel
  15. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.xz
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,GDK_PIXBUF,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,GDK_PIXBUF_DEV,gdk-pixbuf-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_GDK_PIXBUF_DEV}))
  19. CONFIGURE_ENV+= gio_can_sniff=no
  20. gdk-pixbuf-install:
  21. $(INSTALL_DIR) $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
  22. $(CP) $(WRKINST)/usr/lib/libgdk_pixbuf*so* \
  23. $(IDIR_GDK_PIXBUF)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-*.so \
  25. $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
  26. $(CP) ./files/loaders.cache \
  27. $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
  28. gdk-pixbuf-dev-install:
  29. $(INSTALL_DIR) $(IDIR_GDK_PIXBUF_DEV)/usr/lib/pkgconfig
  30. $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
  31. $(IDIR_GDK_PIXBUF_DEV)/usr/lib/pkgconfig
  32. $(INSTALL_DIR) $(IDIR_GDK_PIXBUF_DEV)/usr/include
  33. $(CP) $(WRKINST)/usr/include/* \
  34. $(IDIR_GDK_PIXBUF_DEV)/usr/include
  35. include ${TOPDIR}/mk/pkg-bottom.mk