diff options
author | markd <markd@pkgsrc.org> | 2011-02-19 08:54:08 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2011-02-19 08:54:08 +0000 |
commit | 8f8ad5558814286637d3d7855a0648c74f47941f (patch) | |
tree | 6fe7d13e678d80d9f98befc97a5bd7a14c535ea1 /graphics/imlib-gtk | |
parent | 36f6db010730ea75a7a2362c957ccfb839b11eb4 (diff) | |
download | pkgsrc-8f8ad5558814286637d3d7855a0648c74f47941f.tar.gz |
Split the gtk parts of imlib into its own package.
Diffstat (limited to 'graphics/imlib-gtk')
-rw-r--r-- | graphics/imlib-gtk/DESCR | 3 | ||||
-rw-r--r-- | graphics/imlib-gtk/Makefile | 52 | ||||
-rw-r--r-- | graphics/imlib-gtk/PLIST | 15 | ||||
-rw-r--r-- | graphics/imlib-gtk/buildlink3.mk | 15 |
4 files changed, 85 insertions, 0 deletions
diff --git a/graphics/imlib-gtk/DESCR b/graphics/imlib-gtk/DESCR new file mode 100644 index 00000000000..407c0c54fe0 --- /dev/null +++ b/graphics/imlib-gtk/DESCR @@ -0,0 +1,3 @@ +Imlib is an advanced replacement library for libraries like libXpm +that provides many more features with much greater flexibility and +speed. This is the gtk1 dependent part of the package diff --git a/graphics/imlib-gtk/Makefile b/graphics/imlib-gtk/Makefile new file mode 100644 index 00000000000..628dd747324 --- /dev/null +++ b/graphics/imlib-gtk/Makefile @@ -0,0 +1,52 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/02/19 08:54:08 markd Exp $ + +DISTNAME= imlib-1.9.15 +PKGNAME= imlib-gtk-1.9.15 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/imlib/1.9/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.nl.rasterman.com/imlib.html +COMMENT= Image manipulation library for X11 (gtk bits) + +CONFLICTS= imlib<=1.9.15nb8 + +PKG_DESTDIR_SUPPORT= user-destdir +PKG_INSTALLATION_TYPES= overwrite pkgviews + +DISTINFO_FILE= ${.CURDIR}/../imlib/distinfo +PATCHDIR= ${.CURDIR}/../imlib/patches +INSTALL_DIRS= gdk_imlib utils + +USE_TOOLS+= gmake +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +PKGCONFIG_OVERRIDE= imlib.pc.in +UNLIMIT_RESOURCES= datasize + +CPPFLAGS+= -DENABLE_NLS +CONFIGURE_ENV+= ac_cv_path_CONVERT_PROG="${LOCALBASE}/bin/convert" +CONFIGURE_ENV+= X_LDFLAGS=${X_LDFLAGS:Q} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} +# breaks kde3 kuickshow if shm and other than XAA acceleration +CONFIGURE_ARGS+= --disable-shm + +PKG_SYSCONFSUBDIR= imlib + +# The following ensures that `imlib-config --libs' includes the correct +# linker flags for linking the X11 libs. +# +X_LDFLAGS= ${X11_LDFLAGS} + +.include "../../mk/bsd.prefs.mk" +.if ${X11_TYPE} == "modular" +CONFIGURE_ARGS+= --x-includes=${X11PREFIX:Q}/include +.endif + +BUILDLINK_DEPMETHOD.libXt?= build + +.include "../../graphics/imlib/buildlink3.mk" +.include "../../x11/gtk/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/imlib-gtk/PLIST b/graphics/imlib-gtk/PLIST new file mode 100644 index 00000000000..64412e4e918 --- /dev/null +++ b/graphics/imlib-gtk/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/02/19 08:54:08 markd Exp $ +bin/imlib_config +include/gdk_imlib.h +include/gdk_imlib_private.h +include/gdk_imlib_types.h +lib/libgdk_imlib.la +lib/libimlib-bmp.la +lib/libimlib-gif.la +lib/libimlib-jpeg.la +lib/libimlib-png.la +lib/libimlib-ppm.la +lib/libimlib-ps.la +lib/libimlib-tiff.la +lib/libimlib-xpm.la +man/man1/imlib_config.1 diff --git a/graphics/imlib-gtk/buildlink3.mk b/graphics/imlib-gtk/buildlink3.mk new file mode 100644 index 00000000000..952f7548faa --- /dev/null +++ b/graphics/imlib-gtk/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/02/19 08:54:08 markd Exp $ + +BUILDLINK_TREE+= imlib-gtk + +.if !defined(IMLIB_GTK_BUILDLINK3_MK) +IMLIB_GTK_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.imlib-gtk+= imlib-gtk>=1.9.15 +BUILDLINK_PKGSRCDIR.imlib-gtk?= ../../graphics/imlib-gtk + +.include "../../graphics/imlib/buildlink3.mk" +.include "../../x11/gtk/buildlink3.mk" +.endif # IMLIB_GTK_BUILDLINK3_MK + +BUILDLINK_TREE+= -imlib-gtk |