summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-29 00:10:38 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-29 00:10:38 +0000
commitfbcef2d3d2e2bb4376a50d3604dc549c2137fb9c (patch)
treef4344574dfd2e558f1b9f6a295b12a00d4f0f402 /media-libs/giflib
parentold (diff)
downloadgentoo-2-fbcef2d3d2e2bb4376a50d3604dc549c2137fb9c.tar.gz
gentoo-2-fbcef2d3d2e2bb4376a50d3604dc549c2137fb9c.tar.bz2
gentoo-2-fbcef2d3d2e2bb4376a50d3604dc549c2137fb9c.zip
Make sure we control X11/GL/rle dependencies via USE #107497.
(Portage version: 2.0.52-r1 http://www.bash.org/?136501 )
Diffstat (limited to 'media-libs/giflib')
-rw-r--r--media-libs/giflib/ChangeLog7
-rw-r--r--media-libs/giflib/files/digest-giflib-4.1.3-r21
-rw-r--r--media-libs/giflib/giflib-4.1.3-r2.ebuild42
3 files changed, 49 insertions, 1 deletions
diff --git a/media-libs/giflib/ChangeLog b/media-libs/giflib/ChangeLog
index f6f694ac6f74..343e893ffdc8 100644
--- a/media-libs/giflib/ChangeLog
+++ b/media-libs/giflib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/giflib
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/ChangeLog,v 1.25 2005/07/23 08:14:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/ChangeLog,v 1.26 2005/09/29 00:10:38 vapier Exp $
+
+*giflib-4.1.3-r2 (29 Sep 2005)
+
+ 29 Sep 2005; Mike Frysinger <vapier@gentoo.org> +giflib-4.1.3-r2.ebuild:
+ Make sure we control X11/GL/rle dependencies via USE #107497.
23 Jul 2005; Mike Frysinger <vapier@gentoo.org> giflib-4.1.3-r1.ebuild:
Fix typo in blocker #99977 by Noe.
diff --git a/media-libs/giflib/files/digest-giflib-4.1.3-r2 b/media-libs/giflib/files/digest-giflib-4.1.3-r2
new file mode 100644
index 000000000000..c7823539f563
--- /dev/null
+++ b/media-libs/giflib/files/digest-giflib-4.1.3-r2
@@ -0,0 +1 @@
+MD5 fcc94af2800cb4385f2306fef6e3ecf3 giflib-4.1.3.tar.gz 570137
diff --git a/media-libs/giflib/giflib-4.1.3-r2.ebuild b/media-libs/giflib/giflib-4.1.3-r2.ebuild
new file mode 100644
index 000000000000..70d8db524014
--- /dev/null
+++ b/media-libs/giflib/giflib-4.1.3-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.1.3-r2.ebuild,v 1.1 2005/09/29 00:10:38 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Library to handle, display and manipulate GIF images"
+HOMEPAGE="http://sourceforge.net/projects/libungif/"
+SRC_URI="mirror://sourceforge/libungif/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~s390 ~sh ~x86"
+IUSE="opengl rle X"
+
+DEPEND="X? ( virtual/x11 )
+ opengl? ( virtual/opengl )
+ rle? ( media-libs/urt )
+ !media-libs/libungif"
+
+src_unpack() {
+ unpack ${A}
+ epunt_cxx
+}
+
+yesno() { use $1 && echo yes || echo no ; }
+src_compile() {
+ export \
+ ac_cv_lib_gl_s_main=$(yesno opengl) \
+ ac_cv_lib_rle_rle_hdr_init=$(yesno rle) \
+ ac_cv_lib_X11_main=$(yesno X)
+ econf || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS BUGS ChangeLog NEWS ONEWS PATENT_PROBLEMS \
+ README TODO doc/*.txt || die "dodoc failed"
+ dohtml -r doc || die "dohtml failed"
+}