Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= gdk-pixbuf
  5. PKG_VERSION:= 2.30.8
  6. PKG_EXTRAVER:= 2.30
  7. PKG_RELEASE:= 1
  8. PKG_HASH:= 4853830616113db4435837992c0aebd94cbb993c44dc55063cee7f72a7bef8be
  9. PKG_DESCR:= image loading and pixel buffer manipulation library
  10. PKG_SECTION:= libs/image
  11. PKG_DEPENDS:= libstdcxx
  12. PKG_BUILDDEP:= libjpeg-turbo libtiff
  13. HOST_BUILDDEP:= glib-host libffi-host
  14. PKG_SITES:= $(MASTER_SITE_GNOME:=gdk-pixbuf/$(PKG_EXTRAVER)/)
  15. PKG_OPTS:= dev
  16. include $(ADK_TOPDIR)/mk/host.mk
  17. include $(ADK_TOPDIR)/mk/package.mk
  18. $(eval $(call HOST_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-$(PKG_RELEASE)))
  19. $(eval $(call PKG_template,GDK_PIXBUF,gdk-pixbuf,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  20. HOST_LDFLAGS+= -lffi -lz -ldl -lresolv
  21. HOST_CONFIGURE_ARGS+= --disable-glibtest \
  22. --without-libtiff
  23. CONFIGURE_ENV+= gio_can_sniff=no
  24. gdk-pixbuf-install:
  25. $(INSTALL_DIR) $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
  26. $(CP) $(WRKINST)/usr/lib/libgdk_pixbuf*so* \
  27. $(IDIR_GDK_PIXBUF)/usr/lib
  28. $(CP) $(WRKINST)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-*.so \
  29. $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
  30. $(CP) ./files/loaders.cache \
  31. $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
  32. include $(ADK_TOPDIR)/mk/host-bottom.mk
  33. include $(ADK_TOPDIR)/mk/pkg-bottom.mk