diff --git a/media-tv/miro/Manifest b/media-tv/miro/Manifest new file mode 100644 index 0000000..8f8058b --- /dev/null +++ b/media-tv/miro/Manifest @@ -0,0 +1,16 @@ +DIST Miro-1.1.1.tar.gz 13330347 RMD160 7dabcfbadcb38aa33e8ba22c7cb3991e534c3aed SHA1 8e1fcdd3d984d0d8aecc80c7e3d08a4768fa8ff9 SHA256 54ab6c252eae70bb4120d4a13c594fb0f51bcc17eef406b24061bbb8370e6105 +DIST Miro-1.1.tar.gz 13326662 RMD160 df38515539be237aa1a93e4a88510379a98eb2e1 SHA1 d5ddd2f49b9ff99fe0a8fe38dd2e9f4e85c29040 SHA256 25ef81d412fda940c6628d590a6292375eebb4ee23732973fbbfbb0a13e7f454 +EBUILD miro-1.1.1.ebuild 1742 RMD160 e6b34ab1519ddff1fecc1d56481492c56abceac7 SHA1 ff4624b69908146fdbbb1fdd3304f59eb9c639ac SHA256 a5e845f63448fed0b6621cb7390af3a9aeb84e22c7587bc14409ddfefa033b3d +MD5 34331a0e0f7f893017c937903f45ed1d miro-1.1.1.ebuild 1742 +RMD160 e6b34ab1519ddff1fecc1d56481492c56abceac7 miro-1.1.1.ebuild 1742 +SHA256 a5e845f63448fed0b6621cb7390af3a9aeb84e22c7587bc14409ddfefa033b3d miro-1.1.1.ebuild 1742 +EBUILD miro-1.1.ebuild 1742 RMD160 e6b34ab1519ddff1fecc1d56481492c56abceac7 SHA1 ff4624b69908146fdbbb1fdd3304f59eb9c639ac SHA256 a5e845f63448fed0b6621cb7390af3a9aeb84e22c7587bc14409ddfefa033b3d +MD5 34331a0e0f7f893017c937903f45ed1d miro-1.1.ebuild 1742 +RMD160 e6b34ab1519ddff1fecc1d56481492c56abceac7 miro-1.1.ebuild 1742 +SHA256 a5e845f63448fed0b6621cb7390af3a9aeb84e22c7587bc14409ddfefa033b3d miro-1.1.ebuild 1742 +MD5 2aea671c82c0641244f06d6d07a824ec files/digest-miro-1.1 232 +RMD160 554f09ecb5d05e3cc3fd0691720d6848c8c80229 files/digest-miro-1.1 232 +SHA256 657396986eca21389a4192dc252e3169aaf1f4fa5008eabc540e355e4484d209 files/digest-miro-1.1 232 +MD5 c2125b12d94142e5de99077bcce90c66 files/digest-miro-1.1.1 238 +RMD160 1d19fbe2c96011ea2aa029bf6155b65cffe9150a files/digest-miro-1.1.1 238 +SHA256 9ffd72e6ed69d92b03475ac6d92dd068c8d7b017676f326e7555a400c7a22638 files/digest-miro-1.1.1 238 diff --git a/media-tv/miro/files/digest-miro-1.1 b/media-tv/miro/files/digest-miro-1.1 new file mode 100644 index 0000000..0e27313 --- /dev/null +++ b/media-tv/miro/files/digest-miro-1.1 @@ -0,0 +1,3 @@ +MD5 250b37ced7a4753c5717fb65bd2ad6d3 Miro-1.1.tar.gz 13326662 +RMD160 df38515539be237aa1a93e4a88510379a98eb2e1 Miro-1.1.tar.gz 13326662 +SHA256 25ef81d412fda940c6628d590a6292375eebb4ee23732973fbbfbb0a13e7f454 Miro-1.1.tar.gz 13326662 diff --git a/media-tv/miro/files/digest-miro-1.1.1 b/media-tv/miro/files/digest-miro-1.1.1 new file mode 100644 index 0000000..7410163 --- /dev/null +++ b/media-tv/miro/files/digest-miro-1.1.1 @@ -0,0 +1,3 @@ +MD5 b98001081008ea14af8672f9c020a31f Miro-1.1.1.tar.gz 13330347 +RMD160 7dabcfbadcb38aa33e8ba22c7cb3991e534c3aed Miro-1.1.1.tar.gz 13330347 +SHA256 54ab6c252eae70bb4120d4a13c594fb0f51bcc17eef406b24061bbb8370e6105 Miro-1.1.1.tar.gz 13330347 diff --git a/media-tv/miro/miro-1.1.1.ebuild b/media-tv/miro/miro-1.1.1.ebuild new file mode 100644 index 0000000..85324ce --- /dev/null +++ b/media-tv/miro/miro-1.1.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Open source video player" +HOMEPAGE="http://www.getmiro.com/" +SRC_URI="http://ftp.osuosl.org/pub/pculture.org/miro/src/Miro-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +#TODO: This is simply rewritten from setup.cfg. Adding version requirements is strongly recommended. +DEPEND="|| ( >=dev-lang/python-2.5 + >=dev-python/pysqlite-2 ) + dev-libs/nss + >=dev-libs/boost-1.34.1-r1 + dev-python/gnome-python-extras + dev-python/dbus-python + >=dev-python/pyrex-0.9.6.4 + media-libs/xine-lib + media-libs/libfame + dev-util/pkgconfig + doc? ( dev-util/devhelp )" + +pkg_setup() { + if ! built_with_use dev-lang/python berkdb; then + eerror "" + eerror "You should reemerge dev-lang/python with \"berkdb\" flag set" + eerror "" + die "dev-lang/python reemerge needed" + fi + + if has_version ">=dev-lang/python-2.5" && + ! has_version ">=dev-python/pysqlite-2" && + ! built_with_use dev-lang/python sqlite ; then + eerror "" + eerror "You should reemerge dev-lang/python with \"sqlite\" flag set" + eerror "" + die "dev-lang/python reemerge needed" + fi +} + +src_compile() { + ./Miro-${PV/_/-}/platform/gtk-x11/setup.py build \ + || die "build failed" +} + +src_install() { + ./Miro-${PV/_/-}/platform/gtk-x11/setup.py install --root "${D}" \ + || die "install failed" +} + +pkg_postinst() { + MOZSETUP=/usr/lib*/python*/site-packages/miro/mozsetup.py + elog "" + elog "To increase the font size of the main display area, add:" + elog "user_pref(\"font.minimum-size.x-western\", 15);" + elog "" + elog "to the following file:" + elog /usr/lib*/python*/site-packages/miro/mozsetup.py + elog "" +} + diff --git a/media-tv/miro/miro-1.1.ebuild b/media-tv/miro/miro-1.1.ebuild new file mode 100644 index 0000000..85324ce --- /dev/null +++ b/media-tv/miro/miro-1.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Open source video player" +HOMEPAGE="http://www.getmiro.com/" +SRC_URI="http://ftp.osuosl.org/pub/pculture.org/miro/src/Miro-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +#TODO: This is simply rewritten from setup.cfg. Adding version requirements is strongly recommended. +DEPEND="|| ( >=dev-lang/python-2.5 + >=dev-python/pysqlite-2 ) + dev-libs/nss + >=dev-libs/boost-1.34.1-r1 + dev-python/gnome-python-extras + dev-python/dbus-python + >=dev-python/pyrex-0.9.6.4 + media-libs/xine-lib + media-libs/libfame + dev-util/pkgconfig + doc? ( dev-util/devhelp )" + +pkg_setup() { + if ! built_with_use dev-lang/python berkdb; then + eerror "" + eerror "You should reemerge dev-lang/python with \"berkdb\" flag set" + eerror "" + die "dev-lang/python reemerge needed" + fi + + if has_version ">=dev-lang/python-2.5" && + ! has_version ">=dev-python/pysqlite-2" && + ! built_with_use dev-lang/python sqlite ; then + eerror "" + eerror "You should reemerge dev-lang/python with \"sqlite\" flag set" + eerror "" + die "dev-lang/python reemerge needed" + fi +} + +src_compile() { + ./Miro-${PV/_/-}/platform/gtk-x11/setup.py build \ + || die "build failed" +} + +src_install() { + ./Miro-${PV/_/-}/platform/gtk-x11/setup.py install --root "${D}" \ + || die "install failed" +} + +pkg_postinst() { + MOZSETUP=/usr/lib*/python*/site-packages/miro/mozsetup.py + elog "" + elog "To increase the font size of the main display area, add:" + elog "user_pref(\"font.minimum-size.x-western\", 15);" + elog "" + elog "to the following file:" + elog /usr/lib*/python*/site-packages/miro/mozsetup.py + elog "" +} +