summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf2-jasper
diff options
context:
space:
mode:
authordrochner <drochner>2010-11-14 20:13:40 +0000
committerdrochner <drochner>2010-11-14 20:13:40 +0000
commit6a6f53bd3df0b5d7880bb59931868ca1612e5459 (patch)
tree36270100946d648a9d2e3d66414e0d0928c89c23 /graphics/gdk-pixbuf2-jasper
parentcbbe71dd85af056eaaf84d81dc67025441c3e549 (diff)
downloadpkgsrc-6a6f53bd3df0b5d7880bb59931868ca1612e5459.tar.gz
turn gtk2's "jasper" option into a plugin pkg
Diffstat (limited to 'graphics/gdk-pixbuf2-jasper')
-rw-r--r--graphics/gdk-pixbuf2-jasper/DESCR18
-rw-r--r--graphics/gdk-pixbuf2-jasper/Makefile42
-rw-r--r--graphics/gdk-pixbuf2-jasper/PLIST2
3 files changed, 62 insertions, 0 deletions
diff --git a/graphics/gdk-pixbuf2-jasper/DESCR b/graphics/gdk-pixbuf2-jasper/DESCR
new file mode 100644
index 00000000000..d14ab789624
--- /dev/null
+++ b/graphics/gdk-pixbuf2-jasper/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-jasper/Makefile b/graphics/gdk-pixbuf2-jasper/Makefile
new file mode 100644
index 00000000000..44955394db1
--- /dev/null
+++ b/graphics/gdk-pixbuf2-jasper/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/11/14 20:13:40 drochner Exp $
+#
+
+DISTNAME= gdk-pixbuf-2.22.1
+PKGNAME= gdk-pixbuf2-jasper-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 - jasper module
+LICENSE= gnu-gpl-v2
+
+DISTINFO_FILE= ${.CURDIR}/../../graphics/gdk-pixbuf2/distinfo
+PATCHDIR= ${.CURDIR}/../../graphics/gdk-pixbuf2/patches
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --without-libtiff --without-libjpeg --without-libpng
+CONFIGURE_ARGS+= --with-libjasper
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+BUILD_DIRS= gdk-pixbuf
+BUILD_TARGET= libpixbufloader-jasper.la
+
+do-install:
+ ${INSTALL_DATA_DIR} \
+ ${DESTDIR}${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders
+ cd ${WRKSRC}/gdk-pixbuf && ${LIBTOOL} --mode=install \
+ ${INSTALL_DATA} libpixbufloader-jasper.la \
+ ${DESTDIR}${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders
+
+GTK2_LOADERS= yes
+.include "../../graphics/gdk-pixbuf2/loaders.mk"
+
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/jasper/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/gdk-pixbuf2-jasper/PLIST b/graphics/gdk-pixbuf2-jasper/PLIST
new file mode 100644
index 00000000000..493698f72e2
--- /dev/null
+++ b/graphics/gdk-pixbuf2-jasper/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/11/14 20:13:40 drochner Exp $
+lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jasper.la