blob: db3e3cd7ea815366ebe293f08d5305cd761c237e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(TOPDIR)/rules.mk
PKG_NAME:= gdk-pixbuf
PKG_VERSION:= 2.24.0
PKG_RELEASE:= 1
PKG_MD5SUM:= bd7c2a9d23b573db467e39833f12103d
PKG_DESCR:= GDK pixbuf library
PKG_SECTION:= libs
PKG_BUILDDEP:= jpeg libtiff
PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/
PKG_NEED_CXX:= 1
PKG_SUBPKGS:= GDK_PIXBUF GDK_PIXBUF_DEV
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.xz
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GDK_PIXBUF,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,GDK_PIXBUF_DEV,gdk-pixbuf-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
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
gdk-pixbuf-dev-install:
$(INSTALL_DIR) $(IDIR_GDK_PIXBUF_DEV)/usr/lib/pkgconfig
$(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
$(IDIR_GDK_PIXBUF_DEV)/usr/lib/pkgconfig
$(INSTALL_DIR) $(IDIR_GDK_PIXBUF_DEV)/usr/include
$(CP) $(WRKINST)/usr/include/* \
$(IDIR_GDK_PIXBUF_DEV)/usr/include
include ${TOPDIR}/mk/pkg-bottom.mk
|