diff -ur christine.orig/christine-0.4.0.ebuild christine/christine-0.4.0.ebuild --- christine.orig/christine-0.4.0.ebuild 2011-07-07 23:31:18.000000000 +0800 +++ christine/christine-0.4.0.ebuild 2011-11-18 04:47:50.130965443 +0800 @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/christine/christine-0.4.0.ebuild,v 1.4 2011/07/07 15:29:58 ssuominen Exp $ -EAPI=3 +EAPI=4 +PYTHON_DEPEND="2:2.6" +PYTHON_USE_WITH="sqlite" inherit autotools eutils python DESCRIPTION="Python, GTK+ and GStreamer based media player (audio and video)" @@ -13,6 +15,7 @@ SLOT="0" KEYWORDS="~amd64 ~sparc ~x86" IUSE="libnotify nls readline" +DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) RDEPEND="readline? ( sys-libs/readline ) libnotify? ( dev-python/notify-python ) @@ -20,13 +23,17 @@ dev-python/gconf-python dev-python/gst-python:0.10 media-plugins/gst-plugins-meta:0.10 - media-libs/mutagen - >=dev-lang/python-2.5[sqlite]" + media-libs/mutagen" DEPEND="${RDEPEND} dev-util/pkgconfig nls? ( sys-devel/gettext dev-util/intltool )" +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + src_prepare() { epatch "${FILESDIR}"/${P}-no_static_linking.patch eautoreconf @@ -43,8 +50,8 @@ } src_install() { emake DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README THANKS TODO + dodoc ${DOCS[@]} } pkg_postinst() {