Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/smplayer/
Date: Mon, 28 Oct 2019 10:26:47
Message-Id: 1572258396.573d8a93e91d0f745d72954c8ab2f334aacb6ad3.polynomial-c@gentoo
1 commit: 573d8a93e91d0f745d72954c8ab2f334aacb6ad3
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 28 10:16:51 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 28 10:26:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=573d8a93
7
8 media-video/smplayer: Removed old
9
10 Package-Manager: Portage-2.3.78, Repoman-2.3.17
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 media-video/smplayer/Manifest | 1 -
14 media-video/smplayer/smplayer-19.1.0-r1.ebuild | 134 -------------------------
15 2 files changed, 135 deletions(-)
16
17 diff --git a/media-video/smplayer/Manifest b/media-video/smplayer/Manifest
18 index 7fbe17c6f4b..d2dd594662e 100644
19 --- a/media-video/smplayer/Manifest
20 +++ b/media-video/smplayer/Manifest
21 @@ -1,3 +1,2 @@
22 DIST smplayer-18.6.0.tar.bz2 5111791 BLAKE2B db19932703d93cba7f3f54989988d88af7ed033a61388f89263f613ce743cfd1ff649dad9db2b43193a459110267ee176eae9640f814e77545cfe6b5fb53abe2 SHA512 8383c8c3d4a171adc189d6bc4c11c0b7a8ea78bf8ff8518589647dfd846b314cf3290a1d607c617e7e971ee29c6966666bf9d306d1b1c1bb4824f42efd97c7a8
23 -DIST smplayer-19.1.0.tar.bz2 5169546 BLAKE2B fc15fd33522f137371442696b20ed695dbc4cfeb759ae504cdc688dc30de14fd35da81f6788b3dc2886119012416218f1d39ba64a7d747194dd777544a08d1e0 SHA512 aee009f0ff6dcfe8e5b0b80c99d44c41a02c34d7974c1a15b21235e3daaf3142f5c936adb043327804412309b88e0ff8f0ef440c1835541adb6bf703d486ff79
24 DIST smplayer-19.5.0.tar.bz2 5175017 BLAKE2B e7160ca7d404dd6a8d7c316df3c39b2e238410435960d714aec271d2034030f9e1b59997d11d758188e327117f0eb773cb8baccc1defc20cd071e40c87deb07c SHA512 ee19186b3f4eac94b06a1e389e42edb8c2b22f8182b679bdc40e3ae1569a6c69f168260abfee3b2827b71b10eb353e7a3821805798f37aae2600af3b73d25ca1
25
26 diff --git a/media-video/smplayer/smplayer-19.1.0-r1.ebuild b/media-video/smplayer/smplayer-19.1.0-r1.ebuild
27 deleted file mode 100644
28 index 1863a883169..00000000000
29 --- a/media-video/smplayer/smplayer-19.1.0-r1.ebuild
30 +++ /dev/null
31 @@ -1,134 +0,0 @@
32 -# Copyright 2007-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PLOCALES="am ar_SY ar bg ca cs da de el en_GB en en_US es et eu fa fi fr gl
38 -he_IL hr hu id it ja ka ko ku lt mk ms_MY nl nn_NO pl pt_BR pt ro_RO ru_RU
39 -sk sl_SI sq_AL sr sv th tr uk_UA uz vi_VN zh_CN zh_TW"
40 -PLOCALE_BACKUP="en_US"
41 -
42 -inherit l10n qmake-utils toolchain-funcs xdg
43 -
44 -DESCRIPTION="Great Qt GUI front-end for mplayer/mpv"
45 -HOMEPAGE="https://www.smplayer.eu/"
46 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
47 -
48 -LICENSE="GPL-2+ BSD-2"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
51 -IUSE="autoshutdown bidi debug mpris"
52 -
53 -BDEPEND="dev-qt/linguist-tools:5"
54 -DEPEND="
55 - dev-qt/qtcore:5
56 - dev-qt/qtgui:5=
57 - dev-qt/qtnetwork:5[ssl]
58 - dev-qt/qtscript:5
59 - dev-qt/qtsingleapplication[X,qt5(+)]
60 - dev-qt/qtwidgets:5
61 - dev-qt/qtxml:5
62 - sys-libs/zlib
63 - autoshutdown? ( dev-qt/qtdbus:5 )
64 - mpris? ( dev-qt/qtdbus:5 )
65 -"
66 -RDEPEND="${DEPEND}
67 - || (
68 - media-video/mpv[libass,X]
69 - media-video/mplayer[bidi?,libass,png,X]
70 - )
71 -"
72 -
73 -PATCHES=(
74 - "${FILESDIR}/${PN}-14.9.0.6966-unbundle-qtsingleapplication.patch" # bug 487544
75 - "${FILESDIR}/${PN}-17.1.0-advertisement_crap.patch"
76 - "${FILESDIR}/${PN}-18.2.0-jobserver.patch"
77 - "${FILESDIR}/${PN}-18.3.0-disable-werror.patch"
78 -)
79 -
80 -src_prepare() {
81 - use bidi || PATCHES+=( "${FILESDIR}"/${PN}-16.4.0-zero-bidi.patch )
82 -
83 - default
84 -
85 - # Upstream Makefile sucks
86 - sed -i -e "/^PREFIX=/ s:/usr/local:${EPREFIX}/usr:" \
87 - -e "/^DOC_PATH=/ s:packages/smplayer:${PF}:" \
88 - -e '/\.\/get_svn_revision\.sh/,+2c\
89 - cd src && $(DEFS) $(MAKE)' \
90 - Makefile || die
91 -
92 - # Turn off online update checker, bug #479902
93 - sed -e 's:DEFINES += UPDATE_CHECKER:#&:' \
94 - -e 's:DEFINES += CHECK_UPGRADED:#&:' \
95 - -i src/smplayer.pro || die
96 -
97 - # Turn off intrusive share widget
98 - sed -e 's:DEFINES += SHARE_WIDGET:#&:' \
99 - -i src/smplayer.pro || die
100 -
101 - # Toggle autoshutdown option which pulls in dbus, bug #524392
102 - if ! use autoshutdown ; then
103 - sed -e 's:DEFINES += AUTO_SHUTDOWN_PC:#&:' \
104 - -i src/smplayer.pro || die
105 - fi
106 -
107 - # Turn debug message flooding off
108 - if ! use debug ; then
109 - sed -e 's:#\(DEFINES += NO_DEBUG_ON_CONSOLE\):\1:' \
110 - -i src/smplayer.pro || die
111 - fi
112 -
113 - # MPRIS2 pulls in dbus, bug #553710
114 - if ! use mpris ; then
115 - sed -e 's:DEFINES += MPRIS2:#&:' \
116 - -i src/smplayer.pro || die
117 - fi
118 -
119 - # Commented out because it gives false positives
120 - #l10n_find_plocales_changes "${S}"/src/translations ${PN}_ .ts
121 -}
122 -
123 -src_configure() {
124 - cd src || die
125 - eqmake5
126 -}
127 -
128 -gen_translation() {
129 - local mydir="$(qt5_get_bindir)"
130 -
131 - ebegin "Generating $1 translation"
132 - "${mydir}"/lrelease ${PN}_${1}.ts
133 - eend $? || die "failed to generate $1 translation"
134 -}
135 -
136 -src_compile() {
137 - emake CC="$(tc-getCC)"
138 -
139 - cd src/translations || die
140 - l10n_for_each_locale_do gen_translation
141 -}
142 -
143 -src_install() {
144 - # remove unneeded copies of the GPL
145 - rm -f Copying* docs/*/gpl.html || die
146 - # don't install empty dirs
147 - rmdir --ignore-fail-on-non-empty docs/* || die
148 -
149 - default
150 -}
151 -
152 -pkg_preinst() {
153 - xdg_pkg_preinst
154 -}
155 -
156 -pkg_postinst() {
157 - xdg_pkg_postinst
158 -
159 - elog "If you want URL support with media-video/mpv, please install"
160 - elog "net-misc/youtube-dl."
161 -}
162 -
163 -pkg_postrm() {
164 - xdg_pkg_postrm
165 -}