summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf2-xlib
diff options
context:
space:
mode:
authordrochner <drochner>2010-11-16 16:46:29 +0000
committerdrochner <drochner>2010-11-16 16:46:29 +0000
commit2aa1d4b7d8b9f9b54a26d57977312f98ae2928a8 (patch)
treef2afd62d4a478320b4d2650528cbf9e79f7a8b3a /graphics/gdk-pixbuf2-xlib
parent93940fefb93efd329cf41076fc74f8abd05ec7ec (diff)
downloadpkgsrc-2aa1d4b7d8b9f9b54a26d57977312f98ae2928a8.tar.gz
build xlib support of gdk-pixbuf2 in its own pkg
Diffstat (limited to 'graphics/gdk-pixbuf2-xlib')
-rw-r--r--graphics/gdk-pixbuf2-xlib/DESCR18
-rw-r--r--graphics/gdk-pixbuf2-xlib/Makefile36
-rw-r--r--graphics/gdk-pixbuf2-xlib/PLIST5
-rw-r--r--graphics/gdk-pixbuf2-xlib/buildlink3.mk16
4 files changed, 75 insertions, 0 deletions
diff --git a/graphics/gdk-pixbuf2-xlib/DESCR b/graphics/gdk-pixbuf2-xlib/DESCR
new file mode 100644
index 00000000000..d14ab789624
--- /dev/null
+++ b/graphics/gdk-pixbuf2-xlib/DESCR
@@ -0,0 +1,18 @@
+ GdkPixbuf is a new GNOME library designed to solve part of Imlib's
+design limitations that make it hard to write efficient and highly
+modular applications. The GdkPixbuf library provides a basic,
+reference counted structure called GdkPixbuf. This structure points
+to a block of image data, has fields that describe the format of the
+image data, and also contains a reference count. The library also
+provides a simple mechanism for loading images from files, and a more
+sophisticated mechanism for loading images progressively from
+arbitrary buffers. It also provides utility functions to transform
+pixbufs and render them to GDK drawables.
+
+The GdkPixBuf library provides a number of features:
+ * Image loading facilities.
+ * Rendering of a GdkPixBuf into various formats:
+ drawables (windows, pixmaps), GdkRGB buffers.
+
+This is the gtk 2 version of gdk-pixbuf. It got
+included natively in gtk2+ and was split out again in revision 2.22.
diff --git a/graphics/gdk-pixbuf2-xlib/Makefile b/graphics/gdk-pixbuf2-xlib/Makefile
new file mode 100644
index 00000000000..b6ab0046d29
--- /dev/null
+++ b/graphics/gdk-pixbuf2-xlib/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/11/16 16:46:29 drochner Exp $
+#
+
+DISTNAME= gdk-pixbuf-2.22.1
+PKGNAME= gdk-pixbuf2-xlib-2.22.1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdk-pixbuf/2.22/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.22/
+COMMENT= Image loaders for gtk2
+LICENSE= gnu-gpl-v2
+
+PATCHDIR= ${.CURDIR}/../../graphics/gdk-pixbuf2/patches
+DISTINFO_FILE= ${.CURDIR}/../../graphics/gdk-pixbuf2/distinfo
+BUILD_DIRS= contrib/gdk-pixbuf-xlib
+INSTALL_DIRS= contrib/gdk-pixbuf-xlib
+
+CONFLICTS+= gtk2+<2.22
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --without-libtiff --without-libjpeg --without-libpng
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_PKGLOCALEDIR= yes
+
+PKGCONFIG_OVERRIDE+= contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc.in
+PKGCONFIG_OVERRIDE+= gdk-pixbuf-2.0.pc.in
+
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/gdk-pixbuf2-xlib/PLIST b/graphics/gdk-pixbuf2-xlib/PLIST
new file mode 100644
index 00000000000..9faad05bcc9
--- /dev/null
+++ b/graphics/gdk-pixbuf2-xlib/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/11/16 16:46:29 drochner Exp $
+include/gdk-pixbuf-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h
+include/gdk-pixbuf-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h
+lib/libgdk_pixbuf_xlib-2.0.la
+lib/pkgconfig/gdk-pixbuf-xlib-2.0.pc
diff --git a/graphics/gdk-pixbuf2-xlib/buildlink3.mk b/graphics/gdk-pixbuf2-xlib/buildlink3.mk
new file mode 100644
index 00000000000..6ea8110d173
--- /dev/null
+++ b/graphics/gdk-pixbuf2-xlib/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/11/16 16:46:29 drochner Exp $
+
+BUILDLINK_TREE+= gdk-pixbuf2-xlib
+
+.if !defined(GDK_PIXBUF2_XLIB_BUILDLINK3_MK)
+GDK_PIXBUF2_XLIB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gdk-pixbuf2-xlib+= gdk-pixbuf2-xlib>=2.22.1
+BUILDLINK_PKGSRCDIR.gdk-pixbuf2-xlib?= ../../graphics/gdk-pixbuf2-xlib
+
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.endif # GDK_PIXBUF2_XLIB_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -gdk-pixbuf2-xlib