summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-11-04 10:45:20 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-11-04 10:45:20 +0000
commitaf1b5ba5ea8492d35ab29329f67eefeb0b1ec51f (patch)
tree2882a17e632915008ad8a1b769b1b5dae228e56f /media-libs/libafterimage
parentRemoving myself as the maintainer. (diff)
downloadgentoo-2-af1b5ba5ea8492d35ab29329f67eefeb0b1ec51f.tar.gz
gentoo-2-af1b5ba5ea8492d35ab29329f67eefeb0b1ec51f.tar.bz2
gentoo-2-af1b5ba5ea8492d35ab29329f67eefeb0b1ec51f.zip
Version bump
(Portage version: 2.1.3.16)
Diffstat (limited to 'media-libs/libafterimage')
-rw-r--r--media-libs/libafterimage/ChangeLog9
-rw-r--r--media-libs/libafterimage/files/digest-libafterimage-1.153
-rw-r--r--media-libs/libafterimage/files/libafterimage-1.15-examples.patch29
-rw-r--r--media-libs/libafterimage/files/libafterimage-makefile.in.patch42
-rw-r--r--media-libs/libafterimage/libafterimage-1.15.ebuild77
5 files changed, 159 insertions, 1 deletions
diff --git a/media-libs/libafterimage/ChangeLog b/media-libs/libafterimage/ChangeLog
index db0f20ddce39..2da75a3c64de 100644
--- a/media-libs/libafterimage/ChangeLog
+++ b/media-libs/libafterimage/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/libafterimage
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/ChangeLog,v 1.2 2007/07/22 09:27:55 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/ChangeLog,v 1.3 2007/11/04 10:45:19 bicatali Exp $
+
+*libafterimage-1.15 (04 Nov 2007)
+
+ 04 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/libafterimage-1.15-examples.patch,
+ +files/libafterimage-makefile.in.patch, +libafterimage-1.15.ebuild:
+ Version bump.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
libafterimage-1.07.ebuild:
diff --git a/media-libs/libafterimage/files/digest-libafterimage-1.15 b/media-libs/libafterimage/files/digest-libafterimage-1.15
new file mode 100644
index 000000000000..3ae54fd86dc5
--- /dev/null
+++ b/media-libs/libafterimage/files/digest-libafterimage-1.15
@@ -0,0 +1,3 @@
+MD5 cac9f813e104f90d63fced6123d54a13 libAfterImage-1.15.tar.bz2 1091821
+RMD160 8111c5f809e5806face37677ffc65cf4e3e3a54c libAfterImage-1.15.tar.bz2 1091821
+SHA256 e132958d04c69c7870fd7e428bbd33c6235f91e9c5a07d70663c3c930c25877b libAfterImage-1.15.tar.bz2 1091821
diff --git a/media-libs/libafterimage/files/libafterimage-1.15-examples.patch b/media-libs/libafterimage/files/libafterimage-1.15-examples.patch
new file mode 100644
index 000000000000..3e238247e571
--- /dev/null
+++ b/media-libs/libafterimage/files/libafterimage-1.15-examples.patch
@@ -0,0 +1,29 @@
+--- ./apps/Makefile.in.orig Thu Aug 2 07:09:02 2007
++++ ./apps/Makefile.in Sun Aug 5 21:11:50 2007
+@@ -13,14 +13,14 @@
+ MV = @MV@
+ RM = @RM@
+ RMF = @RM@ -f
+-MKDIR = @MKDIR@
++MKDIR = @MKDIR@ -p
+ FIND = @FIND@
+ XARGS = @XARGS@
+ LDCONFIG = @LDCONFIG@
+
+ INSTALL = @INSTALL@
+-INSTALL_PROGRAM = @INSTALL@ -m 755
+-INSTALL_DATA = @INSTALL@ -m 644
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
+
+ INCS_X = @X_CFLAGS@
+ INCS_PRIVATE =
+@@ -30,7 +30,7 @@
+ LIBS_X = @x_libs@
+ LIBS_XEXTS =
+ LIBS_AFTERIMAGE = @AFTERIMAGE_APPS_LIBS@
+-LIBRARIES = $(USER_LD_FLAGS) $(LIBS_AFTERIMAGE) $(LIBS_X) $(LIBS_XEXTS)
++LIBRARIES = $(LIBS_AFTERIMAGE) $(USER_LD_FLAGS) $(LIBS_X) $(LIBS_XEXTS)
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
diff --git a/media-libs/libafterimage/files/libafterimage-makefile.in.patch b/media-libs/libafterimage/files/libafterimage-makefile.in.patch
new file mode 100644
index 000000000000..24c3f055e654
--- /dev/null
+++ b/media-libs/libafterimage/files/libafterimage-makefile.in.patch
@@ -0,0 +1,42 @@
+--- Makefile.in.orig 2005-08-16 10:00:02.000000000 +0200
++++ Makefile.in 2005-08-16 10:00:35.000000000 +0200
+@@ -135,20 +135,6 @@
+ @(if [ -d $(LIBDIR) ] && [ -w $(LIBDIR) ]; then \
+ echo "$(INSTALL_LIB) $(LIB_STATIC) $(LIBDIR)"; \
+ $(INSTALL_LIB) $(LIB_STATIC) $(LIBDIR); \
+- if [ `uname` = "Linux" ]; then \
+- if test $(LIBDIR) = "/lib" || test $(LIBDIR) = "/usr/lib"; then \
+- echo "" > /dev/null; \
+- elif grep -q $(LIBDIR) /etc/ld.so.conf > /dev/null 2>&1; then \
+- echo "" > /dev/null; \
+- else \
+- echo "Unable to find $(LIBDIR) in ld.so.conf. In order to use "; \
+- echo "$(LIB_STATIC), you may need to add it or set LD_LIBRARY_PATH."; \
+- fi; \
+- if test -w /etc; then \
+- echo "$(LDCONFIG)"; \
+- $(LDCONFIG); \
+- fi; \
+- fi ;\
+ fi \
+ )
+
+@@ -161,18 +147,6 @@
+ $(RM) -f $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED); \
+ $(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR); \
+ $(LN_S) -f $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED); \
+- if test `uname` = "Linux"; then \
+- if test $(LIBDIR) = "/lib" || test $(LIBDIR) = "/usr/lib"; then \
+- echo "" > /dev/null; \
+- elif grep -q $(LIBDIR) /etc/ld.so.conf > /dev/null 2>&1; then \
+- echo "" > /dev/null; \
+- else \
+- echo "Unable to find $(LIBDIR) in ld.so.conf. In order to use "; \
+- echo "$(LIB_SHARED), you may need to add it or set LD_LIBRARY_PATH."; \
+- fi; \
+- echo "$(LDCONFIG)"; \
+- $(LDCONFIG); \
+- fi \
+ )
+
+ install.cyg:
diff --git a/media-libs/libafterimage/libafterimage-1.15.ebuild b/media-libs/libafterimage/libafterimage-1.15.ebuild
new file mode 100644
index 000000000000..5a6904f02170
--- /dev/null
+++ b/media-libs/libafterimage/libafterimage-1.15.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/libafterimage-1.15.ebuild,v 1.1 2007/11/04 10:45:19 bicatali Exp $
+
+inherit eutils
+
+MY_PN="libAfterImage"
+
+DESCRIPTION="Afterstep's standalone generic image manipulation library"
+HOMEPAGE="http://www.afterstep.org/afterimage/index.php"
+SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gif jpeg mmx nls png tiff examples"
+
+RDEPEND="media-libs/freetype
+ x11-libs/libSM
+ x11-libs/libXext
+ x11-libs/libXrender
+ png? ( >=media-libs/libpng-1.2.5 )
+ jpeg? ( >=media-libs/jpeg-6b )
+ gif? ( >=media-libs/giflib-4.1 )
+ tiff? ( >=media-libs/tiff-3.5.7 )"
+
+DEPEND="${RDEPEND}
+ !x11-wm/afterstep"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # fix apps makefile
+ epatch "${FILESDIR}"/${P}-examples.patch
+ # fix some ldconfig problem in makefile.in
+ epatch "${FILESDIR}"/${PN}-makefile.in.patch
+ # fix lib paths in afterimage-config
+ epatch "${FILESDIR}"/${PN}-config.patch
+ # remove forced flags
+ sed -i \
+ -e 's/CFLAGS="-O3"//' \
+ -e 's/ -rdynamic//' \
+ configure || die "sed failed"
+}
+
+src_compile() {
+ econf \
+ $(use_enable nls i18n) \
+ $(use_enable mmx mmx-optimization) \
+ $(use_with png) \
+ $(use_with jpeg) \
+ $(use_with gif) \
+ $(use_with tiff) \
+ --enable-glx \
+ --enable-sharedlibs \
+ --with-x \
+ --with-xpm \
+ --without-builtin-ungif \
+ --without-afterbase \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc ChangeLog README || die
+ if use examples; then
+ cd apps
+ emake clean
+ rm -f Makefile*
+ insinto /usr/share/doc/${PF}/examples
+ doins * || die "install examples failed"
+ fi
+}