1 |
commit: 60c80e4147c2ef2eab1d872de022103ba4a0304e |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 13 15:12:06 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 13 15:32:52 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60c80e41 |
7 |
|
8 |
media-sound/mumble: Bumped live ebuild to EAPI-7 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
media-sound/mumble/mumble-9999.ebuild | 32 ++++++++++++++++++++------------ |
14 |
1 file changed, 20 insertions(+), 12 deletions(-) |
15 |
|
16 |
diff --git a/media-sound/mumble/mumble-9999.ebuild b/media-sound/mumble/mumble-9999.ebuild |
17 |
index e75beaeaaec..1b3d0c7ac3a 100644 |
18 |
--- a/media-sound/mumble/mumble-9999.ebuild |
19 |
+++ b/media-sound/mumble/mumble-9999.ebuild |
20 |
@@ -1,21 +1,25 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
+EAPI=7 |
27 |
|
28 |
-inherit desktop gnome2-utils qmake-utils xdg-utils |
29 |
+inherit desktop qmake-utils xdg |
30 |
|
31 |
DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software" |
32 |
HOMEPAGE="https://wiki.mumble.info" |
33 |
-if [[ "${PV}" = 9999 ]] ; then |
34 |
+if [[ "${PV}" == 9999 ]] ; then |
35 |
inherit git-r3 |
36 |
EGIT_REPO_URI="https://github.com/mumble-voip/mumble.git" |
37 |
EGIT_SUBMODULES=( '-*' celt-0.7.0-src celt-0.11.0-src themes/Mumble 3rdparty/rnnoise-src ) |
38 |
else |
39 |
- MY_P="${PN}-${PV/_/~}" |
40 |
- SRC_URI="https://mumble.info/snapshot/${MY_P}.tar.gz" |
41 |
+ if [[ "${PV}" == *_pre* ]] ; then |
42 |
+ SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.xz" |
43 |
+ else |
44 |
+ MY_P="${PN}-${PV/_/~}" |
45 |
+ SRC_URI="https://mumble.info/snapshot/${MY_P}.tar.gz" |
46 |
+ S="${WORKDIR}/${MY_P}" |
47 |
+ fi |
48 |
KEYWORDS="~amd64 ~arm64 ~x86" |
49 |
- S="${WORKDIR}/${MY_P}" |
50 |
fi |
51 |
|
52 |
LICENSE="BSD MIT" |
53 |
@@ -51,9 +55,11 @@ RDEPEND=" |
54 |
" |
55 |
DEPEND="${RDEPEND} |
56 |
>=dev-libs/boost-1.41.0 |
57 |
+ x11-base/xorg-proto |
58 |
+" |
59 |
+BDEPEND=" |
60 |
dev-qt/linguist-tools:5 |
61 |
virtual/pkgconfig |
62 |
- x11-base/xorg-proto |
63 |
" |
64 |
|
65 |
src_configure() { |
66 |
@@ -115,9 +121,12 @@ src_install() { |
67 |
dolib.so "${dir}"/libmumble.so* "${dir}"/libcelt0.so* "${dir}"/plugins/lib*.so* |
68 |
} |
69 |
|
70 |
+pkg_preinst() { |
71 |
+ xdg_pkg_preinst |
72 |
+} |
73 |
+ |
74 |
pkg_postinst() { |
75 |
- gnome2_icon_cache_update |
76 |
- xdg_desktop_database_update |
77 |
+ xdg_pkg_postinst |
78 |
echo |
79 |
elog "Visit http://mumble.sourceforge.net/ for futher configuration instructions." |
80 |
elog "Run mumble-overlay to start the OpenGL overlay (after starting mumble)." |
81 |
@@ -125,6 +134,5 @@ pkg_postinst() { |
82 |
} |
83 |
|
84 |
pkg_postrm() { |
85 |
- gnome2_icon_cache_update |
86 |
- xdg_desktop_database_update |
87 |
+ xdg_pkg_postrm |
88 |
} |