diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2009-02-15 17:13:35 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2009-02-15 17:13:35 +0000 |
commit | 1569ce918162347350308f2c248c8458bc20de3f (patch) | |
tree | 0bcc3167c6e1e43c836b4aa9a7e78a3d5047d9dd /media-video/kaffeine | |
parent | Use kde-functions.eclass, to get rid of pointless use flags and invalid depen... (diff) | |
download | historical-1569ce918162347350308f2c248c8458bc20de3f.tar.gz historical-1569ce918162347350308f2c248c8458bc20de3f.tar.bz2 historical-1569ce918162347350308f2c248c8458bc20de3f.zip |
Get rid of invalid aRts dependency. Reflect use dependency properly.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'media-video/kaffeine')
-rw-r--r-- | media-video/kaffeine/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/kaffeine/kaffeine-0.8.7-r1.ebuild | 80 |
2 files changed, 87 insertions, 2 deletions
diff --git a/media-video/kaffeine/ChangeLog b/media-video/kaffeine/ChangeLog index 645aa8794300..2f2df1e62b1a 100644 --- a/media-video/kaffeine/ChangeLog +++ b/media-video/kaffeine/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/kaffeine -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/kaffeine/ChangeLog,v 1.92 2008/08/28 22:40:28 tgurr Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/kaffeine/ChangeLog,v 1.93 2009/02/15 17:13:35 carlo Exp $ + +*kaffeine-0.8.7-r1 (15 Feb 2009) + + 15 Feb 2009; Carsten Lohrke <carlo@gentoo.org> +kaffeine-0.8.7-r1.ebuild: + Get rid of invalid aRts dependency. Reflect use dependency properly. *kaffeine-0.8.7 (28 Aug 2008) diff --git a/media-video/kaffeine/kaffeine-0.8.7-r1.ebuild b/media-video/kaffeine/kaffeine-0.8.7-r1.ebuild new file mode 100644 index 000000000000..7446564c2720 --- /dev/null +++ b/media-video/kaffeine/kaffeine-0.8.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-video/kaffeine/kaffeine-0.8.7-r1.ebuild,v 1.1 2009/02/15 17:13:35 carlo Exp $ + +EAPI="2" + +ARTS_REQUIRED="never" + +inherit eutils kde flag-o-matic + +DESCRIPTION="Media player for KDE using xine and gstreamer backends." +HOMEPAGE="http://kaffeine.sourceforge.net/" +SRC_URI="mirror://sourceforge/kaffeine/${P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="dvb gstreamer xinerama vorbis encode xcb" +# kdehiddenvisibility removed due to bug 207002. + +RDEPEND=">=media-libs/xine-lib-1.1.9[xcb] + xcb? ( >=x11-libs/libxcb-1.0 ) + gstreamer? ( =media-libs/gstreamer-0.10* + =media-plugins/gst-plugins-xvideo-0.10* ) + media-sound/cdparanoia + encode? ( media-sound/lame ) + vorbis? ( media-libs/libvorbis ) + x11-libs/libXtst" + +DEPEND="${RDEPEND} + dvb? ( media-tv/linuxtv-dvb-headers ) + x11-proto/inputproto" + +need-kde 3.5.4 + +PATCHES=( + "${FILESDIR}/kaffeine-0.8.7-respectcflags.patch" + ) + +src_unpack() { + kde_src_unpack + rm -f "${S}"/configure +} + +src_prepare() { + : +} + +src_compile() { + # see bug #143168 + replace-flags -O3 -O2 + + # workaround bug #198973 + local save_CXXFLAGS="${CXXFLAGS}" + append-flags -std=gnu89 + export CXXFLAGS="${save_CXXFLAGS}" + + local myconf="${myconf} + $(use_with xinerama) + $(use_with dvb) + $(use_with gstreamer) + $(use_with vorbis oggvorbis) + $(use_with xcb) + $(use_with encode lame)" + + kde_src_compile +} + +src_install() { + kde_src_install + + # fix localization, bug #199909 + for mofile in "${D}"/usr/share/locale/*/LC_MESSAGES/${P}.mo ; do + mv -f ${mofile} ${mofile/${P}.mo/${PN}.mo} \ + || die "fixing mo files failed" + done + + # remove this, as kdelibs 3.5.4 provides it + rm -f "${D}"/usr/share/mimelnk/application/x-mplayer2.desktop +} |