summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-video/xvattr
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-video/xvattr')
-rw-r--r--media-video/xvattr/Manifest1
-rw-r--r--media-video/xvattr/files/xvattr-1.3-gtk.patch44
-rw-r--r--media-video/xvattr/files/xvattr-1.3-pod-encoding.patch11
-rw-r--r--media-video/xvattr/metadata.xml8
-rw-r--r--media-video/xvattr/xvattr-1.3-r3.ebuild39
5 files changed, 103 insertions, 0 deletions
diff --git a/media-video/xvattr/Manifest b/media-video/xvattr/Manifest
new file mode 100644
index 000000000000..1ffa44ab864d
--- /dev/null
+++ b/media-video/xvattr/Manifest
@@ -0,0 +1 @@
+DIST xvattr-1.3.tar.gz 82263 SHA256 1cedc0b4795e6f4234b1d52172f74d7163ecb8142fbb35dc86c905df5478d8fa SHA512 f7b9f9f46961458be6aebfa5c40b28ab0757220ee5a20bcc3b635eaf6912afd7ca2ee9e9d0cfa1894e8ce6c97433e23f78f307fa216d16b5628b8b37202120a0 WHIRLPOOL 91e3f0ce13d7a33bcc909862493165ce74e1b2eba7e9038046f8152166aefbf8e0a1b29883b80d85e599f242a8833317787091a391633fdec7ce9fc7cd427b6e
diff --git a/media-video/xvattr/files/xvattr-1.3-gtk.patch b/media-video/xvattr/files/xvattr-1.3-gtk.patch
new file mode 100644
index 000000000000..579233e38c41
--- /dev/null
+++ b/media-video/xvattr/files/xvattr-1.3-gtk.patch
@@ -0,0 +1,44 @@
+diff -ur xvattr-1.3.orig/configure.in xvattr-1.3/configure.in
+--- xvattr-1.3.orig/configure.in 2002-06-13 22:40:33.000000000 +0300
++++ xvattr-1.3/configure.in 2007-09-04 14:02:56.000000000 +0300
+@@ -17,7 +17,14 @@
+ AC_PATH_XTRA
+
+ dnl check for gtk
+-AM_PATH_GTK
++AC_ARG_WITH(gtk,
++ [--without-gtk Disable GTK support (default: enabled)])
++if test "x$with_gtk" != "xno"; then
++ PKG_CHECK_MODULES(GTK, gtk+-2.0)
++else
++ no_gtk="yes"
++fi
++AM_CONDITIONAL(WITH_GTK, [test "x$no_gtk" != "xyes"])
+
+ dnl Checks for libraries.
+ AC_ARG_WITH(xv-path,[ --with-xv-path=path Where libXv is installed],
+diff -ur xvattr-1.3.orig/Makefile.am xvattr-1.3/Makefile.am
+--- xvattr-1.3.orig/Makefile.am 2002-06-13 22:22:00.000000000 +0300
++++ xvattr-1.3/Makefile.am 2007-09-04 13:58:14.000000000 +0300
+@@ -1,12 +1,19 @@
+ #
+
+-bin_PROGRAMS = xvattr gxvattr
++if WITH_GTK
++gtk_programs = gxvattr
++endif
++
++bin_PROGRAMS = xvattr $(gtk_programs)
++
+ xvattr_SOURCES = xvattr.c
+
+ xvattr_LDADD = $(X_LIBS) $(X_PRE_LIBS) $(X_EXTRA_LIBS) -lX11 -lXext @LIBOBJS@
+
+ gxvattr_SOURCES = gxvattr.c
+-CFLAGS = @GTK_CFLAGS@
++
++gxvattr_CFLAGS = @GTK_CFLAGS@
++
+ gxvattr_LDADD = @GTK_LIBS@ $(X_LIBS) $(X_PRE_LIBS) $(X_EXTRA_LIBS) -lX11 -lXext
+ noinst_HEADERS = getopt.h
+
diff --git a/media-video/xvattr/files/xvattr-1.3-pod-encoding.patch b/media-video/xvattr/files/xvattr-1.3-pod-encoding.patch
new file mode 100644
index 000000000000..29343a240613
--- /dev/null
+++ b/media-video/xvattr/files/xvattr-1.3-pod-encoding.patch
@@ -0,0 +1,11 @@
+diff -ur xvattr-1.3.orig/xvattr.pod.in xvattr-1.3/xvattr.pod.in
+--- xvattr-1.3.orig/xvattr.pod.in 2014-05-18 13:22:59.321022155 +0200
++++ xvattr-1.3/xvattr.pod.in 2014-05-18 13:44:38.286711743 +0200
+@@ -1,5 +1,7 @@
+ =pod
+
++=encoding latin1
++
+ =head1 NAME
+
+ @PACKAGE@ - Query/Set X11 XVideo Setting(s)
diff --git a/media-video/xvattr/metadata.xml b/media-video/xvattr/metadata.xml
new file mode 100644
index 000000000000..edccfe5754d2
--- /dev/null
+++ b/media-video/xvattr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+<email>media-video@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-video/xvattr/xvattr-1.3-r3.ebuild b/media-video/xvattr/xvattr-1.3-r3.ebuild
new file mode 100644
index 000000000000..0f26f9bc0582
--- /dev/null
+++ b/media-video/xvattr/xvattr-1.3-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils autotools
+
+DESCRIPTION="X11 XVideo Querying/Setting Tool from Ogle project"
+HOMEPAGE="http://www.dtek.chalmers.se/groups/dvd"
+SRC_URI="http://www.dtek.chalmers.se/groups/dvd/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT=0
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXv
+ x11-libs/libXext
+ gtk? ( x11-libs/gtk+:2 )"
+DEPEND="${RDEPEND}
+ x11-libs/libXt
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gtk.patch
+ epatch "${FILESDIR}"/${P}-pod-encoding.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_with gtk)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog NEWS README
+}