diff options
Diffstat (limited to 'media-video/winki')
-rw-r--r-- | media-video/winki/ChangeLog | 12 | ||||
-rw-r--r-- | media-video/winki/Manifest | 3 | ||||
-rw-r--r-- | media-video/winki/files/digest-winki-0.3.2 | 1 | ||||
-rw-r--r-- | media-video/winki/files/winki-0.3.2.patch | 38 | ||||
-rw-r--r-- | media-video/winki/metadata.xml | 8 | ||||
-rw-r--r-- | media-video/winki/winki-0.3.2.ebuild | 45 |
6 files changed, 107 insertions, 0 deletions
diff --git a/media-video/winki/ChangeLog b/media-video/winki/ChangeLog new file mode 100644 index 000000000000..91e4013bf225 --- /dev/null +++ b/media-video/winki/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-video/winki +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/winki/ChangeLog,v 1.1 2004/10/23 01:43:10 chriswhite Exp $ + +*winki-0.3.2 (23 Oct 2004) + + 23 Oct 2004; Chris White <chriswhite@gentoo.org> +metadata.xml, + +files/winki-0.3.2.patch, +winki-0.3.2.ebuild: + Intial import to the tree as per bug #59198. Fixed /opt/winki to be + /usr/share/winki with some patching. Did runtime testing on the various + options and it worked ok, so I'm pulling it to stable on x86. + diff --git a/media-video/winki/Manifest b/media-video/winki/Manifest new file mode 100644 index 000000000000..faddb033a123 --- /dev/null +++ b/media-video/winki/Manifest @@ -0,0 +1,3 @@ +MD5 9fddbb10835e4ff448592e6ca6f960cb winki-0.3.2.ebuild 1144 +MD5 f6f98eafb0ce381e16d7e1ce00d35505 files/digest-winki-0.3.2 63 +MD5 21ee3b43023ecd3b693b409550874e56 files/winki-0.3.2.patch 1263 diff --git a/media-video/winki/files/digest-winki-0.3.2 b/media-video/winki/files/digest-winki-0.3.2 new file mode 100644 index 000000000000..08e040380033 --- /dev/null +++ b/media-video/winki/files/digest-winki-0.3.2 @@ -0,0 +1 @@ +MD5 58c8d155a4a0c26ee15741a777579084 winki-0.3.2.tar.gz 250917 diff --git a/media-video/winki/files/winki-0.3.2.patch b/media-video/winki/files/winki-0.3.2.patch new file mode 100644 index 000000000000..1bf9193bc59b --- /dev/null +++ b/media-video/winki/files/winki-0.3.2.patch @@ -0,0 +1,38 @@ +--- setup.py_old 2004-10-22 22:16:17.617454664 +0900 ++++ setup.py 2004-10-22 22:45:41.163354936 +0900 +@@ -9,11 +9,6 @@ + po = glob.glob(os.path.join('winki', 'po', '*po*')) + doc = glob.glob(os.path.join('winki', 'doc', '*html')) + +-try: +- os.rename('/etc/winkirc', '/etc/winkirc.old') +-except: +- pass +- + setup( name = 'winki', + version = '0.3.2', + description = 'GTK frontend to mencoder, mplayer and lsdvd', +@@ -25,17 +20,17 @@ + classifiers = [ 'Development Status :: 5 - Alpha', + 'Intended Audience :: End Users/Desktop'], + scripts = ['winki/WinkiRip'], +- data_files = [('/opt/winki/glade', png), +- ('/opt/winki/glade', svg), +- ('/opt/winki/glade', glade), +- ('/opt/winki/doc', ['winki/AUTHORS', ++ data_files = [('/usr/share/winki/glade', png), ++ ('/usr/share/winki/glade', svg), ++ ('/usr/share/winki/glade', glade), ++ ('/usr/share/winki/doc', ['winki/AUTHORS', + 'winki/GPL', + 'winki/INSTALL', + 'winki/README', + 'winki/CHANGELOG', + 'winki/TODO']), + ('/etc', ['winki/example/winkirc']), +- ('/opt/winki/po', po), +- ('/opt/winki/doc', doc)], ++ ('/usr/share/winki/po', po), ++ ('/usr/share/winki/doc', doc)], + packages = ['winki']) + diff --git a/media-video/winki/metadata.xml b/media-video/winki/metadata.xml new file mode 100644 index 000000000000..6fb162be6d97 --- /dev/null +++ b/media-video/winki/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>media-video</herd> +<maintainer> + <email>chriswhite@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/media-video/winki/winki-0.3.2.ebuild b/media-video/winki/winki-0.3.2.ebuild new file mode 100644 index 000000000000..dd297cdc3eba --- /dev/null +++ b/media-video/winki/winki-0.3.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/winki/winki-0.3.2.ebuild,v 1.1 2004/10/23 01:43:10 chriswhite Exp $ + +inherit distutils + +DESCRIPTION="A Python frontend to many popular encoding programs." +HOMEPAGE="http://www.informatik.hu-berlin.de/~hristov/projects/winki/index.html" +SRC_URI="http://www.informatik.hu-berlin.de/~hristov/projects/winki/dist/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="vcd css" +DEPEND=">=dev-lang/python-2.3 + >=dev-python/gnome-python-2 + >=dev-python/pygtk-2 + >=dev-python/pyorbit-2 + vcd? ( media-libs/libdvb ) + css? ( media-libs/libdvdcss )" +RDEPEND="${DEPEND} + media-video/mplayer + media-video/lsdvd + media-sound/ogmtools + media-sound/vorbis-tools + vcd? ( media-video/vcdimager )" + +src_unpack() { + unpack ${A} + + cd ${S} + + #fixes some sandbox violations + #and the sudden odd urge for upstream + #to want data files in /opt :| + epatch ${FILESDIR}/${P}.patch + + #remove their "hard coding" of /opt/winki + cd ${S}/winki + for bad_code in * + do + if [ -f $bad_code ] ; then + sed -e "s:/opt/winki:/usr/share/winki:" -i $bad_code || die "/opt to /usr/share patching failed!" + fi + done +} |