diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2007-07-23 10:58:11 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2007-07-23 10:58:11 +0000 |
commit | 5a7fa0d7143e105229d2fad94ce263bc9c029d06 (patch) | |
tree | cfd923af46199124d3a3114224514c7603005d3b | |
parent | Removed old files. (diff) | |
download | overlay-testing.tar.gz overlay-testing.tar.bz2 overlay-testing.zip |
Added miro for testing.testing
svn path=/testing/; revision=816
-rw-r--r-- | media-tv/miro/Manifest | 12 | ||||
-rw-r--r-- | media-tv/miro/files/digest-miro-0.9.8 | 3 | ||||
-rw-r--r-- | media-tv/miro/files/miro-x11-necko.patch | 20 | ||||
-rw-r--r-- | media-tv/miro/miro-0.9.8.ebuild | 78 |
4 files changed, 113 insertions, 0 deletions
diff --git a/media-tv/miro/Manifest b/media-tv/miro/Manifest new file mode 100644 index 0000000..0d33af7 --- /dev/null +++ b/media-tv/miro/Manifest @@ -0,0 +1,12 @@ +AUX miro-x11-necko.patch 863 RMD160 3300208ef8085582b0cd93762f8b690af75ecf4d SHA1 330a2d5740211b8c26fdb8187d7e430c8247a54f SHA256 6ebe7713055454174aacceaefbe810779ddafff7244c49275d116d606eae35e4 +MD5 8e82ec645a1a2f36ae3412c26191fb7e files/miro-x11-necko.patch 863 +RMD160 3300208ef8085582b0cd93762f8b690af75ecf4d files/miro-x11-necko.patch 863 +SHA256 6ebe7713055454174aacceaefbe810779ddafff7244c49275d116d606eae35e4 files/miro-x11-necko.patch 863 +DIST Miro-0.9.8.tar.gz 9318117 RMD160 5a27bac1ad67d68d683c5d7584c7f8538a3e6b2c SHA1 0d4b093b46922e4dec170c8b240e22c242ccb10c SHA256 9e28d2edbee0b5f390f613ca47b57282b994a153cacf3bc3a3089fabd85b3247 +EBUILD miro-0.9.8.ebuild 2484 RMD160 1eeba6d1a41657d7c48110a423d671d3b403d1e6 SHA1 922bfe0ec7aa92d51ecd1913b1f05a3d551712af SHA256 82cb7eaed64fad78f964d1cd30fb6b78847f1f284bb7d27f85affbf758dcaf52 +MD5 93102d005f0c6dcc8df16913a1213fe2 miro-0.9.8.ebuild 2484 +RMD160 1eeba6d1a41657d7c48110a423d671d3b403d1e6 miro-0.9.8.ebuild 2484 +SHA256 82cb7eaed64fad78f964d1cd30fb6b78847f1f284bb7d27f85affbf758dcaf52 miro-0.9.8.ebuild 2484 +MD5 5a8d1d5b3308ddd83c0e003d49df0233 files/digest-miro-0.9.8 235 +RMD160 61593c736310031fb511eac79ca2bc50de894cd6 files/digest-miro-0.9.8 235 +SHA256 6983adabe1fd58a570069b53ba81bbad0390eceda279cb494074700a543ffc7d files/digest-miro-0.9.8 235 diff --git a/media-tv/miro/files/digest-miro-0.9.8 b/media-tv/miro/files/digest-miro-0.9.8 new file mode 100644 index 0000000..b5aca58 --- /dev/null +++ b/media-tv/miro/files/digest-miro-0.9.8 @@ -0,0 +1,3 @@ +MD5 5c47dfb59a42143a726a4854598f2504 Miro-0.9.8.tar.gz 9318117 +RMD160 5a27bac1ad67d68d683c5d7584c7f8538a3e6b2c Miro-0.9.8.tar.gz 9318117 +SHA256 9e28d2edbee0b5f390f613ca47b57282b994a153cacf3bc3a3089fabd85b3247 Miro-0.9.8.tar.gz 9318117 diff --git a/media-tv/miro/files/miro-x11-necko.patch b/media-tv/miro/files/miro-x11-necko.patch new file mode 100644 index 0000000..f2af1f9 --- /dev/null +++ b/media-tv/miro/files/miro-x11-necko.patch @@ -0,0 +1,20 @@ +--- Miro-0.9.8.orig/platform/gtk-x11/setup.py 2007-07-17 15:32:42.000000000 -0400 ++++ Miro-0.9.8/platform/gtk-x11/setup.py 2007-07-19 19:59:12.000000000 -0400 +@@ -207,7 +207,7 @@ + if mozIncludeBase is None: + raise ValueError("Can't find mozilla include base directory") + for subdir in ['dom', 'gfx', 'widget', 'commandhandler', 'uriloader', +- 'webbrwsr']: ++ 'webbrwsr', 'necko']: + path = os.path.join(mozIncludeBase, subdir) + mozilla_browser_options['include_dirs'].append(path) + +@@ -243,7 +243,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('miro.xine', [ + os.path.join(xine_dir, 'xine.pyx'), + os.path.join(xine_dir, 'xine_impl.c'), diff --git a/media-tv/miro/miro-0.9.8.ebuild b/media-tv/miro/miro-0.9.8.ebuild new file mode 100644 index 0000000..e2c153e --- /dev/null +++ b/media-tv/miro/miro-0.9.8.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit distutils eutils multilib + +MY_P="Miro-${PV}" +DESCRIPTION="A free and open internet TV platform." +HOMEPAGE="http://www.getdemocracy.com/" +SRC_URI="ftp://ftp.osuosl.org/pub/pculture.org/miro/src/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~ppc ~x86" +RDEPEND="dev-python/pyrex + >=virtual/python-2.4 + media-libs/xine-lib + media-libs/libfame + dev-libs/boost + >=dev-python/pygtk-2.0 + dev-python/pysqlite + dev-python/gnome-python-extras + www-client/mozilla-firefox + x11-libs/libX11 + dev-python/gst-python + x11-apps/xset + =dev-python/dbus-python-0.71" + # dbus-python versions >0.80 changed the api so democracyplayer does + # not work with them, therefore depending on the 0.71 version in portage + # see https://develop.participatoryculture.org/democracy/ticket/3067 + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +DOCS="README" + +S="${WORKDIR}/${MY_P}/platform/gtk-x11" + +pkg_setup() { + if ! built_with_use python berkdb; then + eerror "You must build python with berkdb support" + die "Please re-emerge python with berkdb USE flag ON" + fi + + python_version + if ! grep -q compiler.find /usr/$(get_libdir)/python${PYVER}/distutils/unixccompiler.py; then + eerror "You need to apply a patch to make distutils use the correct RPATH." + eerror "To do this execute the following command as root:" + eerror "wget -q 'http://sourceforge.net/tracker/download.php?group_id=5470&atid=305470&file_id=144928&aid=1254718' -O -|patch -p1 -d /usr/$(get_libdir)/python${PYVER}" + die "python version not patched" + fi + + if ! built_with_use -o gnome-python-extras seamonkey firefox; then + eerror "You must build gnome-python-extras with seamonkey or firefox support" + die "Please re-emerge gnome-python-extras with seamonkey or firefox USE flag ON" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/miro-x11-necko.patch +} + +pkg_postinst(){ + if ! built_with_use xine-lib aac alsa mad asf flac sdl win32codecs mp3; then + ewarn "The Democracy team recommends you to emerge xine-lib as follows:" + ewarn "" + ewarn "# echo \"media-libs/xine-lib aac mad asf flac sdl + win32codecs mp3 \" \ " + 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 +} |