# ChangeLog for media-video/codeine
-# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/codeine/ChangeLog,v 1.2 2004/11/30 16:33:29 swegener Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/codeine/ChangeLog,v 1.3 2005/01/09 12:38:37 luckyduck Exp $
+
+ 09 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ +files/codeine-1.0_beta1-xine-lib-1.0.patch, codeine-1.0_beta1.ebuild:
+ added a configure patch to let codeine compile again xine-1.0. fixes bug
+ #76252.
30 Nov 2004; Sven Wegener <swegener@gentoo.org> metadata.xml:
Fixed herd in metadata.xml.
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 b31a3375ad4a1e95ef9d8fa01ae5cd8a codeine-1.0_beta1.ebuild 748
-MD5 ed3c28a268cc4c21f093c60c8a2aeb40 ChangeLog 558
+MD5 24623b325fb1db477dcb65ad453c1234 codeine-1.0_beta1.ebuild 859
+MD5 704afcefd864ff95f87cba821c6dbd84 ChangeLog 770
MD5 31018765c8c65a239dba78a98c405543 metadata.xml 224
MD5 4b415d0e0a2bd3e13d00a5890479afae files/digest-codeine-1.0_beta1 69
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBrKDiI1lqEGTUzyQRApA5AKDYfmivOWLM3OhgNan7iWTGKNShgACgtw35
-5rRYmUVFIsMb4iwFCCAvmqs=
-=GG5Q
------END PGP SIGNATURE-----
+MD5 9d838d8987e1f759ec0f4eb891d73b52 files/codeine-1.0_beta1-xine-lib-1.0.patch 455
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/codeine/codeine-1.0_beta1.ebuild,v 1.1 2004/10/24 05:40:28 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/codeine/codeine-1.0_beta1.ebuild,v 1.2 2005/01/09 12:38:37 luckyduck Exp $
-inherit kde
+inherit eutils kde
MY_P=${P/_/-}
S=${WORKDIR}/${MY_P}
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
IUSE="debug"
DEPEND="media-libs/xine-lib"
need-kde 3.1
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-xine-lib-1.0.patch
+}
+
src_compile(){
local myconf=""
use debug && myconf="${myconf} --debug"
- ./configure $myconf
+ ./configure $myconf || die "bla"
emake
}
src_install() {
--- /dev/null
+--- configure.orig 2004-10-20 15:58:49.000000000 +0200
++++ configure 2005-01-09 13:35:36.772649408 +0100
+@@ -194,10 +194,12 @@
+
+ const QString version = XINE_VERSION;
+
+- if( version.startsWith( "1-rc" ) )
++ if( version.startsWith( "1-rc" ) ) {
+ if( QString(version[4]).toInt() > 3 )
+ return true;
+-
++ } else if ( version.startsWith( "1.0" ) ) {
++ return true;
++ }
+ return false;
+ }
+ };