summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-11-16 14:48:38 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-11-16 14:48:38 +0000
commit905167c53ddf45f8b0bd3813830e6e27a3e6a632 (patch)
treecf492ae795204b2ae9708e51e6a7674cefd5efd7 /media-sound/prokyon3/prokyon3-0.9.4.ebuild
parentAdd musicbrainz flag for prokyon3. (diff)
downloadgentoo-2-905167c53ddf45f8b0bd3813830e6e27a3e6a632.tar.gz
gentoo-2-905167c53ddf45f8b0bd3813830e6e27a3e6a632.tar.bz2
gentoo-2-905167c53ddf45f8b0bd3813830e6e27a3e6a632.zip
New version, proving new options and supporting many external applications.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'media-sound/prokyon3/prokyon3-0.9.4.ebuild')
-rw-r--r--media-sound/prokyon3/prokyon3-0.9.4.ebuild78
1 files changed, 78 insertions, 0 deletions
diff --git a/media-sound/prokyon3/prokyon3-0.9.4.ebuild b/media-sound/prokyon3/prokyon3-0.9.4.ebuild
new file mode 100644
index 000000000000..74f6da707281
--- /dev/null
+++ b/media-sound/prokyon3/prokyon3-0.9.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2005 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.ebuild,v 1.1 2005/11/16 14:48:38 greg_g 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="=x11-libs/qt-3*
+ media-libs/taglib
+ musicbrainz? ( media-libs/musicbrainz
+ mp3? ( media-libs/libmad )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ flac? ( media-libs/flac) )"
+
+pkg_setup() {
+ if ! built_with_use x11-libs/qt mysql; then
+ eerror "You have installed Qt without MySQL support."
+ eerror "Please reemerge x11-libs/qt with "mysql" in USE."
+ die "MySQL support for Qt not found."
+ fi
+}
+
+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 () {
+ make 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
+}