diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2009-02-13 20:38:38 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2009-02-13 20:38:38 +0000 |
commit | d39d15ed5e4e82e7e64a9aff2d2c2c1e3465c391 (patch) | |
tree | 11e77dd961d28adb610bdaeb1cfd512f6074f8c8 /media-sound/kradio | |
parent | Sparc stable, bug #258530. (diff) | |
download | historical-d39d15ed5e4e82e7e64a9aff2d2c2c1e3465c391.tar.gz historical-d39d15ed5e4e82e7e64a9aff2d2c2c1e3465c391.tar.bz2 historical-d39d15ed5e4e82e7e64a9aff2d2c2c1e3465c391.zip |
Get rid of invalid aRts dependency. Fix desktop file.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'media-sound/kradio')
-rw-r--r-- | media-sound/kradio/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/kradio/files/kradio-20061112-desktop-file.diff | 16 | ||||
-rw-r--r-- | media-sound/kradio/kradio-20061112-r2.ebuild | 58 |
3 files changed, 82 insertions, 2 deletions
diff --git a/media-sound/kradio/ChangeLog b/media-sound/kradio/ChangeLog index 2ae54b9d7e7d..0ef8e105f025 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.18 2008/05/05 19:08:57 drac Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/kradio/ChangeLog,v 1.19 2009/02/13 20:38:37 carlo Exp $ + +*kradio-20061112-r2 (13 Feb 2009) + + 13 Feb 2009; Carsten Lohrke <carlo@gentoo.org> + +files/kradio-20061112-desktop-file.diff, +kradio-20061112-r2.ebuild: + Get rid of invalid aRts dependency. Fix desktop file. 05 May 2008; Samuli Suominen <drac@gentoo.org> +files/kradio-20061112-gcc43.patch, kradio-20061112-r1.ebuild: diff --git a/media-sound/kradio/files/kradio-20061112-desktop-file.diff b/media-sound/kradio/files/kradio-20061112-desktop-file.diff new file mode 100644 index 000000000000..3fd41793896d --- /dev/null +++ b/media-sound/kradio/files/kradio-20061112-desktop-file.diff @@ -0,0 +1,16 @@ +--- ./kradio3/src/kradio.desktop.orig 2009-02-13 20:59:58.000000000 +0100 ++++ ./kradio3/src/kradio.desktop 2009-02-13 20:59:58.000000000 +0100 +@@ -1,10 +1,9 @@ + # KDE Config File + [Desktop Entry] +-Encoding=UTF-8 + Type=Application +-Exec=kradio -caption "%c" %i %m +-Icon=kradio.png +-DocPath=kradio/index.html ++Exec=kradio -caption "%c" %i ++Icon=kradio ++X-DocPath=kradio/index.html + Comment= + Comment[de]= + Terminal=false diff --git a/media-sound/kradio/kradio-20061112-r2.ebuild b/media-sound/kradio/kradio-20061112-r2.ebuild new file mode 100644 index 000000000000..aecea7b49391 --- /dev/null +++ b/media-sound/kradio/kradio-20061112-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/kradio/kradio-20061112-r2.ebuild,v 1.1 2009/02/13 20:38:37 carlo Exp $ + +ARTS_REQUIRED="never" + +inherit 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 )" +RDEPEND="${DEPEND}" +need-kde 3.5 + +PATCHES=( + "${FILESDIR}/kradio-20061112-gcc43.patch" + "${FILESDIR}/kradio-20061112-desktop-file.diff" + ) + +src_unpack() { + kde_src_unpack + rm "${S}"/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" +} |