summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-10-29 16:48:05 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-10-29 16:48:05 +0000
commit3e67245b694b52aeb0671e1ff63c89d3f7d02710 (patch)
tree34f721695539c1ea30ba57e6403414740526b5a6 /media-libs/libafterimage
parentRestrict tests since they now fail and this package is deprecated and will be... (diff)
downloadgentoo-2-3e67245b694b52aeb0671e1ff63c89d3f7d02710.tar.gz
gentoo-2-3e67245b694b52aeb0671e1ff63c89d3f7d02710.tar.bz2
gentoo-2-3e67245b694b52aeb0671e1ff63c89d3f7d02710.zip
Do not build examples, assign to sci-physics herd because of sci-physics/root dependency, and some cosmetics
(Portage version: 2.2.7-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'media-libs/libafterimage')
-rw-r--r--media-libs/libafterimage/ChangeLog7
-rw-r--r--media-libs/libafterimage/libafterimage-1.20.ebuild27
-rw-r--r--media-libs/libafterimage/metadata.xml22
3 files changed, 34 insertions, 22 deletions
diff --git a/media-libs/libafterimage/ChangeLog b/media-libs/libafterimage/ChangeLog
index 6c065716de7a..1d086ec1f7cc 100644
--- a/media-libs/libafterimage/ChangeLog
+++ b/media-libs/libafterimage/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libafterimage
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/ChangeLog,v 1.45 2013/10/19 18:10:14 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/ChangeLog,v 1.46 2013/10/29 16:48:05 bicatali Exp $
+
+ 29 Oct 2013; Sébastien Fabbro <bicatali@gentoo.org> libafterimage-1.20.ebuild,
+ metadata.xml:
+ Do not build examples, assign to sci-physics herd because of sci-physics/root
+ dependency, and some cosmetics
19 Oct 2013; Ulrich Müller <ulm@gentoo.org> libafterimage-1.20.ebuild,
+files/libafterimage-giflib42.patch:
diff --git a/media-libs/libafterimage/libafterimage-1.20.ebuild b/media-libs/libafterimage/libafterimage-1.20.ebuild
index 48cade4f5003..2fa7d1bb0f08 100644
--- a/media-libs/libafterimage/libafterimage-1.20.ebuild
+++ b/media-libs/libafterimage/libafterimage-1.20.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/libafterimage-1.20.ebuild,v 1.14 2013/10/19 18:10:14 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/libafterimage-1.20.ebuild,v 1.15 2013/10/29 16:48:05 bicatali Exp $
-EAPI=3
+EAPI=5
inherit eutils autotools
MY_PN=libAfterImage
@@ -14,9 +14,10 @@ SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="gif jpeg mmx nls png svg tiff examples static-libs truetype"
+IUSE="examples gif jpeg mmx nls png static-libs svg tiff truetype"
-RDEPEND="x11-libs/libSM
+RDEPEND="
+ x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
png? ( >=media-libs/libpng-1.4:0 )
@@ -30,7 +31,7 @@ DEPEND="${RDEPEND}
x11-proto/xextproto
!!x11-wm/afterstep"
-S=${WORKDIR}/${MY_PN}-${PV}
+S="${WORKDIR}/${MY_PN}-${PV}"
src_prepare() {
# fix some ldconfig problem in makefile.in
@@ -41,7 +42,13 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-gif.patch
# fix for libpng15 compability
epatch "${FILESDIR}"/${PN}-libpng15.patch
- epatch "${FILESDIR}"/${PN}-giflib42.patch #486804
+ # fix for gif library bug #486804
+ epatch "${FILESDIR}"/${PN}-giflib42.patch
+ # do not build examples
+ sed -i \
+ -e '/^all:/s/apps//' \
+ -e '/^install:/s/install.apps//' \
+ Makefile.in || die
# remove forced flags
sed -i \
-e 's/CFLAGS="-O3"//' \
@@ -76,13 +83,13 @@ src_install() {
emake \
DESTDIR="${D}" \
AFTER_DOC_DIR="${ED}/usr/share/doc/${PF}" \
- install || die "emake install failed"
- dodoc ChangeLog README || die
+ install
+ dodoc ChangeLog README
if use examples; then
cd apps || die
emake clean
- rm -f Makefile*
+ rm Makefile* || die
insinto /usr/share/doc/${PF}/examples
- doins * || die "install examples failed"
+ doins *
fi
}
diff --git a/media-libs/libafterimage/metadata.xml b/media-libs/libafterimage/metadata.xml
index 2a260426c868..7a85a428b17d 100644
--- a/media-libs/libafterimage/metadata.xml
+++ b/media-libs/libafterimage/metadata.xml
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer><email>maintainer-needed@gentoo.org</email></maintainer>
-<longdescription>
-libAfterImage is a generic image manipulation library.
-It was initially implemented to address AfterStep Window Manager's needs for
-image handling, but it evolved into software suitable for project
-that has needs for handling images. Most of the popular image formats are
-supported using standard libraries, with XCF, XPM, PPM/PNM, BMP, ICO,
-TGA and GIF being supported internally. PNG, JPEG and TIFF formats are
-supported via standard libraries. Text rendering capabilities
-included, providing support for TrueType fonts using FreeType library,
-and anti-aliasing of standard fonts from X window system.
+<herd>sci-physics</herd>
+<longdescription lang='en'>
+ libAfterImage is a generic image manipulation library.
+ It was initially implemented to address AfterStep Window Manager's needs for
+ image handling, but it evolved into software suitable for project
+ that has needs for handling images. Most of the popular image formats are
+ supported using standard libraries, with XCF, XPM, PPM/PNM, BMP, ICO,
+ TGA and GIF being supported internally. PNG, JPEG and TIFF formats are
+ supported via standard libraries. Text rendering capabilities
+ included, providing support for TrueType fonts using FreeType library,
+ and anti-aliasing of standard fonts from X window system.
</longdescription>
</pkgmetadata>