summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-05-09 18:50:44 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-05-09 18:50:44 +0000
commit3dadafcdd590f69e315446a48c39adc64509c6ee (patch)
treee8bd15a8e41ee17386f46a46ace94438f0382600 /media-video/ogle
parentStable on sparc (diff)
downloadhistorical-3dadafcdd590f69e315446a48c39adc64509c6ee.tar.gz
historical-3dadafcdd590f69e315446a48c39adc64509c6ee.tar.bz2
historical-3dadafcdd590f69e315446a48c39adc64509c6ee.zip
Cleaned up ebuild, added altivec useflag instead of checking for -maltivec in CFLAGS. Added patch to compile on GCC4, fixes #91855.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'media-video/ogle')
-rw-r--r--media-video/ogle/ChangeLog9
-rw-r--r--media-video/ogle/Manifest9
-rw-r--r--media-video/ogle/files/digest-ogle-0.9.2-r11
-rw-r--r--media-video/ogle/files/ogle-gcc4-fix.patch11
-rw-r--r--media-video/ogle/ogle-0.9.2-r1.ebuild61
5 files changed, 87 insertions, 4 deletions
diff --git a/media-video/ogle/ChangeLog b/media-video/ogle/ChangeLog
index 6f031e540f9b..b8cffe8b8102 100644
--- a/media-video/ogle/ChangeLog
+++ b/media-video/ogle/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/ogle
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ogle/ChangeLog,v 1.31 2005/04/01 21:20:19 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ogle/ChangeLog,v 1.32 2005/05/09 18:50:44 flameeyes Exp $
+
+*ogle-0.9.2-r1 (09 May 2005)
+
+ 09 May 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/ogle-gcc4-fix.patch, +ogle-0.9.2-r1.ebuild:
+ Cleaned up ebuild, added altivec useflag instead of checking for
+ -maltivec in CFLAGS. Added patch to compile on GCC4, fixes #91855.
01 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> ogle-0.9.2.ebuild:
Stable on ppc.
diff --git a/media-video/ogle/Manifest b/media-video/ogle/Manifest
index 0d8ab39e0f40..30880ec93998 100644
--- a/media-video/ogle/Manifest
+++ b/media-video/ogle/Manifest
@@ -1,8 +1,11 @@
-MD5 525e165b5de73036021fdfef131008e4 ogle-0.9.1.ebuild 1967
+MD5 e316cf8686cfd5142db5b9d49618fc38 ChangeLog 4355
MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158
+MD5 525e165b5de73036021fdfef131008e4 ogle-0.9.1.ebuild 1967
+MD5 3ead001186878bcbdea8268b0d8669f2 ogle-0.9.2-r1.ebuild 1692
MD5 ad2a9cfb0a927978c99f07e0b442b782 ogle-0.9.2.ebuild 2061
-MD5 18239859e2013ebd70d51f713edb1e48 ChangeLog 4078
-MD5 7034a848ff2f633d14ed0465e8a07a63 files/ogle-gcc34-fix.patch 228
MD5 69fb0f18b0f74a88453cf989a0515f08 files/digest-ogle-0.9.1 62
MD5 9e5be8c6673243e1604cfbec495081d5 files/digest-ogle-0.9.2 62
MD5 d928c8bc3c69f3128bda1f74f0424f52 files/ogle-configure-alsa-fix.patch 726
+MD5 7034a848ff2f633d14ed0465e8a07a63 files/ogle-gcc34-fix.patch 228
+MD5 9e5be8c6673243e1604cfbec495081d5 files/digest-ogle-0.9.2-r1 62
+MD5 2944cd6510b7709a7c2068ae91d7bf1e files/ogle-gcc4-fix.patch 279
diff --git a/media-video/ogle/files/digest-ogle-0.9.2-r1 b/media-video/ogle/files/digest-ogle-0.9.2-r1
new file mode 100644
index 000000000000..e038ea7376fc
--- /dev/null
+++ b/media-video/ogle/files/digest-ogle-0.9.2-r1
@@ -0,0 +1 @@
+MD5 a76a9892bdb807a4bcf859d15a91f0f9 ogle-0.9.2.tar.gz 488984
diff --git a/media-video/ogle/files/ogle-gcc4-fix.patch b/media-video/ogle/files/ogle-gcc4-fix.patch
new file mode 100644
index 000000000000..93d6a2d817bd
--- /dev/null
+++ b/media-video/ogle/files/ogle-gcc4-fix.patch
@@ -0,0 +1,11 @@
+--- ac3/ac3dec_wrap.c.orig 2005-05-08 01:37:00.000000000 -0400
++++ ac3/ac3dec_wrap.c 2005-05-08 01:38:22.000000000 -0400
+@@ -48,7 +48,7 @@
+ static void handle_events(MsgEventQ_t *q, MsgEvent_t *ev);
+
+
+-static char *program_name;
++char *program_name;
+
+ static FILE *outfile;
+
diff --git a/media-video/ogle/ogle-0.9.2-r1.ebuild b/media-video/ogle/ogle-0.9.2-r1.ebuild
new file mode 100644
index 000000000000..65a328196346
--- /dev/null
+++ b/media-video/ogle/ogle-0.9.2-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ogle/ogle-0.9.2-r1.ebuild,v 1.1 2005/05/09 18:50:44 flameeyes Exp $
+
+inherit eutils libtool
+
+DESCRIPTION="Full featured DVD player that supports DVD menus."
+HOMEPAGE="http://www.dtek.chalmers.se/groups/dvd/"
+SRC_URI="http://www.dtek.chalmers.se/groups/dvd/dist/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64 ~alpha ~ia64 ~sparc"
+LICENSE="GPL-2"
+IUSE="oss mmx alsa xv altivec"
+
+DEPEND=">=media-libs/libdvdcss-1.2.2
+ media-libs/jpeg
+ >=media-libs/libdvdread-0.9.4
+ media-libs/libmad
+ virtual/x11
+ >=dev-libs/libxml2-2.4.19
+ >=media-libs/a52dec-0.7.3
+ alsa? ( media-libs/alsa-lib )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/ogle-configure-alsa-fix.patch
+ epatch ${FILESDIR}/ogle-gcc34-fix.patch
+ epatch ${FILESDIR}/ogle-gcc4-fix.patch
+}
+
+src_compile() {
+ # STOP! If you make any changes, make sure to unmerge all copies
+ # of ogle and ogle-gui from your system and merge ogle-gui using your
+ # new version of ogle... Changes in this package can break ogle-gui
+ # very very easily -- blocke
+
+ elibtoolize
+
+ # configure needs access to the updated CFLAGS
+ CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml -I/usr/include/libxml2"
+
+ econf \
+ $(use_enable mmx) \
+ $(use_enable altivec) \
+ $(use_enable oss) \
+ $(use_enable alsa) \
+ $(use_enable xv) \
+ ${myconf} || die "./configure failed"
+ emake CFLAGS="${CFLAGS}" || die "make failed"
+}
+
+src_install() {
+ einstall || die "make install failed"
+
+ cd ${D}usr/bin/
+ mv ./ifo_dump ./ifo_dump_ogle
+
+ dodoc AUTHORS ChangeLog HISTORY INSTALL NEWS README TODO doc/liba52.txt
+}