summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-03-24 09:32:47 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-03-24 09:32:47 +0000
commitd5215e60d0dff239a4c003185f735fb83a980e0c (patch)
treed6b2711e157da95087c5a85714172b60d2c163fb /media-video/smplayer2
parentbump - 409249 (diff)
downloadgentoo-2-d5215e60d0dff239a4c003185f735fb83a980e0c.tar.gz
gentoo-2-d5215e60d0dff239a4c003185f735fb83a980e0c.tar.bz2
gentoo-2-d5215e60d0dff239a4c003185f735fb83a980e0c.zip
New snapshot. Bug #409453. Nikoli <nikoli@lavabit.com>
(Portage version: 2.2.0_alpha94/cvs/Linux x86_64)
Diffstat (limited to 'media-video/smplayer2')
-rw-r--r--media-video/smplayer2/ChangeLog10
-rw-r--r--media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild50
2 files changed, 58 insertions, 2 deletions
diff --git a/media-video/smplayer2/ChangeLog b/media-video/smplayer2/ChangeLog
index 6a90a10f23c1..ee4e5d49f717 100644
--- a/media-video/smplayer2/ChangeLog
+++ b/media-video/smplayer2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/smplayer2
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/ChangeLog,v 1.1 2011/12/01 18:10:28 maksbotan Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/ChangeLog,v 1.2 2012/03/24 09:32:47 hwoarang Exp $
+
+*smplayer2-0.7.1_p20120301 (24 Mar 2012)
+
+ 24 Mar 2012; Markos Chandras <hwoarang@gentoo.org>
+ +smplayer2-0.7.1_p20120301.ebuild:
+ New snapshot. Bug #409453. Nikoli <nikoli@lavabit.com>
*smplayer2-9999 (01 Dec 2011)
*smplayer2-0.7.0_pre20111120 (01 Dec 2011)
diff --git a/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild b/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild
new file mode 100644
index 000000000000..a596c9ff8447
--- /dev/null
+++ b/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer2/smplayer2-0.7.1_p20120301.ebuild,v 1.1 2012/03/24 09:32:47 hwoarang Exp $
+
+EAPI="4"
+LANGS="bg ca cs da de en_US es et eu fi fr gl hu it ja ka ko ku lt mk nl pl pt pt_BR sk sr sv tr zh_CN zh_TW"
+LANGSLONG="ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN"
+
+inherit cmake-utils
+
+DESCRIPTION="Qt4 GUI front-end for mplayer2"
+HOMEPAGE="https://github.com/lachs0r/SMPlayer2"
+SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~x86"
+IUSE="debug +download-subs"
+for x in ${LANGS}; do
+ IUSE="${IUSE} linguas_${x}"
+done
+for x in ${LANGSLONG}; do
+ IUSE="${IUSE} linguas_${x%_*}"
+done
+
+DEPEND="
+ x11-libs/qt-gui:4
+ download-subs? ( dev-libs/quazip )
+"
+RDEPEND="${DEPEND}
+ media-video/mplayer2[ass,png]
+"
+
+src_configure() {
+ # linguas
+ local langs x
+ for x in ${LANGS}; do
+ use linguas_${x} && langs+=" ${x}"
+ done
+ for x in ${LANGSLONG}; do
+ use linguas_${x%_*} && langs+=" ${x}"
+ done
+
+ local mycmakeargs=(
+ -DLINGUAS="${langs}"
+ "$(cmake-utils_use debug DEBUG_OUTPUT)"
+ "$(cmake-utils_use download-subs ENABLE_DOWNLOAD_SUBS)"
+ )
+ cmake-utils_src_configure
+}