summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2008-04-30 13:01:32 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2008-04-30 13:01:32 +0000
commit7cab4af39158de3e7aaff5ba924746caae31bf71 (patch)
tree34d5218c1935e1df355de3c664dde08a7fe5a209 /media-sound/kradio
parentVersion bump (#219478) (diff)
downloadgentoo-2-7cab4af39158de3e7aaff5ba924746caae31bf71.tar.gz
gentoo-2-7cab4af39158de3e7aaff5ba924746caae31bf71.tar.bz2
gentoo-2-7cab4af39158de3e7aaff5ba924746caae31bf71.zip
Fixes according to bug #218527
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-sound/kradio')
-rw-r--r--media-sound/kradio/ChangeLog8
-rw-r--r--media-sound/kradio/kradio-20061112-r1.ebuild53
2 files changed, 60 insertions, 1 deletions
diff --git a/media-sound/kradio/ChangeLog b/media-sound/kradio/ChangeLog
index 3d7da063b57c..b2c4aeda3ae7 100644
--- a/media-sound/kradio/ChangeLog
+++ b/media-sound/kradio/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/kradio
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kradio/ChangeLog,v 1.16 2008/04/30 07:37:24 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kradio/ChangeLog,v 1.17 2008/04/30 13:01:32 phosphan Exp $
+
+*kradio-20061112-r1 (30 Apr 2008)
+
+ 30 Apr 2008; Patrick Kursawe <phosphan@gentoo.org>
+ +kradio-20061112-r1.ebuild:
+ Fixes according to bug #218527
30 Apr 2008; Patrick Kursawe <phosphan@gentoo.org>
-files/1.0b_beta3-includehints.patch, -kradio-1.0b_beta3.ebuild:
diff --git a/media-sound/kradio/kradio-20061112-r1.ebuild b/media-sound/kradio/kradio-20061112-r1.ebuild
new file mode 100644
index 000000000000..6c2c4ffdd1ff
--- /dev/null
+++ b/media-sound/kradio/kradio-20061112-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kradio/kradio-20061112-r1.ebuild,v 1.1 2008/04/30 13:01:32 phosphan Exp $
+
+inherit eutils kde
+
+MY_PV="snapshot-2006-11-12-r497"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+DESCRIPTION="kradio is a radio tuner application for KDE"
+HOMEPAGE="http://kradio.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa lirc encode vorbis v4l2 oss"
+
+DEPEND="lirc? ( app-misc/lirc )
+ media-libs/libsndfile
+ encode? ( media-sound/lame )
+ vorbis? ( media-libs/libvorbis )"
+
+need-kde 3.5
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i kradio3/src/kradio.desktop -e 's:kradio\.png:kradio:'
+ rm configure
+}
+
+src_compile() {
+ if ! use vorbis; then
+ myconf="${myconf} --enable-ogg=no"
+ fi
+ if ! use encode; then
+ myconf="${myconf} --enable-lame=no"
+ fi
+ if ! use lirc; then
+ myconf="${myconf} --enable-lirc=no"
+ fi
+ if ! use alsa; then
+ myconf="${myconf} --enable-alsa=no"
+ fi
+ if ! use v4l2; then
+ myconf="${myconf} --enable-v4l2=no"
+ fi
+ if ! use oss; then
+ myconf="${myconf} --enable-oss=no"
+ fi
+ kde_src_compile || die "make failed"
+}