# 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 sys-libs/db media-libs/xine-lib media-libs/libfame dev-util/pkgconfig doc? ( dev-util/devhelp )" 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() { 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/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 "" }