diff options
author | Ioannis Aslanidis <deathwing00@gentoo.org> | 2007-03-03 16:44:05 +0000 |
---|---|---|
committer | Ioannis Aslanidis <deathwing00@gentoo.org> | 2007-03-03 16:44:05 +0000 |
commit | 5fcd17d9063d36af761fc32d97e552322ae37838 (patch) | |
tree | d88428604bf30d0e0ada4981cc5862c3c95a7b96 /media-video/kmplayer | |
parent | Fix emacs integration on newer emacs versions (diff) | |
download | gentoo-2-5fcd17d9063d36af761fc32d97e552322ae37838.tar.gz gentoo-2-5fcd17d9063d36af761fc32d97e552322ae37838.tar.bz2 gentoo-2-5fcd17d9063d36af761fc32d97e552322ae37838.zip |
Added localization support.
(Portage version: 2.1.2-r14)
Diffstat (limited to 'media-video/kmplayer')
-rw-r--r-- | media-video/kmplayer/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/kmplayer/files/digest-kmplayer-0.9.4-r1 | 3 | ||||
-rw-r--r-- | media-video/kmplayer/kmplayer-0.9.4-r1.ebuild | 76 |
3 files changed, 86 insertions, 1 deletions
diff --git a/media-video/kmplayer/ChangeLog b/media-video/kmplayer/ChangeLog index 5775f5a8d8ce..8d70008bee7e 100644 --- a/media-video/kmplayer/ChangeLog +++ b/media-video/kmplayer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/kmplayer # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v 1.88 2007/03/03 16:19:21 deathwing00 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v 1.89 2007/03/03 16:44:05 deathwing00 Exp $ + +*kmplayer-0.9.4-r1 (03 Mar 2007) + + 03 Mar 2007; Ioannis Aslanidis <deathwing00@gentoo.org> + +kmplayer-0.9.4-r1.ebuild: + Added localization support. *kmplayer-0.9.4 (03 Mar 2007) diff --git a/media-video/kmplayer/files/digest-kmplayer-0.9.4-r1 b/media-video/kmplayer/files/digest-kmplayer-0.9.4-r1 new file mode 100644 index 000000000000..ef98eb8a76b8 --- /dev/null +++ b/media-video/kmplayer/files/digest-kmplayer-0.9.4-r1 @@ -0,0 +1,3 @@ +MD5 0d2a199290f7d4c470ea89df42d527ec kmplayer-0.9.4.tar.bz2 965254 +RMD160 cf93e34f98eaedd161b552f9f323835679dbc36d kmplayer-0.9.4.tar.bz2 965254 +SHA256 63b604ab5d92261af202f078e8397b9c08aefe03ffde353071958b38e317d260 kmplayer-0.9.4.tar.bz2 965254 diff --git a/media-video/kmplayer/kmplayer-0.9.4-r1.ebuild b/media-video/kmplayer/kmplayer-0.9.4-r1.ebuild new file mode 100644 index 000000000000..1bc98706ee8d --- /dev/null +++ b/media-video/kmplayer/kmplayer-0.9.4-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.9.4-r1.ebuild,v 1.1 2007/03/03 16:44:05 deathwing00 Exp $ + +inherit kde eutils + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="KMPlayer is a Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE." +HOMEPAGE="http://kmplayer.kde.org/" +SRC_URI="http://kmplayer.kde.org/pkgs/${MY_P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="gstreamer mplayer xine cairo" + +RDEPEND="mplayer? ( || ( media-video/mplayer media-video/mplayer-bin ) ) + xine? ( >=media-libs/xine-lib-1.1.1 ) + gstreamer? ( || ( =media-libs/gst-plugins-base-0.10* =media-libs/gst-plugins-0.8* ) ) + cairo? ( x11-libs/cairo )" + +DEPEND="xine? ( >=media-libs/xine-lib-1.1.1 ) + gstreamer? ( || ( =media-libs/gst-plugins-base-0.10* =media-libs/gst-plugins-0.8* ) ) + cairo? ( x11-libs/cairo )" + +LANGS="ar br bs ca cs cy da de el en_GB es et fi fr ga gl he hi hu is it ja ka +lt mt nb nl pa pl pt_BR pt ro ru rw sk sr@Latn sr sv ta tr uk zh_CN" + + +for X in ${LANGS} ; do + IUSE="${IUSE} linguas_${X}" +done + + +need-kde 3.5 + +pkg_setup() { + if ! use mplayer && ! use xine && ! use gstreamer && ! use cairo; then + echo + ewarn "Neither the mplayer, xine, gstreamer or cairo use flags have" + ewarn "been set. One of them is required. From them, mplayer can be" + ewarn "installed afterwards; however, xine and gstreamer will require" + ewarn "you to recompile kmplayer." + fi +} + +src_unpack() { + kde_src_unpack + + if use mplayer && use amd64 && ! has_version media-video/mplayer; then + elog 'NOTICE: You have mplayer-bin installed; you will need to configure' + elog 'NOTICE: kmplayer to use it from within the application.' + fi + + cd "${WORKDIR}/${MY_P}/po" + for X in ${LANGS} ; do + use linguas_${X} || rm -f "${X}."* + done + rm -f "${S}/configure" +} + + +src_compile(){ + local myconf="$(use_with gstreamer) $(use_with xine) $(use_with cairo)" + kde_src_compile +} + +src_install() { + kde_src_install + + # Remove this, as kdelibs 3.5.4 provides it + rm -f "${D}/usr/share/mimelnk/application/x-mplayer2.desktop" +} + |