summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Brabec <utx@gentoo.org>2003-08-27 16:45:50 +0000
committerStanislav Brabec <utx@gentoo.org>2003-08-27 16:45:50 +0000
commit95da4fba75bd5ebdf8e3aaa1b5ccab5481a784ff (patch)
treeb4d3f8ffde7a26451c979d2a202cb2287aa80351 /media-video
parentadded gtk USE flag (diff)
downloadgentoo-2-95da4fba75bd5ebdf8e3aaa1b5ccab5481a784ff.tar.gz
gentoo-2-95da4fba75bd5ebdf8e3aaa1b5ccab5481a784ff.tar.bz2
gentoo-2-95da4fba75bd5ebdf8e3aaa1b5ccab5481a784ff.zip
added gtk USE flag
Diffstat (limited to 'media-video')
-rw-r--r--media-video/xvattr/ChangeLog8
-rw-r--r--media-video/xvattr/Manifest4
-rw-r--r--media-video/xvattr/files/digest-xvattr-1.3-r11
-rw-r--r--media-video/xvattr/xvattr-1.3-r1.ebuild40
4 files changed, 50 insertions, 3 deletions
diff --git a/media-video/xvattr/ChangeLog b/media-video/xvattr/ChangeLog
index a358714dd6d8..072d6e1e0152 100644
--- a/media-video/xvattr/ChangeLog
+++ b/media-video/xvattr/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/xvattr
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xvattr/ChangeLog,v 1.2 2003/04/25 11:07:31 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xvattr/ChangeLog,v 1.3 2003/08/27 16:45:45 utx Exp $
+
+*xvattr-1.3-r1 (27 Aug 2003)
+
+ 27 Aug 2003; Stanislav Brabec <utx@gentoo.org> xvattr-1.3-r1.ebuild:
+ Merged with ebuild from Sami Näätänen <sami.naatanen@cs.helsinki.fi> - gtk USE
+ flag (bug #13110).
*xvattr-1.3 (24 Apr 2003)
diff --git a/media-video/xvattr/Manifest b/media-video/xvattr/Manifest
index 70c4ab0c74b7..c2f30d33c1c6 100644
--- a/media-video/xvattr/Manifest
+++ b/media-video/xvattr/Manifest
@@ -1,5 +1,5 @@
-MD5 c807b648be70f09372c9a84b17d1447b xvattr-1.3-r1.ebuild 1379
-MD5 c89d234d348f5f4c3aac86a38ec18b40 ChangeLog 623
+MD5 db2dfd24a4bb3d1a36373dc066fe9f25 xvattr-1.3-r1.ebuild 1381
+MD5 ca81a327e5a1e0688d6cc2d0e14795eb ChangeLog 619
MD5 a86dcd05a4d8491bd5302c3c12b1c57b xvattr-1.3.ebuild 637
MD5 fd84f844012dd8c0aca7748aeaf2797f files/digest-xvattr-1.3 61
MD5 fd84f844012dd8c0aca7748aeaf2797f files/digest-xvattr-1.3-r1 61
diff --git a/media-video/xvattr/files/digest-xvattr-1.3-r1 b/media-video/xvattr/files/digest-xvattr-1.3-r1
new file mode 100644
index 000000000000..ae65d1b9bb94
--- /dev/null
+++ b/media-video/xvattr/files/digest-xvattr-1.3-r1
@@ -0,0 +1 @@
+MD5 041e0d1f2ebce216e69e08ce78ec2ceb xvattr-1.3.tar.gz 82263
diff --git a/media-video/xvattr/xvattr-1.3-r1.ebuild b/media-video/xvattr/xvattr-1.3-r1.ebuild
new file mode 100644
index 000000000000..7b1793a4a605
--- /dev/null
+++ b/media-video/xvattr/xvattr-1.3-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/xvattr/xvattr-1.3-r1.ebuild,v 1.1 2003/08/27 16:45:45 utx Exp $
+
+DESCRIPTION="X11 XVideo Querying/Setting Tool from Ogle project"
+SRC_URI="http://www.dtek.chalmers.se/groups/dvd/dist/${P}.tar.gz"
+HOMEPAGE="http://www.dtek.chalmers.se/groups/dvd/"
+SLOT=0
+LICENSE="GPL-2"
+KEYWORDS="x86"
+IUSE="gtk"
+DEPEND="x11-base/xfree
+ gtk? ( =x11-libs/gtk+-1.2*
+ =dev-libs/glib-1.2* )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ # If no gtk then modify the necessary parts so that gtk isn't needed anymore
+ if [ -z `use gtk` ]
+ then
+ cd ${S}
+ rm Makefile.in
+ cp Makefile.am Makefile.am.orig
+ sed -e "s/bin_PROGRAMS = xvattr gxvattr/bin_PROGRAMS = xvattr/" -e "s/gxvattr_SOURCES = gxvattr.c//" -e "s/CFLAGS = @GTK_CFLAGS@//" -e "s/gxvattr_LDADD = @GTK_LIBS@ \$(X_LIBS) \$(X_PRE_LIBS) \$(X_EXTRA_LIBS) -lX11 -lXext//" Makefile.am.orig >Makefile.am
+ rm Makefile.am.orig
+
+ cp configure.in configure.in.orig
+ sed -e "s/dnl check for gtk//" -e "s/AM_PATH_GTK//" configure.in.orig >configure.in
+ rm configure.in.orig
+ automake
+ autoconf
+ fi
+ econf || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS ChangeLog COPYING NEWS README
+}