12345678910111213141516171819202122232425262728293031323334353637383940 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include $(ADK_TOPDIR)/rules.mk
- PKG_NAME:= gdk-pixbuf
- PKG_VERSION:= 2.30.8
- PKG_EXTRAVER:= 2.30
- PKG_RELEASE:= 1
- PKG_HASH:= 4853830616113db4435837992c0aebd94cbb993c44dc55063cee7f72a7bef8be
- PKG_DESCR:= image loading and pixel buffer manipulation library
- PKG_SECTION:= libs/image
- PKG_DEPENDS:= libstdcxx
- PKG_BUILDDEP:= libjpeg-turbo libtiff
- HOST_BUILDDEP:= glib-host libffi-host
- PKG_SITES:= $(MASTER_SITE_GNOME:=gdk-pixbuf/$(PKG_EXTRAVER)/)
- PKG_OPTS:= dev
- include $(ADK_TOPDIR)/mk/host.mk
- include $(ADK_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_LDFLAGS+= -lffi -lz -ldl -lresolv
- HOST_CONFIGURE_ARGS+= --disable-glibtest \
- --without-libtiff
- CONFIGURE_ENV+= gio_can_sniff=no
- gdk-pixbuf-install:
- $(INSTALL_DIR) $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
- $(CP) $(WRKINST)/usr/lib/libgdk_pixbuf*so* \
- $(IDIR_GDK_PIXBUF)/usr/lib
- $(CP) $(WRKINST)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-*.so \
- $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/
- $(CP) ./files/loaders.cache \
- $(IDIR_GDK_PIXBUF)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
- include $(ADK_TOPDIR)/mk/host-bottom.mk
- include $(ADK_TOPDIR)/mk/pkg-bottom.mk
|