diff options
author | Ben de Groot <yngwin@gentoo.org> | 2008-12-30 01:53:34 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2008-12-30 01:53:34 +0000 |
commit | 5cf2b13737ff4b7479047efdf8e3fe1af85aebb3 (patch) | |
tree | 38d0c92db3abd8842eb154e32a543535c7172eee /media-video | |
parent | Version bumped, bug #252771. (diff) | |
download | historical-5cf2b13737ff4b7479047efdf8e3fe1af85aebb3.tar.gz historical-5cf2b13737ff4b7479047efdf8e3fe1af85aebb3.tar.bz2 historical-5cf2b13737ff4b7479047efdf8e3fe1af85aebb3.zip |
Version bump, bug 253033
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.27-hh7 i686
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.1.ebuild | 89 |
3 files changed, 98 insertions, 2 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog index d6839340a2cd..6c1f4fbcbbd0 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.50 2008/12/18 07:44:50 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.51 2008/12/30 01:53:34 yngwin Exp $ + +*smplayer-0.6.5.1 (30 Dec 2008) + + 30 Dec 2008; Ben de Groot <yngwin@gentoo.org> +smplayer-0.6.5.1.ebuild: + Version bump 18 Dec 2008; Ben de Groot <yngwin@gentoo.org> smplayer-0.6.1-r1.ebuild, smplayer-0.6.2-r1.ebuild, -smplayer-0.6.5.ebuild: diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest index 654044c4bc49..0151dcf2e9ef 100644 --- a/media-video/smplayer/Manifest +++ b/media-video/smplayer/Manifest @@ -1,8 +1,10 @@ DIST smplayer-0.6.1.tar.bz2 1029890 RMD160 2859050073d9535d03a16e2dfbb94ad03fbb22f3 SHA1 b9dd657b3fd24bda951ed942d5698ae85a24b52b SHA256 02386148c798bdb60ac412423bab5a8e2d93c15fd84963cf18d2cdb6c1800242 DIST smplayer-0.6.2.tar.bz2 1132234 RMD160 6b229eb19173c298a331f675eb34bb6a5261b80b SHA1 902b86242ff483f603dbb52d39f342093a50e5d8 SHA256 0b75ef8bb2c8ac6374ca05cdcffc4634d772b858356caeca9effad0c1775dbb3 +DIST smplayer-0.6.5.1.tar.bz2 1290836 RMD160 500427b56ea886a561bc24f8b87e90d7f12587ee SHA1 803d679ff60b50c18101678d7ac04de4af581ee0 SHA256 26c3237d4de81c712c1d80f038b68b0f1b1927d60e2825c90c502afd153597e4 DIST smplayer-0.6.5.tar.bz2 1300271 RMD160 e7dfbdda2c8e03ad65643ba12334f92d985dc7dd SHA1 58c61d5bade169287f837e5d263910e4f4e041f0 SHA256 b2af673a5a26d2699240fe03e3e649ef736a979cb57afd6d9ef48da6744644ce EBUILD smplayer-0.6.1-r1.ebuild 3260 RMD160 d36f49a53ca965c14d659fd6a5d64e926fbeed8f SHA1 e0b486c0a6d8d868504d9781fbc5a193f1ded3d0 SHA256 6974e51dde6df072896807ee310c083442dd4a0a1cd6b6de38d23bc4ee07a242 EBUILD smplayer-0.6.2-r1.ebuild 3037 RMD160 4edd22ca03553ef86d3a6204ee60567920733daa SHA1 88334c987774e8c732ec1851f2f6afb64ddbf351 SHA256 e11283338e0b395a289af2955176ff3d85de3141d46023864162a53945720557 EBUILD smplayer-0.6.5-r1.ebuild 2741 RMD160 d9bab08be34b86aa1d6621083fd8d17684c6496d SHA1 0555c7974c010a1234db2bd84014a96ec1c6214e SHA256 f73d00c23a5f2086f293ecafd819d7176cebd36b2fea207bb280a2fd397c104c -MISC ChangeLog 7371 RMD160 85e81374edd5e4641839eb66ab6df8ca032559d9 SHA1 f57ec51a4ae420e7ca7a3e4254cc50b867cf5b51 SHA256 95bb3b9f11923e9e36a70f0e2078d73a4e8de359b0dda075443e716899abb82b +EBUILD smplayer-0.6.5.1.ebuild 2552 RMD160 3d1cbf1c148457184f394206e79b3f3bcb199aaa SHA1 6647da1d16cdb45eeac6bb8cf86ef0b06a94b460 SHA256 ed561a41b3bbdcc83b75504e1d010b999ca60e32857fafe946d2961ef353df1c +MISC ChangeLog 7494 RMD160 5e0b199b34c5aa05999c24e8ac50fa8b65e948ad SHA1 09fcd1d8b6e4b627d5147a61018fabaa91d8fe1e SHA256 1c8b7212a9065ae6c3855290b0c56bf7a42e6d498efbf703f40cfe0de02e6ae9 MISC metadata.xml 248 RMD160 3dd3ed866d9de9b9e1e757a75ad74cd04a179a0a SHA1 ee402648473a449107fdc483b2452b655887f15c SHA256 319bbc38f5d834b6230f477c4330ff29d94c9447f563551c977e5c3b038aecaf diff --git a/media-video/smplayer/smplayer-0.6.5.1.ebuild b/media-video/smplayer/smplayer-0.6.5.1.ebuild new file mode 100644 index 000000000000..dcd1ce8c3f3c --- /dev/null +++ b/media-video/smplayer/smplayer-0.6.5.1.ebuild @@ -0,0 +1,89 @@ +# 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.1.ebuild,v 1.1 2008/12/30 01:53:34 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] + >=media-video/mplayer-1.0_rc2_p28058[ass,png] )" + +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 +} |