From 0f263c6da2c1a46f580269e4d041f2d32d4a42ba Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Mon, 11 Feb 2008 10:54:35 +0000 Subject: [PATCH] added ebuild for miro-1.1.2 --- media-tv/miro/Manifest | 8 ++++ media-tv/miro/files/digest-miro-1.1.2 | 3 ++ media-tv/miro/miro-1.1.2.ebuild | 63 +++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 media-tv/miro/files/digest-miro-1.1.2 create mode 100644 media-tv/miro/miro-1.1.2.ebuild diff --git a/media-tv/miro/Manifest b/media-tv/miro/Manifest index 98a0b33..64aa562 100644 --- a/media-tv/miro/Manifest +++ b/media-tv/miro/Manifest @@ -1,9 +1,14 @@ DIST Miro-1.1.1.tar.gz 13330347 RMD160 7dabcfbadcb38aa33e8ba22c7cb3991e534c3aed SHA1 8e1fcdd3d984d0d8aecc80c7e3d08a4768fa8ff9 SHA256 54ab6c252eae70bb4120d4a13c594fb0f51bcc17eef406b24061bbb8370e6105 +DIST Miro-1.1.2.tar.gz 13335353 RMD160 38caad8f83b90f07bbb83aff49508a902f8e1150 SHA1 cfd2dbc4ebb144361cf1ff14c80daae0d7d9e223 SHA256 b5bbfbc1e41d483bd0ddf19f1f0cef5d5bd834d010f760d6e3032b44e55cc0bf DIST Miro-1.1.tar.gz 13326662 RMD160 df38515539be237aa1a93e4a88510379a98eb2e1 SHA1 d5ddd2f49b9ff99fe0a8fe38dd2e9f4e85c29040 SHA256 25ef81d412fda940c6628d590a6292375eebb4ee23732973fbbfbb0a13e7f454 EBUILD miro-1.1.1.ebuild 1761 RMD160 1ce643235c777b3b087361ee3792adb25ac66a5e SHA1 ec84695df01a48beb6bce67eaf97027b76be672b SHA256 64b34e9ac5c20a7c3e6e3351b9d70286bec7542a94c2fe99f19ee27aa73e64b8 MD5 c7159c132c835396db020a9138df6419 miro-1.1.1.ebuild 1761 RMD160 1ce643235c777b3b087361ee3792adb25ac66a5e miro-1.1.1.ebuild 1761 SHA256 64b34e9ac5c20a7c3e6e3351b9d70286bec7542a94c2fe99f19ee27aa73e64b8 miro-1.1.1.ebuild 1761 +EBUILD miro-1.1.2.ebuild 1793 RMD160 20c7998be518703b0d7746570d1e6e73e3777cbb SHA1 050eae50a68ce5c6ebc30780fce20776f320b1a1 SHA256 24590d28fd12a015e59a8b80c854fd54ad1e2cea4186a2db968e5bd1d7e1663d +MD5 959bfc7910d586cc8f580efefd3f6589 miro-1.1.2.ebuild 1793 +RMD160 20c7998be518703b0d7746570d1e6e73e3777cbb miro-1.1.2.ebuild 1793 +SHA256 24590d28fd12a015e59a8b80c854fd54ad1e2cea4186a2db968e5bd1d7e1663d miro-1.1.2.ebuild 1793 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 @@ -14,3 +19,6 @@ SHA256 657396986eca21389a4192dc252e3169aaf1f4fa5008eabc540e355e4484d209 files/di 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 +MD5 a8f091158ad16dda34739b1fd5eb6db8 files/digest-miro-1.1.2 238 +RMD160 2853b61dbbbd9120b3dec108be984e477fee41b1 files/digest-miro-1.1.2 238 +SHA256 5e5a5a6e514b114040ef428c8281a0d8ab87086c99bf0073dd54833c37dd4b40 files/digest-miro-1.1.2 238 diff --git a/media-tv/miro/files/digest-miro-1.1.2 b/media-tv/miro/files/digest-miro-1.1.2 new file mode 100644 index 0000000..2db34e0 --- /dev/null +++ b/media-tv/miro/files/digest-miro-1.1.2 @@ -0,0 +1,3 @@ +MD5 747dc21841ba1ce21b6eb7cd41d57afb Miro-1.1.2.tar.gz 13335353 +RMD160 38caad8f83b90f07bbb83aff49508a902f8e1150 Miro-1.1.2.tar.gz 13335353 +SHA256 b5bbfbc1e41d483bd0ddf19f1f0cef5d5bd834d010f760d6e3032b44e55cc0bf Miro-1.1.2.tar.gz 13335353 diff --git a/media-tv/miro/miro-1.1.2.ebuild b/media-tv/miro/miro-1.1.2.ebuild new file mode 100644 index 0000000..b9c73d1 --- /dev/null +++ b/media-tv/miro/miro-1.1.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils multilib distutils + +MY_P="${P/m/M}" +DESCRIPTION="Open source video player" +HOMEPAGE="http://www.getmiro.com/" +SRC_URI="http://ftp.osuosl.org/pub/pculture.org/miro/src/${MY_P}.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.4 + >=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 + sys-libs/db + media-libs/xine-lib + media-libs/libfame + dev-util/pkgconfig + doc? ( dev-util/devhelp )" + +S="${WORKDIR}/${MY_P}/platform/gtk-x11" + +pkg_postinst() { + distutils_pkg_postinst + + if ! built_with_use dev-lang/python berkdb; then + eerror "" + eerror "You must reemerge dev-lang/python with \"berkdb\" flag set." + eerror "Otherwise Miro won't run." + eerror "" + fi + if has_version ">=dev-lang/python-2.5" && + ! built_with_use dev-lang/python sqlite ; then + eerror "" + eerror "You should reemerge dev-lang/python with \"sqlite\" flag set." + eerror "This will improve Miro's speed." + eerror "" + fi + if has_version ">=dev-libs/openssl-0.9.8f" ; then + ewarn "" + ewarn "Versions of openssl >= 0.9.8f can cause Miro segfaulting" + ewarn "" + fi + + MOZSETUP="/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/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 "${MOZSETUP}" + elog "" +}