summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-28 17:57:47 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-28 17:57:47 +0000
commitfa4f101387b265da1b8710936fdb619cd52571cf (patch)
treef1f7d5d87a586d90a5ec2903ca5bcc832ef2ac5f /media-sound/xmcd
parentDont make use of the deprecated oggvorbis useflag any longer, see #94254. (diff)
downloadhistorical-fa4f101387b265da1b8710936fdb619cd52571cf.tar.gz
historical-fa4f101387b265da1b8710936fdb619cd52571cf.tar.bz2
historical-fa4f101387b265da1b8710936fdb619cd52571cf.zip
Dont make use of the deprecated oggvorbis useflag any longer, see #94254.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'media-sound/xmcd')
-rw-r--r--media-sound/xmcd/ChangeLog8
-rw-r--r--media-sound/xmcd/Manifest17
-rw-r--r--media-sound/xmcd/files/digest-xmcd-3.2.1-r12
-rw-r--r--media-sound/xmcd/files/xmcd-3.2.1-gentoo.patch301
-rw-r--r--media-sound/xmcd/xmcd-3.2.1-r1.ebuild139
-rw-r--r--media-sound/xmcd/xmcd-3.3.2.ebuild14
6 files changed, 21 insertions, 460 deletions
diff --git a/media-sound/xmcd/ChangeLog b/media-sound/xmcd/ChangeLog
index c07b08869c4f..b6f3d0742d1d 100644
--- a/media-sound/xmcd/ChangeLog
+++ b/media-sound/xmcd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/xmcd
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xmcd/ChangeLog,v 1.13 2004/09/30 01:36:11 eradicator Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xmcd/ChangeLog,v 1.14 2005/05/28 17:57:47 luckyduck Exp $
+
+ 28 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ -files/xmcd-3.2.1-gentoo.patch, -xmcd-3.2.1-r1.ebuild, xmcd-3.3.2.ebuild:
+ Dont make use of the deprecated oggvorbis useflag any longer, see #94254.
29 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> xmcd-3.3.2.ebuild:
Fixed patch to be correct version... see bug #65787.
diff --git a/media-sound/xmcd/Manifest b/media-sound/xmcd/Manifest
index d556bafd434a..a06f5324b888 100644
--- a/media-sound/xmcd/Manifest
+++ b/media-sound/xmcd/Manifest
@@ -1,18 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 b9b021cfca4acbc45582a884cd2dfcc5 ChangeLog 1613
+MD5 cb5662f553ec409a9f3fd0b251457b38 xmcd-3.3.2.ebuild 4069
+MD5 bb0ffe90c7224ff0b9a44b04e1e6ef41 ChangeLog 1817
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
-MD5 af77927b25d3e8f31708c5e525685acd xmcd-3.2.1-r1.ebuild 3797
-MD5 4224e179068257ea3b606364c5635519 xmcd-3.3.2.ebuild 4001
-MD5 fc905fdc8e827efddb8da8e4973914d2 files/digest-xmcd-3.2.1-r1 126
-MD5 b54e3803073e1e4f961bb0e66d322647 files/digest-xmcd-3.3.2 127
-MD5 992e090724bd232658de7b7dc6f87b33 files/xmcd-3.2.1-gentoo.patch 8830
MD5 b6909e49017277bdc8ed33c65f9d282c files/xmcd-3.3.2-gentoo.patch 8407
+MD5 b54e3803073e1e4f961bb0e66d322647 files/digest-xmcd-3.3.2 127
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
+Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFBW2MyArHZZzCEUG0RApQ7AJ902ro4zfVxnhZzC5R7fQABFxbBowCeNjgO
-oiuGNJXDQIWqETwEGk+dlJ0=
-=JhK1
+iD8DBQFCmLE206ebR+OMO78RAvM1AJ98EvljqMsXA4tGBMWMXskSAF5yoACeMy1H
+vtIuBREqVltbE64aP2/5azc=
+=AftS
-----END PGP SIGNATURE-----
diff --git a/media-sound/xmcd/files/digest-xmcd-3.2.1-r1 b/media-sound/xmcd/files/digest-xmcd-3.2.1-r1
deleted file mode 100644
index 9d46470cac44..000000000000
--- a/media-sound/xmcd/files/digest-xmcd-3.2.1-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 9a21bd7c6f2b92f6e36652c9540e2d98 xmcd-3.2.1.tar.gz 973419
-MD5 10f1271014e547ffc26e356928b0b645 cddb2supplib.tar.gz 575319
diff --git a/media-sound/xmcd/files/xmcd-3.2.1-gentoo.patch b/media-sound/xmcd/files/xmcd-3.2.1-gentoo.patch
deleted file mode 100644
index cd3d4ec5b682..000000000000
--- a/media-sound/xmcd/files/xmcd-3.2.1-gentoo.patch
+++ /dev/null
@@ -1,301 +0,0 @@
-diff -urN xmcd-3.2.1.old/cdda_d/Imakefile xmcd-3.2.1/cdda_d/Imakefile
---- xmcd-3.2.1.old/cdda_d/Imakefile 2003-08-02 21:24:35.000000000 -0500
-+++ xmcd-3.2.1/cdda_d/Imakefile 2003-12-20 02:13:36.000000000 -0600
-@@ -114,7 +114,7 @@
- alsalib_incl+= $(wildcard /usr/local/include/alsa/asoundlib.h)
-
- ifneq "$(strip $(alsalib_incl))" ""
--DEFINES+= -DHAS_ALSA
-+DEFINES+= -DHAS_ALSA -DALSA_PCM_OLD_HW_PARAMS_API
- endif
- #endif
-
-diff -urN xmcd-3.2.1.old/install.sh xmcd-3.2.1/install.sh
---- xmcd-3.2.1.old/install.sh 2003-08-02 21:24:33.000000000 -0500
-+++ xmcd-3.2.1/install.sh 2003-12-20 02:37:16.000000000 -0600
-@@ -513,7 +513,7 @@
- then
- OS_MACH=mips
- else
-- OS_MACH=`(uname -m) 2>/dev/null`
-+ OS_MACH=`(uname -m) 2>/dev/null | sed -e 's/i[0-9]86/i686/'`
- fi
-
- if [ -z "$OS_SYS" ]
-@@ -714,30 +714,6 @@
- $ECHO "CDDB(tm) Disc Recognition Service. See the CDDB file"
- $ECHO "for information."
-
--# Check privilege
--(id | fgrep 'uid=0(root)') >/dev/null 2>&1
--if [ $? != 0 ]
--then
-- $ECHO "\n\nYou should be the super user to install xmcd."
--
-- YNDEF=n
-- if [ -z "$BATCH" ] && get_yn "\n Proceed with installation anyway"
-- then
-- $ECHO "\nWARNING: Without super-user privilege, some files may"
-- $ECHO "not be properly installed, or they may be installed"
-- $ECHO "with incorrect permissions."
--
-- XBINPERM=711
-- XBINOWNER=_default_
-- OWNER=_default_
-- GROUP=_default_
-- else
-- log_err -p "Not super user: installation aborted by user."
-- do_exit 1
-- fi
--fi
--
--
- # Check existence of binaries
-
- MISSING=
-@@ -1049,78 +1025,6 @@
- fi
-
-
--# Remove old xmcd components
--
--$ECHO "\n\nChecking for old xmcd components..."
--
--# Old binaries
--dirs=`echo "$OPATH" | $AWK -F: '{ for (i = 1; i <= NF; i++) print $i }'`
--for i in $BINTRYDIRS
--do
-- dirs=`$ECHO "$dirs\n$i"`
--done
--dirs=`($ECHO "$dirs" | \
-- sed -e 's/^[ ]*//' -e '/^$/d' | \
-- sort | uniq) 2>/dev/null`
--
--if [ -n "$dirs" ]
--then
-- for i in $dirs
-- do
-- if [ "$i" = "$BINDIR" -o "$i" = "." ]
-- then
-- continue
-- fi
--
-- for j in xmcd cda cddbcmd wm2xmcd dp2xmcd $STARTUP_SCRIPT
-- do
-- tryfile=${i}/${j}
-- if [ -f $tryfile -a -x $tryfile ]
-- then
-- if [ -z "$BATCH" ]
-- then
-- YNDEF=y
-- if get_yn "Remove old executable $tryfile"
-- then
-- rm -f $tryfile
-- if [ $? -ne 0 ]
-- then
-- $ECHO "Cannot remove $tryfile."
-- fi
-- fi
-- else
-- rm -f $tryfile
-- fi
-- fi
-- done
-- done
--fi
--
--# Old xmcd app-defaults files
--dirs=`for i in $LIBTRYDIRS $LIBDIR; do echo "$i"; done | sort | uniq`
--for i in $dirs
--do
-- tryfile=${i}/app-defaults/XMcd
-- if [ -f "$tryfile" ]
-- then
-- if [ -z "$BATCH" ]
-- then
-- YNDEF=y
-- if get_yn "Remove old xmcd resource file $tryfile"
-- then
-- rm -f $tryfile
-- if [ $? -ne 0 ]
-- then
-- $ECHO "Cannot remove ${tryfile}."
-- fi
-- fi
-- else
-- rm -f $tryfile
-- fi
-- fi
--done
--
--
- # Set architecture-specific binary and library directory
- ARCHBIN="${XMCDLIB}/bin-${OS_SYS_T}-${OS_MACH_T}"
- ARCHLIB="${XMCDLIB}/lib-${OS_SYS_T}-${OS_MACH_T}"
-@@ -1160,7 +1064,7 @@
-
- if [ "$DISCOGDIR" != "$XMCDLIB/discog" ]
- then
-- do_link "$DISCOGDIR" "$XMCDLIB/discog"
-+ do_link "../../../../../var/lib/xmcd/discog" "$XMCDLIB/discog"
- $ECHO "\t$XMCDLIB/discog"
- fi
-
-diff -urN xmcd-3.2.1.old/libdi_d/common.cfg xmcd-3.2.1/libdi_d/common.cfg
---- xmcd-3.2.1.old/libdi_d/common.cfg 2003-08-02 21:24:40.000000000 -0500
-+++ xmcd-3.2.1/libdi_d/common.cfg 2003-12-20 02:34:06.000000000 -0600
-@@ -78,7 +78,7 @@
- ! /dev/rdsk/m187_c0d3s7 (UNIX SVR4.0/88k, m187 controller 0, SCSI ID 3)
- ! DKA500: (Digital OpenVMS)
- !
--device: /dev/rcd0
-+device: /dev/cdrom
-
- ! For CDDA playback mode, this selects the audio output port(s). The
- ! value is the sum of the following:
-diff -urN xmcd-3.2.1.old/libdi_d/config.sh xmcd-3.2.1/libdi_d/config.sh
---- xmcd-3.2.1.old/libdi_d/config.sh 2003-08-02 21:24:40.000000000 -0500
-+++ xmcd-3.2.1/libdi_d/config.sh 2003-12-20 02:20:38.000000000 -0600
-@@ -31,9 +31,9 @@
- VER=3.2.1
-
- # Change the following directory to fit your local configuration
--BINDIR=/usr/bin/X11
--XMCDLIB=/usr/lib/X11/xmcd
--DISCOGDIR=/usr/lib/X11/xmcd/discog
-+BINDIR=/usr/X11R6/bin
-+XMCDLIB=/usr/X11R6/lib/X11/xmcd
-+DISCOGDIR=/var/lib/xmcd/discog
- XMCD_URL=http://www.amb.org/xmcd/
-
- ERRFILE=/tmp/xmcd.err
-@@ -2506,7 +2506,7 @@
- # Get platform information
- OS_SYS=`(uname -s) 2>/dev/null`
- OS_REL=`(uname -r) 2>/dev/null`
--OS_MACH=`(uname -m) 2>/dev/null`
-+OS_MACH=`(uname -m) 2>/dev/null | sed -e 's/i[0-9]86/i686/'`
- OS_NODE=`(uname -n) 2>/dev/null`
-
- if [ -z "$OS_SYS" ]
-diff -urN xmcd-3.2.1.old/libdi_d/os_linux.h xmcd-3.2.1/libdi_d/os_linux.h
---- xmcd-3.2.1.old/libdi_d/os_linux.h 2003-08-02 21:24:42.000000000 -0500
-+++ xmcd-3.2.1/libdi_d/os_linux.h 2003-12-20 02:35:00.000000000 -0600
-@@ -101,7 +101,6 @@
-
-
- #define OS_MODULE /* Indicate that this is compiled on a supported OS */
--#define SETUID_ROOT /* Setuid root privilege is required */
-
-
- /* Public function prototypes */
-diff -urN xmcd-3.2.1.old/misc_d/discog.htm xmcd-3.2.1/misc_d/discog.htm
---- xmcd-3.2.1.old/misc_d/discog.htm 2003-08-02 21:25:02.000000000 -0500
-+++ xmcd-3.2.1/misc_d/discog.htm 2003-12-20 02:21:27.000000000 -0600
-@@ -34,7 +34,7 @@
- <H2>Directory Organization</H2>
- <DIR>
- <P>
--The top-level Local Discography directory is <B>$DISCOGDIR</B>
-+The top-level Local Discography directory is <B>/var/lib/xmcd/discog</B>
- on your system. This was created when xmcd was installed.
- Under this directory there are hierarchy of directories of music genres
- (i.e., <I>Rock, Classical, Jazz,</I> etc.). These genres match those
-diff -urN xmcd-3.2.1.old/misc_d/genidx.sh xmcd-3.2.1/misc_d/genidx.sh
---- xmcd-3.2.1.old/misc_d/genidx.sh 2003-08-02 21:25:02.000000000 -0500
-+++ xmcd-3.2.1/misc_d/genidx.sh 2003-12-20 02:22:41.000000000 -0600
-@@ -30,8 +30,8 @@
- PATH=/bin:/usr/bin:/usr/local/bin; export PATH
-
- # Modify these to suit your local configuration
--XMCDLIB=/usr/lib/X11/xmcd
--DISCOGDIR=$XMCDLIB/discog
-+XMCDLIB=/usr/X11R6/lib/X11/xmcd
-+DISCOGDIR=/var/lib/xmcd/discog
- FILE_MODE=666
- DIR_MODE=777
-
-diff -urN xmcd-3.2.1.old/misc_d/start.sh xmcd-3.2.1/misc_d/start.sh
---- xmcd-3.2.1.old/misc_d/start.sh 2003-08-02 21:25:03.000000000 -0500
-+++ xmcd-3.2.1/misc_d/start.sh 2003-12-20 02:33:16.000000000 -0600
-@@ -26,7 +26,7 @@
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- #
--PATH=${PATH}:/sbin:/usr/sbin:/bin:/usr/bin:/etc
-+PATH=${PATH}:/sbin:/usr/sbin:/bin:/usr/bin:/etc:/usr/X11R6/bin
- export PATH
-
-
-@@ -34,10 +34,28 @@
- {
- if [ -z "$XMCD_LIBDIR" ]
- then
-- XMCD_LIBDIR=/usr/lib/X11/xmcd
-+ XMCD_LIBDIR=/usr/X11R6/lib/X11/xmcd
- export XMCD_LIBDIR
- fi
-
-+ if [ "$0" = "/usr/X11R6/bin/xmcd" -o "$0" = "/usr/X11R6/bin/cda" ] & [ ! -f $XMCD_LIBDIR/config/common.cfg-`uname -n` ]; then
-+ echo
-+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
-+ echo "The default configuration is probably unsuitable for your CD drive."
-+ echo "Run /etc/xmcd/config.sh to configure your CD. "
-+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
-+ echo
-+ fi
-+
-+ echo
-+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
-+ echo "For security reasons xmcd is not installed setuid. You need to be "
-+ echo "the owner of the cdrom device or the following files should have "
-+ echo "the setuid bit set: "
-+ echo " /usr/X11R6/lib/X11/xmcd/bin-*/{xmcd,cda}. "
-+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
-+ echo
-+
- SYS_T="$SYS"
- MACH_T="$MACH"
- REL_T="$REL"
-@@ -128,7 +146,7 @@
- MACH=mips
- else
- MACH=`(uname -m) 2>/dev/null | \
-- sed -e 's/\//_/g' -e 's/-/_/g' -e 's/[ ]/_/g'`
-+ sed -e 's/i[0-9]86/i686/' -e 's/\//_/g' -e 's/-/_/g' -e 's/[ ]/_/g'`
- fi
- REL=`(uname -r) 2>/dev/null | sed -e 's/\//_/g' -e 's/-/_/g' -e 's/[ ]/_/g'`
-
-diff -urN xmcd-3.2.1.old/util_d/Imakefile xmcd-3.2.1/util_d/Imakefile
---- xmcd-3.2.1.old/util_d/Imakefile 2003-08-02 21:25:02.000000000 -0500
-+++ xmcd-3.2.1/util_d/Imakefile 2003-12-20 02:13:36.000000000 -0600
-@@ -39,10 +39,9 @@
- *
- */
-
--/*
-- * #include "Motif.tmpl"
-- * #include "Motif.rules"
-- */
-+#include "Motif.tmpl"
-+#include "Motif.rules"
-+
- LOCAL_LIBRARIES= XmClientLibs
-
-
-diff -urN xmcd-3.2.1.old/xmcd_d/Imakefile xmcd-3.2.1/xmcd_d/Imakefile
---- xmcd-3.2.1.old/xmcd_d/Imakefile 2003-08-02 21:24:47.000000000 -0500
-+++ xmcd-3.2.1/xmcd_d/Imakefile 2003-12-20 02:13:36.000000000 -0600
-@@ -39,10 +39,8 @@
- *
- */
-
--/*
-- * #include "Motif.tmpl"
-- * #include "Motif.rules"
-- */
-+#include "Motif.tmpl"
-+#include "Motif.rules"
-
- CDDBLIB= -L../cddb_d -lcddb
- LOCAL_LIBDIR= -L/usr/freeware/lib32 -L/usr/local/lib
diff --git a/media-sound/xmcd/xmcd-3.2.1-r1.ebuild b/media-sound/xmcd/xmcd-3.2.1-r1.ebuild
deleted file mode 100644
index 40312ed59958..000000000000
--- a/media-sound/xmcd/xmcd-3.2.1-r1.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xmcd/xmcd-3.2.1-r1.ebuild,v 1.2 2004/06/25 00:29:39 agriffis Exp $
-
-inherit eutils
-
-IUSE="alsa encode oggvorbis"
-
-SUPPLIB="cddb2supplib"
-DESCRIPTION="Xmcd is a full-featured CD Player and Ripper software package."
-HOMEPAGE="http://www.ibiblio.org/tkan/xmcd/"
-SRC_URI="http://www.ibiblio.org/tkan/download/${PN}/${PV}/src/${P}.tar.gz
- http://www.ibiblio.org/tkan/download/cddb2supp/${PV}/lib/linux-x86-libc6/${SUPPLIB}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~ppc"
-
-DEPEND="virtual/x11
- x11-libs/openmotif
- alsa? ( media-libs/alsa-lib )
- encode? ( >=media-sound/lame-3.93.1 )
- oggvorbis? ( >=media-libs/libvorbis-1.0 )"
-
-src_unpack() {
-
- ebegin "Unpacking ${P} source tarball"
- unpack ${P}.tar.gz > /dev/null
- eend 0
-
- if use x86
- then
- ebegin "Unpacking Gracenote CDDB˛ support package"
- unpack ${SUPPLIB}.tar.gz > /dev/null
- eend 0
- fi
-
- epatch ${FILESDIR}/${P}-gentoo.patch || die
-}
-
-src_compile() {
-
- einfo "Building xmcd..."
- xmkmf -a || die
- make CDEBUGFLAGS="${CDEBUGFLAGS} ${CFLAGS} -D_GNU_SOURCE" || die
-
-}
-
-src_install() {
-
- # shamelessly culled from SuSE .spec file...
- ebegin "Running install script"
- BATCH_BINDIR=${D}/usr/X11R6/bin \
- BATCH_LIBDIR=${D}/usr/X11R6/lib/X11 \
- BATCH_XMCDLIB=${D}/usr/X11R6/lib/X11/xmcd \
- BATCH_MANDIR=${D}/usr/X11R6/man/man1 \
- BATCH_CDDBDIR=${D}/var/lib/xmcd/cddb \
- BATCH_DISCOGDIR=${D}/var/lib/xmcd/discog \
- sh install.sh -n -b
- eend 0
-
- dodir /usr/lib
- for lib in libcddb.so.1 libcddb.a libcddbkey1.a libcddbkey2.a; do
- cp ${S}/cddb_d/${lib} ${D}/usr/lib
- done
- dosym libcddbkey2.a /usr/lib/libcddbkey.a
- dosym libcddb.so.1 /usr/lib/libcddb.so
-
- # a small fixup...
- rm -rf ${D}/usr/X11R6/lib/X11/xmcd/docs
- dodir etc
- dosym ../usr/X11R6/lib/X11/xmcd/config /etc/xmcd
-
- # move binaries to correct place
- ebegin "Moving binaries to target location"
- (cd ${D}/usr/X11R6/lib/X11/xmcd/bin-*;
- sed -e "s@${D}@@g" \
- < ${D}/usr/X11R6/bin/.xmcd_start > start
- cp start ${D}/usr/X11R6/bin/.xmcd_start
- sed -e "s@${D}@@" < README > README.tmp
- mv README.tmp README )
- rm -f ${D}/usr/X11R6/bin/*
- (cd ${D}/usr/X11R6/bin; \
- ln -s ../lib/X11/xmcd/bin-*/start xmcd; \
- ln -s ../lib/X11/xmcd/bin-*/start cda)
- cp ${D}/usr/X11R6/lib/X11/xmcd/config/common.cfg \
- ${D}/usr/X11R6/lib/X11/xmcd/config/cdrom
- for i in config/config.sh scripts/genidx ; do
- sed -e "s@${D}@@g" \
- < ${D}/usr/X11R6/lib/X11/xmcd/$i \
- > ${D}/usr/X11R6/lib/X11/xmcd/$i.tmp
- mv ${D}/usr/X11R6/lib/X11/xmcd/$i.tmp \
- ${D}/usr/X11R6/lib/X11/xmcd/$i
- done
- eend 0
-
- ebegin "Fixing ownership and permissions"
- # fix ownership
- chown -R root:root ${D}
- # remove setuid bit
- chmod 0755 ${D}/usr/X11R6/lib/X11/xmcd/bin-*/{cda,xmcd,start,gobrowser}
- chmod 0755 ${D}/usr/X11R6/lib/X11/xmcd/config/config.sh
- chmod 0755 ${D}/usr/X11R6/lib/X11/xmcd/scripts/genidx
- # change perms
- chmod 0644 ${D}/var/lib/xmcd/discog/index.html
- chmod 0644 ${D}/var/lib/xmcd/discog/*/*/index.html
- eend 0
-
- if use x86
- then
- ebegin "Adding Gracenote CDDB˛ support"
- exeinto /usr/X11R6/lib/X11/xmcd/lib-Linux-i686
- doexe ${WORKDIR}/${P}/cddb_d/libcddb.so.1
- dosym libcddb.so.1 /usr/X11R6/lib/X11/xmcd/lib-Linux-i686/libcddb.so
- eend 0
- fi
-
- # install documentation
- dodoc docs_d/*
- dosym ../../../../../usr/share/doc/${P} /usr/X11R6/lib/X11/xmcd/docs
-}
-
-pkg_postinst() {
-
- einfo ""
- einfo "Don't forget to run ${ROOT}etc/xmcd/config.sh"
- einfo "as root to configure your CD devices!"
- einfo ""
-
-}
-
-pkg_postrm() {
-
- einfo ""
- einfo "Old discographies found in ${ROOT}var/lib/xmcd can safely be deleted."
- einfo "Old CD configurations in ${ROOT}etc/xmcd can safely be deleted."
- einfo ""
-
-}
diff --git a/media-sound/xmcd/xmcd-3.3.2.ebuild b/media-sound/xmcd/xmcd-3.3.2.ebuild
index d3b842f40611..0858e93416d5 100644
--- a/media-sound/xmcd/xmcd-3.3.2.ebuild
+++ b/media-sound/xmcd/xmcd-3.3.2.ebuild
@@ -1,10 +1,10 @@
-# 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-sound/xmcd/xmcd-3.3.2.ebuild,v 1.9 2004/09/30 01:36:11 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xmcd/xmcd-3.3.2.ebuild,v 1.10 2005/05/28 17:57:47 luckyduck Exp $
inherit eutils
-IUSE="alsa encode oggvorbis"
+IUSE="alsa encode vorbis"
SUPPLIB="cddb2supplib"
DESCRIPTION="Xmcd is a full-featured CD Player and Ripper software package."
@@ -16,12 +16,14 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc sparc amd64"
+# block media-libs/libcddb for now, see bug #90945
DEPEND="virtual/x11
x11-libs/openmotif
media-libs/flac
+ !media-libs/libcddb
alsa? ( media-libs/alsa-lib )
encode? ( >=media-sound/lame-3.93.1 )
- oggvorbis? ( >=media-libs/libvorbis-1.0 )"
+ vorbis? ( >=media-libs/libvorbis-1.0 )"
src_unpack() {
@@ -31,7 +33,7 @@ src_unpack() {
if use x86
then
- ebegin "Unpacking Gracenote CDDB˛ support package"
+ ebegin "Unpacking Gracenote CDDB² support package"
unpack ${SUPPLIB}.tar.gz > /dev/null
eend 0
fi
@@ -110,7 +112,7 @@ src_install() {
if use x86
then
- ebegin "Adding Gracenote CDDB˛ support"
+ ebegin "Adding Gracenote CDDB² support"
exeinto /usr/X11R6/$(get_libdir)/X11/xmcd/lib-Linux-i686
doexe ${WORKDIR}/${P}/cddb_d/libcddb.so.1
dosym libcddb.so.1 /usr/X11R6/$(get_libdir)/X11/xmcd/lib-Linux-i686/libcddb.so