From 17d2f17c773d62167f64694975210fca33751771 Mon Sep 17 00:00:00 2001 From: Ioannis Aslanidis Date: Sat, 3 Mar 2007 16:44:05 +0000 Subject: [PATCH] Added localization support. Package-Manager: portage-2.1.2-r14 --- media-video/kmplayer/ChangeLog | 8 +- media-video/kmplayer/Manifest | 21 +++-- .../kmplayer/files/digest-kmplayer-0.9.4-r1 | 3 + media-video/kmplayer/kmplayer-0.9.4-r1.ebuild | 76 +++++++++++++++++++ 4 files changed, 100 insertions(+), 8 deletions(-) create mode 100644 media-video/kmplayer/files/digest-kmplayer-0.9.4-r1 create mode 100644 media-video/kmplayer/kmplayer-0.9.4-r1.ebuild 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 + +kmplayer-0.9.4-r1.ebuild: + Added localization support. *kmplayer-0.9.4 (03 Mar 2007) diff --git a/media-video/kmplayer/Manifest b/media-video/kmplayer/Manifest index 888d0808d393..2150ce88e468 100644 --- a/media-video/kmplayer/Manifest +++ b/media-video/kmplayer/Manifest @@ -16,14 +16,18 @@ EBUILD kmplayer-0.9.3a.ebuild 1675 RMD160 80dfd39fe4751efba9791ba805b25911891e9c MD5 e28323dfcbc121804b9d14549771dc4e kmplayer-0.9.3a.ebuild 1675 RMD160 80dfd39fe4751efba9791ba805b25911891e9c65 kmplayer-0.9.3a.ebuild 1675 SHA256 34121c66b6413094b20e16aaddf76cd1a0bc5e050f666b7d91e42263fa6d80e5 kmplayer-0.9.3a.ebuild 1675 +EBUILD kmplayer-0.9.4-r1.ebuild 2196 RMD160 d1643bff0c9b91dcb85e591fde3d71785cf5e50e SHA1 c600804c7d51e888c408e3653d9f147f17190841 SHA256 ce0e34f78d3a1ab39a65b52f30c79bbfb0403ca39dc0e2b488d847a52070a469 +MD5 93ec4a1cf4bebf7f5119218b21d2a062 kmplayer-0.9.4-r1.ebuild 2196 +RMD160 d1643bff0c9b91dcb85e591fde3d71785cf5e50e kmplayer-0.9.4-r1.ebuild 2196 +SHA256 ce0e34f78d3a1ab39a65b52f30c79bbfb0403ca39dc0e2b488d847a52070a469 kmplayer-0.9.4-r1.ebuild 2196 EBUILD kmplayer-0.9.4.ebuild 1723 RMD160 177523570038d91f1bd713601ed161a532669317 SHA1 3e83fd63b256a4f31334895cf89d8d4248fcdb8c SHA256 da3f84badb0ad888512ffe385f40e5db1ed041d071cad58ff05fe6754c80569f MD5 38fdf530d6909e275e8e4c5e6ff217ef kmplayer-0.9.4.ebuild 1723 RMD160 177523570038d91f1bd713601ed161a532669317 kmplayer-0.9.4.ebuild 1723 SHA256 da3f84badb0ad888512ffe385f40e5db1ed041d071cad58ff05fe6754c80569f kmplayer-0.9.4.ebuild 1723 -MISC ChangeLog 12358 RMD160 b61dcdaeadf1eb9369906b2fcf79c2ad89355e5a SHA1 a80e324ab75b5440951eb80341704aac3fd016be SHA256 37870189ba17304c7eacbadb7a779b053aac6e67271d46e2f53edb4d8ad6dd55 -MD5 d1361228f7836bd190a93b1fee0c9765 ChangeLog 12358 -RMD160 b61dcdaeadf1eb9369906b2fcf79c2ad89355e5a ChangeLog 12358 -SHA256 37870189ba17304c7eacbadb7a779b053aac6e67271d46e2f53edb4d8ad6dd55 ChangeLog 12358 +MISC ChangeLog 12510 RMD160 fd73c2c341370b6c9cc706f22220252974ae5b7d SHA1 05c16c939d4729f00766420be8127b5cf8f712e9 SHA256 232dd7dc0b4cee2e54d3d961749b29f9f98d0d38e0c25d05dfd4b4a2fe34811f +MD5 6056fbaa368996eb5b4cbff1b41f42ef ChangeLog 12510 +RMD160 fd73c2c341370b6c9cc706f22220252974ae5b7d ChangeLog 12510 +SHA256 232dd7dc0b4cee2e54d3d961749b29f9f98d0d38e0c25d05dfd4b4a2fe34811f ChangeLog 12510 MISC metadata.xml 301 RMD160 8cdfa7196c9fd8e12c3abec835f953aa9104bd4b SHA1 3085c41a72d20d1fd313c697f47b57cfc4f1d922 SHA256 384f81a99d921498726f234957a04616544bd6a4e26e55064cc2e0c9e08f780a MD5 c23e0598555bbfe06e04be579dc97186 metadata.xml 301 RMD160 8cdfa7196c9fd8e12c3abec835f953aa9104bd4b metadata.xml 301 @@ -37,10 +41,13 @@ SHA256 0f0083b67712fc3d45e280734c2c60950afc24f95436b9cef4d704a894be0b52 files/di MD5 0193d657b934dfafa09642f1a0a053d3 files/digest-kmplayer-0.9.4 247 RMD160 ed1f0d44f67cd1ed53861536c7a1a7970475b0ed files/digest-kmplayer-0.9.4 247 SHA256 e31c599652be018d36f436124812c01f22fec0b228592e4963419bf2cccf5c55 files/digest-kmplayer-0.9.4 247 +MD5 0193d657b934dfafa09642f1a0a053d3 files/digest-kmplayer-0.9.4-r1 247 +RMD160 ed1f0d44f67cd1ed53861536c7a1a7970475b0ed files/digest-kmplayer-0.9.4-r1 247 +SHA256 e31c599652be018d36f436124812c01f22fec0b228592e4963419bf2cccf5c55 files/digest-kmplayer-0.9.4-r1 247 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFF6aAQQVeVlgLp4x8RApP3AJ4yuCtvgRutWnSIzY/XVDoNekv/uwCeOull -jk1O0MFt72g0EchHw7kx3H0= -=Mlr1 +iD8DBQFF6aXcQVeVlgLp4x8RAnzqAJ42sN5QCDk6PjLOSnDDixQafOcm5wCggubf +3cEd1Hef2tWx4B585NTiLPY= +=OLaD -----END PGP SIGNATURE----- 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" +} + -- 2.26.2