diff options
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/smplayer/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/smplayer/Manifest | 4 | ||||
-rw-r--r-- | media-video/smplayer/smplayer-0.6.5.ebuild | 88 |
3 files changed, 97 insertions, 2 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog index 816973cb05af..66bd47ae36ce 100644 --- a/media-video/smplayer/ChangeLog +++ b/media-video/smplayer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/smplayer # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.46 2008/11/06 00:35:00 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.47 2008/11/13 20:45:54 yngwin Exp $ + +*smplayer-0.6.5 (13 Nov 2008) + + 13 Nov 2008; Ben de Groot <yngwin@gentoo.org> +smplayer-0.6.5.ebuild: + Version bump 06 Nov 2008; Ben de Groot <yngwin@gentoo.org> smplayer-0.6.3.ebuild, smplayer-0.6.4.ebuild: diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest index 2fccde30c71e..172b9f135ec6 100644 --- a/media-video/smplayer/Manifest +++ b/media-video/smplayer/Manifest @@ -2,9 +2,11 @@ DIST smplayer-0.6.1.tar.bz2 1029890 RMD160 2859050073d9535d03a16e2dfbb94ad03fbb2 DIST smplayer-0.6.2.tar.bz2 1132234 RMD160 6b229eb19173c298a331f675eb34bb6a5261b80b SHA1 902b86242ff483f603dbb52d39f342093a50e5d8 SHA256 0b75ef8bb2c8ac6374ca05cdcffc4634d772b858356caeca9effad0c1775dbb3 DIST smplayer-0.6.3.tar.bz2 1157827 RMD160 ee34f9f35c123707f17c7b73caf75e964096ee92 SHA1 03c42f134dc9e3d0d4cec652e75351043e8ca015 SHA256 54ddd5761ccf0b020c6cae679f2ade6d96b315bb586e14421a45d4fc8c56ffce DIST smplayer-0.6.4.tar.bz2 1285946 RMD160 75328da08af63b348b49e25bd10ea6d73a22ebe5 SHA1 19dbd15de548538eadadc14e548507a7215ad0c4 SHA256 37f75b558c311c6a2a9a6199aab12333beb1ebb6a9988c8931a537198d7dc025 +DIST smplayer-0.6.5.tar.bz2 1300271 RMD160 e7dfbdda2c8e03ad65643ba12334f92d985dc7dd SHA1 58c61d5bade169287f837e5d263910e4f4e041f0 SHA256 b2af673a5a26d2699240fe03e3e649ef736a979cb57afd6d9ef48da6744644ce EBUILD smplayer-0.6.1-r1.ebuild 3162 RMD160 717c82abf170e9902f3360890fbe98a5f5c9f0a1 SHA1 41baf19c21613ff8f49efbcf59650b6b6de512d4 SHA256 3ef5d3fe155e1e3bcf1664a48e198c981204806b98005320e06c195dc46e370c EBUILD smplayer-0.6.2-r1.ebuild 2939 RMD160 d26320b2c9adb0c1de06ee71f5cb42a6ff15e3b7 SHA1 80de7f8fc2c3430014ff19004c46fed9a07daba0 SHA256 40923d5331f6e79b31d851a4f8ba9f48466ecbbcb3226e7dd7c9931d9ba661b1 EBUILD smplayer-0.6.3.ebuild 2636 RMD160 f1a0ef0bb355f62f3dcc521e81c9fe83e08cfd1b SHA1 8833f753a6b607d8a7c894bd04dc1d90fdaad052 SHA256 94c40540be4df5595640c149da167e33e9c5aac5ca7ab0fd819131dff260814b EBUILD smplayer-0.6.4.ebuild 2495 RMD160 414dc4ceffd238bfdfc1fd071b49900fbd4b6b26 SHA1 41077be940dce26e452e8aee58b15060c9113eec SHA256 abdd8ec3d28db1d11d7cc8622404aaaaea798d9e21a63937745b39c6f138c62d -MISC ChangeLog 6586 RMD160 ef84edcf98922fd72e71dc3334ecb1916f2fe4c6 SHA1 80ea82def79a42e1465ab9a5c4aabbcf94a053ba SHA256 7b82828e26070c1c51cbfef254b40f8df1ec2160cda6ece92618552ea7499e37 +EBUILD smplayer-0.6.5.ebuild 2495 RMD160 6939b70395d3dd45573421e6c0c51d8e06af6acb SHA1 40dc24bbbe1324b546f0c052f2927282b82c289f SHA256 fa77f48f1ccde868bbc45271e6a42b1e6fe865052940a694239e59e977bf92de +MISC ChangeLog 6705 RMD160 365d120f0aeed6df9e2afc7d1b35989ec56bb3c6 SHA1 75f76c1d55eb37eff9dbbe5ea7c04945d5283426 SHA256 121f211fb832419633e5cfcbeea1b36ec560c593d50eb0714274db87074679ad MISC metadata.xml 248 RMD160 3dd3ed866d9de9b9e1e757a75ad74cd04a179a0a SHA1 ee402648473a449107fdc483b2452b655887f15c SHA256 319bbc38f5d834b6230f477c4330ff29d94c9447f563551c977e5c3b038aecaf diff --git a/media-video/smplayer/smplayer-0.6.5.ebuild b/media-video/smplayer/smplayer-0.6.5.ebuild new file mode 100644 index 000000000000..2f815d8515e0 --- /dev/null +++ b/media-video/smplayer/smplayer-0.6.5.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-0.6.5.ebuild,v 1.1 2008/11/13 20:45:54 yngwin Exp $ + +EAPI=2 +inherit eutils qt4 + +DESCRIPTION="Great Qt4 GUI front-end for mplayer" +HOMEPAGE="http://smplayer.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug" +DEPEND="|| ( x11-libs/qt-gui:4 + =x11-libs/qt-4.3* )" +RDEPEND="${DEPEND} + >media-video/mplayer-1.0_rc1[png,srt]" + +LANGS="bg ca cs de en_US es eu fi fr gl hu it ja ka ko ku mk nl pl pt_BR pt_PT sk sr sv tr zh_CN zh_TW" +NOLONGLANGS="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA" +for X in ${LANGS}; do + IUSE="${IUSE} linguas_${X}" +done +for X in ${NOLONGLANGS}; do + IUSE="${IUSE} linguas_${X%_*}" +done + +src_prepare() { + # Fix paths in Makefile and allow parallel building + sed -i -e "/^PREFIX=/s:/usr/local:/usr:" \ + -e "/^CONF_PREFIX=/s:\$(PREFIX)::" \ + -e "/^DOC_PATH=/s:packages/smplayer:${PF}:" \ + -e '/get_svn_revision.sh/,+2c\ + cd src && $(DEFS) $(MAKE)' \ + "${S}"/Makefile || die "sed failed" + + # Turn debug message flooding off + if ! use debug ; then + sed -i "s:#DEFINES += NO_DEBUG_ON_CONSOLE:DEFINES += NO_DEBUG_ON_CONSOLE:" \ + "${S}"/src/smplayer.pro || die "sed failed" + fi +} + +src_configure() { + eqmake4 src/${PN}.pro -o src/Makefile +} + +src_compile() { + emake || die "emake failed" + + # Generate translations + cd "${S}"/src/translations + local LANG= + for LANG in ${LINGUAS}; do + if has ${LANG} ${LANGS}; then + einfo "Generating ${LANG} translation ..." + lrelease ${PN}_${LANG}.ts || die "Failed to generate ${LANG} translation!" + continue + elif [[ " ${NOLONGLANGS} " == *" ${LANG}_"* ]]; then + local X= + for X in ${NOLONGLANGS}; do + if [[ "${LANG}" == "${X%_*}" ]]; then + einfo "Generating ${X} translation ..." + lrelease ${PN}_${X}.ts || die "Failed to generate ${X} translation!" + continue 2 + fi + done + fi + ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA." + done + # install fails when no translation is present (bug 244370) + [[ -f *.qm ]] || lrelease ${PN}_en_US.ts +} + +src_install() { + # remove unneeded copies of GPL + rm Copying.txt docs/en/gpl.html docs/ru/gpl.html + for i in de es ja nl ro ; do + rm -rf docs/$i + done + + # remove windows-only files + rm "${S}"/*.bat + + emake DESTDIR="${D}" install || die "emake install failed" + prepalldocs +} |