diff options
-rw-r--r-- | media-tv/democracy/ChangeLog | 7 | ||||
-rw-r--r-- | media-tv/democracy/Manifest | 20 | ||||
-rw-r--r-- | media-tv/democracy/democracy-0.8.4.1.ebuild | 59 | ||||
-rw-r--r-- | media-tv/democracy/files/democracy-as-needed-libX11.patch | 12 | ||||
-rw-r--r-- | media-tv/democracy/files/democracy-use-gecko-sdk.patch | 13 | ||||
-rw-r--r-- | media-tv/democracy/files/digest-democracy-0.8.4.1 | 3 |
6 files changed, 114 insertions, 0 deletions
diff --git a/media-tv/democracy/ChangeLog b/media-tv/democracy/ChangeLog new file mode 100644 index 000000000..7da4200dc --- /dev/null +++ b/media-tv/democracy/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for media-tv/democracy +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 24 Jun 2006; Stefan Schweizer <genstef@gentoo.org> ChangeLog: + New democracy ebuild thanks to Louis C. in bug 131527 + diff --git a/media-tv/democracy/Manifest b/media-tv/democracy/Manifest new file mode 100644 index 000000000..1affc77ab --- /dev/null +++ b/media-tv/democracy/Manifest @@ -0,0 +1,20 @@ +AUX democracy-as-needed-libX11.patch 628 RMD160 1fcd86335cabce0642488fee43fe866c8cd1f46c SHA1 5768a12373fdd968cf2ded7736dd7cf41d1eee00 SHA256 cc6335f87db36c2a71c7e28aabe363b4156a16836f77088f298f89feafb891f4 +MD5 66e5acf5517b1f0c6075960d9816195a files/democracy-as-needed-libX11.patch 628 +RMD160 1fcd86335cabce0642488fee43fe866c8cd1f46c files/democracy-as-needed-libX11.patch 628 +SHA256 cc6335f87db36c2a71c7e28aabe363b4156a16836f77088f298f89feafb891f4 files/democracy-as-needed-libX11.patch 628 +AUX democracy-use-gecko-sdk.patch 763 RMD160 c3b2784bb79df1b2467dda3ab0970ff2ea497422 SHA1 fdb905426c40a857785333611190869562975f01 SHA256 2b86a4dd2e429dcd428619c9c2b39084b2b56890a2b03bb5b7e3279fc064ee0a +MD5 a1e1e2851e4c9785726592174f2affad files/democracy-use-gecko-sdk.patch 763 +RMD160 c3b2784bb79df1b2467dda3ab0970ff2ea497422 files/democracy-use-gecko-sdk.patch 763 +SHA256 2b86a4dd2e429dcd428619c9c2b39084b2b56890a2b03bb5b7e3279fc064ee0a files/democracy-use-gecko-sdk.patch 763 +DIST Democracy-0.8.4.1.tar.gz 4903115 RMD160 94c0e73248b65b4a475277c185554cfd53f4a607 SHA1 badb9977f9efb791ed6424aada0ee27b10fa7b28 SHA256 d754a72610df4deb93ae7671d1cb45ea3cae104ec2bf198bf4a7d8de3cdf1025 +EBUILD democracy-0.8.4.1.ebuild 1705 RMD160 ddd1afff215322a9ddd051f850a9f4aee0b1423e SHA1 da813af85f8e4f7d3856eefd3dd3a90faee1ae0d SHA256 8ef7054c64708237b42ebe01f17b580a75857b0f000a67344caae67644c8d2dd +MD5 3f957610239803086174bb4dcf0a2bd5 democracy-0.8.4.1.ebuild 1705 +RMD160 ddd1afff215322a9ddd051f850a9f4aee0b1423e democracy-0.8.4.1.ebuild 1705 +SHA256 8ef7054c64708237b42ebe01f17b580a75857b0f000a67344caae67644c8d2dd democracy-0.8.4.1.ebuild 1705 +MISC ChangeLog 240 RMD160 5072b1be5693d0ae83c010b756176311d4c508e2 SHA1 7965b8bfe9bc678dda96aeddcea2e61275b1b3a8 SHA256 b0a0f78f248feaafc4b49b750d61452922ddb9a7db4471a4a4032b87e209c22d +MD5 b829858d7a991f5b5d7dee21ce051b71 ChangeLog 240 +RMD160 5072b1be5693d0ae83c010b756176311d4c508e2 ChangeLog 240 +SHA256 b0a0f78f248feaafc4b49b750d61452922ddb9a7db4471a4a4032b87e209c22d ChangeLog 240 +MD5 78ee599b9cb6df9cef93666321ee8d9d files/digest-democracy-0.8.4.1 256 +RMD160 f1edbb622732b4c6382ba61bc4e9d7d375312a39 files/digest-democracy-0.8.4.1 256 +SHA256 1b1bb6db5e84319ca5a663d3b78e74fa6a1fc04175958c76fa9bba0a17645428 files/digest-democracy-0.8.4.1 256 diff --git a/media-tv/democracy/democracy-0.8.4.1.ebuild b/media-tv/democracy/democracy-0.8.4.1.ebuild new file mode 100644 index 000000000..a6645b092 --- /dev/null +++ b/media-tv/democracy/democracy-0.8.4.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit distutils eutils + +MY_P="Democracy-${PV}" +DESCRIPTION="Democracy is a free and open internet TV platform." +HOMEPAGE="http://www.getdemocracy.com" +SRC_URI="ftp://ftp.osuosl.org/pub/pculture.org/democracy/src/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +#currently the support for firefox appears to be broken +#IUSE="gecko-sdk mozilla firefox" + +RDEPEND="dev-python/pyrex + >virtual/python-2.4 + media-libs/xine-lib + dev-libs/boost + >=dev-python/pygtk-2.0 + dev-python/gnome-python-extras + net-libs/gecko-sdk + || ( x11-libs/libX11 virtual/x11 )" + #www-client/mozilla, maybe even www-client/mozilla-firefox? + #this are pull by gnome-python + #gnome-base/gconf + #gnome-base/gnome-vfs + +#TODO gnome2_src_configure ${G2CONF} +# maybe add support in this way +#/usr/portage/dev-python/gnome-python-extras/gnome-python-extras-2.14.0.ebuild + + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +DOCS="README" + +S="${WORKDIR}/${MY_P}/platform/gtk-x11/" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/democracy-{use-gecko-sdk,as-needed-libX11}.patch +} + +pkg_postinst(){ + if ! built_with_use -a xine-lib aac ffmpeg mad asf flac sdl win32codecs; then + ewarn "The Democracy team recommends you to emerge xine-lib as follows:" + ewarn "" + ewarn "# echo \"media-libs/xine-lib aac ffmpeg mad asf flac sdl win32codecs\" \ " + ewarn ">> /etc/portage/package.use && emerge xine-lib" + ewarn "" + ewarn "This way you will have support enabled for the most popular" + ewarn "video and audio formats. You may also want to add support" + ewarn "for theora and vorbis" + fi +} diff --git a/media-tv/democracy/files/democracy-as-needed-libX11.patch b/media-tv/democracy/files/democracy-as-needed-libX11.patch new file mode 100644 index 000000000..711ed296a --- /dev/null +++ b/media-tv/democracy/files/democracy-as-needed-libX11.patch @@ -0,0 +1,12 @@ +diff -ur Democracy-0.8.4.1.orig/platform/gtk-x11/setup.py Democracy-0.8.4.1/platform/gtk-x11/setup.py +--- Democracy-0.8.4.1.orig/platform/gtk-x11/setup.py 2006-06-24 12:49:54.000000000 +0200 ++++ Democracy-0.8.4.1/platform/gtk-x11/setup.py 2006-06-24 12:52:30.000000000 +0200 +@@ -168,7 +168,7 @@ + + #### Xine Extension #### + xine_options = parsePkgConfig('pkg-config', +- 'libxine pygtk-2.0 gtk+-2.0 glib-2.0 gthread-2.0') ++ 'libxine pygtk-2.0 gtk+-2.0 glib-2.0 gthread-2.0 x11') + xine_ext = Extension('democracy.xine', [ + os.path.join(xine_dir, 'xine.pyx'), + os.path.join(xine_dir, 'xine_impl.c'), diff --git a/media-tv/democracy/files/democracy-use-gecko-sdk.patch b/media-tv/democracy/files/democracy-use-gecko-sdk.patch new file mode 100644 index 000000000..af2f933af --- /dev/null +++ b/media-tv/democracy/files/democracy-use-gecko-sdk.patch @@ -0,0 +1,13 @@ +--- setup.py 2006-05-02 00:38:42.000000000 -0400 ++++ setup.py.new 2006-05-02 00:39:28.000000000 -0400 +@@ -157,8 +157,8 @@ + + #### MozillaBrowser Extension #### + mozilla_browser_options = parsePkgConfig("pkg-config" , +- "gtk+-2.0 glib-2.0 pygtk-2.0 mozilla-gtkmozembed mozilla-xpcom") +-mozilla_lib_path = parsePkgConfig('pkg-config', 'mozilla-gtkmozembed')['library_dirs'] ++ "gtk+-2.0 glib-2.0 pygtk-2.0 gecko-sdk-gtkmozembed gecko-sdk-xpcom") ++mozilla_lib_path = parsePkgConfig('pkg-config', 'gecko-sdk-gtkmozembed')['library_dirs'] + mozilla_browser_ext = Extension("democracy.MozillaBrowser", + [ os.path.join(frontend_implementation_dir,'MozillaBrowser.pyx'), + os.path.join(frontend_implementation_dir,'MozillaBrowserXPCOM.cc'), diff --git a/media-tv/democracy/files/digest-democracy-0.8.4.1 b/media-tv/democracy/files/digest-democracy-0.8.4.1 new file mode 100644 index 000000000..a7a44e04a --- /dev/null +++ b/media-tv/democracy/files/digest-democracy-0.8.4.1 @@ -0,0 +1,3 @@ +MD5 ee1c475b9663dbec46c53b9846fb9bad Democracy-0.8.4.1.tar.gz 4903115 +RMD160 94c0e73248b65b4a475277c185554cfd53f4a607 Democracy-0.8.4.1.tar.gz 4903115 +SHA256 d754a72610df4deb93ae7671d1cb45ea3cae104ec2bf198bf4a7d8de3cdf1025 Democracy-0.8.4.1.tar.gz 4903115 |