summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2006-10-16 14:20:20 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2006-10-16 14:20:20 +0000
commitca1c134ea538101f049b0c23e6536fb2537bd3aa (patch)
tree8d748fede0a2eca48bb766d02dc26aba0b4b67e1 /media-sound/prokyon3/prokyon3-0.9.4-r1.ebuild
parentversion bump (diff)
downloadgentoo-2-ca1c134ea538101f049b0c23e6536fb2537bd3aa.tar.gz
gentoo-2-ca1c134ea538101f049b0c23e6536fb2537bd3aa.tar.bz2
gentoo-2-ca1c134ea538101f049b0c23e6536fb2537bd3aa.zip
Fixed gcc-4.1 compile issue, bug 140999.
(Portage version: 2.1.1-r1)
Diffstat (limited to 'media-sound/prokyon3/prokyon3-0.9.4-r1.ebuild')
-rw-r--r--media-sound/prokyon3/prokyon3-0.9.4-r1.ebuild83
1 files changed, 83 insertions, 0 deletions
diff --git a/media-sound/prokyon3/prokyon3-0.9.4-r1.ebuild b/media-sound/prokyon3/prokyon3-0.9.4-r1.ebuild
new file mode 100644
index 000000000000..975a37c72ea0
--- /dev/null
+++ b/media-sound/prokyon3/prokyon3-0.9.4-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/prokyon3/prokyon3-0.9.4-r1.ebuild,v 1.1 2006/10/16 14:20:20 matsuu Exp $
+
+inherit qt3 eutils
+
+DESCRIPTION="Multithreaded music manager and tag editor based on Qt and MySQL."
+HOMEPAGE="http://prokyon3.sourceforge.net"
+SRC_URI="mirror://sourceforge/prokyon3/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="flac mp3 musicbrainz vorbis"
+
+DEPEND="$(qt_min_version 3.2)
+ media-libs/taglib
+ musicbrainz? ( media-libs/musicbrainz
+ mp3? ( media-libs/libmad )
+ vorbis? ( media-libs/libvorbis )
+ flac? ( media-libs/flac ) )"
+
+pkg_setup() {
+ if ! built_with_use =x11-libs/qt-3* mysql; then
+ eerror "You have installed Qt without MySQL support."
+ eerror "Please reemerge x11-libs/qt-3* with "mysql" in USE."
+ die "MySQL support for Qt not found."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc41.patch
+}
+
+src_compile() {
+ # Support for musicextras (not in portage)
+ # requires dev-libs/xmlwrapp.
+
+ local myconf="--with-taglib
+ --without-id3
+ --without-mysql-embedded
+ --without-musicextras"
+
+ if use musicbrainz; then
+ myconf="${myconf}
+ --with-musicbrainz
+ $(use_with mp3 mad)
+ $(use_with vorbis ogg)
+ $(use_with flac)"
+ else
+ myconf="${myconf}
+ --without-musicbrainz"
+ fi
+
+ econf ${myconf} || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}
+
+pkg_postinst() {
+ echo
+ einfo "Prokyon3 supports the following external programs"
+ einfo "to play audio tracks:"
+ einfo " - media-sound/amarok"
+ einfo " - media-sound/beep-media-player"
+ einfo " - media-video/kaffeine"
+ einfo " - media-video/mplayer"
+ einfo " - kde-base/noatun or kde-base/kdemultimedia"
+ einfo " - media-video/totem"
+ einfo " - media-sound/xmms"
+ einfo
+ einfo "Prokyon3 also supports the following external"
+ einfo "applications, if installed:"
+ einfo " - app-cdr/k3b: CD burning"
+ einfo " - media-sound/mixxx: DJ mixing"
+ echo
+}