summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2009-02-13 23:38:47 +0000
committerCarsten Lohrke <carlo@gentoo.org>2009-02-13 23:38:47 +0000
commit691b06299581b5734ebaa3b1e635c226bde11a37 (patch)
treefe6e76b887d44773728250b5bbc748d014264eb6 /media-sound
parent Get rid of invalid aRts dependency. (diff)
downloadgentoo-2-691b06299581b5734ebaa3b1e635c226bde11a37.tar.gz
gentoo-2-691b06299581b5734ebaa3b1e635c226bde11a37.tar.bz2
gentoo-2-691b06299581b5734ebaa3b1e635c226bde11a37.zip
Missing eclass function calls. Proper desktop file fix.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/transkode/ChangeLog10
-rw-r--r--media-sound/transkode/files/transkode-0.7-desktop-file.diff27
-rw-r--r--media-sound/transkode/transkode-0.7-r1.ebuild80
3 files changed, 115 insertions, 2 deletions
diff --git a/media-sound/transkode/ChangeLog b/media-sound/transkode/ChangeLog
index 0425ecd746ff..8dfc11d66725 100644
--- a/media-sound/transkode/ChangeLog
+++ b/media-sound/transkode/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/transkode
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/transkode/ChangeLog,v 1.13 2008/12/26 17:14:05 scarabeus Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/transkode/ChangeLog,v 1.14 2009/02/13 23:38:47 carlo Exp $
+
+*transkode-0.7-r1 (13 Feb 2009)
+
+ 13 Feb 2009; Carsten Lohrke <carlo@gentoo.org>
+ +files/transkode-0.7-desktop-file.diff, +transkode-0.7-r1.ebuild:
+ Missing eclass function calls. Proper desktop file fix.
26 Dec 2008; Tomas Chvatal <scarabeus@gentoo.org>
-transkode-0.6_beta2.ebuild, -transkode-0.6.ebuild,
diff --git a/media-sound/transkode/files/transkode-0.7-desktop-file.diff b/media-sound/transkode/files/transkode-0.7-desktop-file.diff
new file mode 100644
index 000000000000..423f4de7f9af
--- /dev/null
+++ b/media-sound/transkode/files/transkode-0.7-desktop-file.diff
@@ -0,0 +1,27 @@
+--- src/transkode/Makefile.am.o 2009-02-13 23:06:28.000000000 +0100
++++ src/transkode/Makefile.am 2009-02-13 23:06:52.000000000 +0100
+@@ -47,7 +47,7 @@
+ KDE_ICON = AUTO
+
+ # this is where the kdelnk file will go
+-kdelnkdir = $(kde_appsdir)
++kdelnkdir = $(xdg_appsdir)
+ kdelnk_DATA = transkode.desktop
+
+ # this is where the XML-GUI resource file goes
+--- src/transkode/transkode.desktop.o 2009-02-13 23:03:00.000000000 +0100
++++ src/transkode/transkode.desktop 2009-02-13 23:07:25.000000000 +0100
+@@ -1,10 +1,9 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=transKode
+ Exec=transkode -caption "%c"
+ Icon=transkode
+ Type=Application
+-DocPath=transkode/transkode.html
++X-DocPath=transkode/transkode.html
+ Comment=KDE frontend for various audio transcoding tools Application
+ Terminal=false
+-Categories=Qt;KDE;Audio;
+\ No newline at end of file
++Categories=Qt;KDE;AudioVideo;Audio;
diff --git a/media-sound/transkode/transkode-0.7-r1.ebuild b/media-sound/transkode/transkode-0.7-r1.ebuild
new file mode 100644
index 000000000000..731b3a6d589d
--- /dev/null
+++ b/media-sound/transkode/transkode-0.7-r1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/transkode/transkode-0.7-r1.ebuild,v 1.1 2009/02/13 23:38:47 carlo Exp $
+
+EAPI="1"
+
+ARTS_REQUIRED="never"
+inherit kde
+
+DESCRIPTION="transKode is a KDE frontend for various audio transcoding tools."
+HOMEPAGE="http://kde-apps.org/content/show.php?content=37669"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="amarok ffmpeg gstreamer mplayer wavpack xine"
+
+RDEPEND="media-libs/taglib
+ amarok? ( media-sound/amarok:0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? (
+ >=media-libs/gstreamer-0.10
+ >=media-libs/gst-plugins-good-0.10
+ >=media-plugins/gst-plugins-flac-0.10
+ >=media-plugins/gst-plugins-lame-0.10
+ >=media-plugins/gst-plugins-vorbis-0.10
+ >=media-plugins/gst-plugins-ogg-0.10
+ >=media-plugins/gst-plugins-faad-0.10
+ )
+ mplayer? ( media-video/mplayer )
+ wavpack? ( media-sound/wavpack )
+ xine? ( media-sound/xineadump )"
+DEPEND="${RDEPEND}"
+
+need-kde 3.5
+
+PATCHES=(
+ "${FILESDIR}/${P}-gcc-4.3.patch"
+ "${FILESDIR}/transkode-0.7-desktop-file.diff"
+ )
+
+S="${WORKDIR}/${PN}"
+
+pkg_setup() {
+ kde_pkg_setup
+
+ if ! use ffmpeg && ! use mplayer && ! use gstreamer && ! use xine; then
+ echo
+ ewarn "TransKode should be emerged with at least one of next"
+ ewarn "use flags: mplayer, ffmpeg, gstreamer or xine!"
+ ewarn "None of them is mandatory but they install programs that"
+ ewarn "can be used for decoding of audio formats for which no "
+ ewarn "other decoder is present."
+ echo
+ ebeep
+ epause 5
+ fi
+}
+
+src_unpack() {
+ kde_src_unpack
+ rm -f "${S}"/configure
+}
+
+src_compile() {
+ local myconf="$(use_enable amarok amarokscript)"
+ kde_src_compile
+}
+
+pkg_postinst() {
+ kde_pkg_postinst
+
+ if use amarok; then
+ elog "If you want to use TransKode to encode audio files on the fly"
+ elog "when transferring music to a portable media device, remember"
+ elog "to start the TransKode script through the Script Manager"
+ elog "on the Tools menu."
+ fi
+}