1 |
yngwin 15/01/31 13:07:57 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: smplayer-14.9.0.6690.ebuild |
5 |
Log: |
6 |
Version bump adding mpv support (bug #538002). Implement Qt5 support (bug #523114). Remove mplayer2 option (dead project). Update bidi patch. |
7 |
|
8 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x4FDF9CFD2FAC514E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 media-video/smplayer/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/smplayer/metadata.xml?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/smplayer/metadata.xml?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/smplayer/metadata.xml?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/smplayer/metadata.xml,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- metadata.xml 4 Oct 2014 04:50:06 -0000 1.5 |
24 |
+++ metadata.xml 31 Jan 2015 13:07:57 -0000 1.6 |
25 |
@@ -8,5 +8,8 @@ |
26 |
Enable the option to shutdown your computer after finishing the playlist. |
27 |
This requires <pkg>dev-qt/qtdbus</pkg> as dependency. |
28 |
</flag> |
29 |
+ <flag name='streaming'>Support for streaming video sites through |
30 |
+ <pkg>net-misc/youtube-dl</pkg> (MPV only). |
31 |
+ </flag> |
32 |
</use> |
33 |
</pkgmetadata> |
34 |
|
35 |
|
36 |
|
37 |
1.153 media-video/smplayer/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/smplayer/ChangeLog?rev=1.153&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/smplayer/ChangeLog?rev=1.153&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/smplayer/ChangeLog?r1=1.152&r2=1.153 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v |
46 |
retrieving revision 1.152 |
47 |
retrieving revision 1.153 |
48 |
diff -u -r1.152 -r1.153 |
49 |
--- ChangeLog 7 Oct 2014 19:51:37 -0000 1.152 |
50 |
+++ ChangeLog 31 Jan 2015 13:07:57 -0000 1.153 |
51 |
@@ -1,6 +1,14 @@ |
52 |
# ChangeLog for media-video/smplayer |
53 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.152 2014/10/07 19:51:37 sping Exp $ |
55 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
56 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.153 2015/01/31 13:07:57 yngwin Exp $ |
57 |
+ |
58 |
+*smplayer-14.9.0.6690 (31 Jan 2015) |
59 |
+ |
60 |
+ 31 Jan 2015; Ben de Groot <yngwin@g.o> |
61 |
+ +files/smplayer-14.9.0.6690-zero-bidi.patch, +smplayer-14.9.0.6690.ebuild, |
62 |
+ metadata.xml: |
63 |
+ Version bump adding mpv support (bug #538002). Implement Qt5 support (bug |
64 |
+ #523114). Remove mplayer2 option (dead project). Update bidi patch. |
65 |
|
66 |
*smplayer-14.9.0-r1 (07 Oct 2014) |
67 |
|
68 |
|
69 |
|
70 |
|
71 |
1.1 media-video/smplayer/smplayer-14.9.0.6690.ebuild |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/smplayer/smplayer-14.9.0.6690.ebuild?rev=1.1&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/smplayer/smplayer-14.9.0.6690.ebuild?rev=1.1&content-type=text/plain |
75 |
|
76 |
Index: smplayer-14.9.0.6690.ebuild |
77 |
=================================================================== |
78 |
# Copyright 1999-2015 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-14.9.0.6690.ebuild,v 1.1 2015/01/31 13:07:57 yngwin Exp $ |
81 |
|
82 |
EAPI=5 |
83 |
PLOCALES="ar ar_SY bg ca cs da de el_GR en_GB en_US es et eu fi fr gl he_IL hr hu it ja |
84 |
ka ko ku lt mk ms_MY nl pl pt pt_BR ro_RO ru_RU sk sl_SI sq_AL sr sv th tr uk_UA vi_VN |
85 |
zh_CN zh_TW" |
86 |
PLOCALE_BACKUP="en_US" |
87 |
|
88 |
inherit eutils l10n qmake-utils |
89 |
|
90 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
91 |
|
92 |
DESCRIPTION="Great Qt GUI front-end for mplayer/mpv" |
93 |
HOMEPAGE="http://smplayer.sourceforge.net/" |
94 |
LICENSE="GPL-2 BSD" |
95 |
SLOT="0" |
96 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux" |
97 |
IUSE="autoshutdown bidi debug qt4 qt5 streaming" |
98 |
REQUIRED_USE="^^ ( qt4 qt5 )" |
99 |
|
100 |
DEPEND="qt4? ( dev-qt/qtcore:4 |
101 |
dev-qt/qtgui:4 |
102 |
autoshutdown? ( dev-qt/qtdbus:4 ) ) |
103 |
qt5? ( dev-qt/qtcore:5 |
104 |
dev-qt/qtgui:5 |
105 |
dev-qt/qtnetwork:5 |
106 |
dev-qt/qtscript:5 |
107 |
dev-qt/qtwidgets:5 |
108 |
dev-qt/qtxml:5 |
109 |
autoshutdown? ( dev-qt/qtdbus:5 ) )" |
110 |
RDEPEND="${DEPEND} |
111 |
|| ( >=media-video/mpv-0.6.2[libass,X] |
112 |
media-video/mplayer[bidi?,libass,png,X] ) |
113 |
streaming? ( >=media-video/mpv-0.6.2[libass,X] |
114 |
>=net-misc/youtube-dl-2014.11.26 )" |
115 |
|
116 |
src_prepare() { |
117 |
use bidi || epatch "${FILESDIR}"/${P}-zero-bidi.patch |
118 |
|
119 |
# Upstream Makefile sucks |
120 |
sed -i -e "/^PREFIX=/s:${EPREFIX}/usr/local:${EPREFIX}/usr:" \ |
121 |
-e "/^DOC_PATH=/s:packages/smplayer:${PF}:" \ |
122 |
-e '/\.\/get_svn_revision\.sh/,+2c\ |
123 |
cd src && $(DEFS) $(MAKE)' \ |
124 |
"${S}"/Makefile || die "sed failed" |
125 |
|
126 |
# Toggle autoshutdown option which pulls in dbus, bug #524392 |
127 |
if ! use autoshutdown ; then |
128 |
sed -e 's:DEFINES += AUTO_SHUTDOWN_PC:#DEFINES += AUTO_SHUTDOWN_PC:' \ |
129 |
-i "${S}"/src/smplayer.pro || die "sed failed" |
130 |
fi |
131 |
|
132 |
# Turn debug message flooding off |
133 |
if ! use debug ; then |
134 |
sed -i 's:#\(DEFINES += NO_DEBUG_ON_CONSOLE\):\1:' \ |
135 |
"${S}"/src/smplayer.pro || die "sed failed" |
136 |
fi |
137 |
|
138 |
# Turn off online update checker, bug #479902 |
139 |
sed -e 's:DEFINES += UPDATE_CHECKER:#DEFINES += UPDATE_CHECKER:' \ |
140 |
-e 's:DEFINES += CHECK_UPGRADED:#DEFINES += CHECK_UPGRADED:' \ |
141 |
-i "${S}"/src/smplayer.pro || die "sed failed" |
142 |
|
143 |
# l10n_find_plocales_changes "${S}/src/translations" "${PN}_" '.ts' |
144 |
} |
145 |
|
146 |
src_configure() { |
147 |
cd "${S}"/src |
148 |
echo "#define SVN_REVISION \"${PV} (Gentoo)\"" > svn_revision.h |
149 |
use qt4 && eqmake4 |
150 |
use qt5 && eqmake5 |
151 |
} |
152 |
|
153 |
gen_translation() { |
154 |
ebegin "Generating $1 translation" |
155 |
lrelease ${PN}_${1}.ts |
156 |
eend $? || die "failed to generate $1 translation" |
157 |
} |
158 |
|
159 |
src_compile() { |
160 |
emake |
161 |
|
162 |
cd "${S}"/src/translations |
163 |
l10n_for_each_locale_do gen_translation |
164 |
} |
165 |
|
166 |
src_install() { |
167 |
# remove unneeded copies of licenses |
168 |
rm Copying* docs/{cs,en,hu,it,ja,pt,ru,zh_CN}/gpl.html || die |
169 |
rm -r docs/{de,es,fr,nl,ro} || die |
170 |
|
171 |
emake DESTDIR="${D}" install |
172 |
} |