[arch-commits] Commit in mumble/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Apr 28 08:39:48 UTC 2019


    Date: Sunday, April 28, 2019 @ 08:39:47
  Author: svenstaro
Revision: 454938

upgpkg: mumble 1.3.0rc1-1

Modified:
  mumble/trunk/PKGBUILD

----------+
 PKGBUILD |   54 ++++++++++++++++++++++--------------------------------
 1 file changed, 22 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-28 08:08:18 UTC (rev 454937)
+++ PKGBUILD	2019-04-28 08:39:47 UTC (rev 454938)
@@ -1,4 +1,4 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
 # Contributor: Lauri Niskanen <ape at ape3000.com>
 # Contributor: Sebastian.Salich at gmx.de
 # Contributor: Doc Angelo
@@ -7,39 +7,30 @@
 # to the depends and delete "no-g15" in the configure line below
 
 pkgname=mumble
-pkgver=1.2.19
-pkgrel=13
+pkgver=1.3.0rc1
+_pkgver=1.3.0-rc1
+__pkgver=1.3.0
+pkgrel=1
 arch=('x86_64')
 pkgdesc="A voice chat application similar to TeamSpeak"
 license=('BSD')
-depends=('qt4' 'speex' 'lsb-release' 'libxi' 'avahi' 'libsndfile' 'protobuf' 'libpulse' 'opus'
-         'xdg-utils' 'libspeechd' 'libpng' 'freetype2' 'fontconfig' 'libxrender')
-makedepends=('boost' 'mesa')
-optdepends=('speech-dispatcher')
+depends=(qt5-base qt5-svg speex lsb-release libxi avahi libsndfile protobuf libpulse opus
+         xdg-utils libspeechd libpng freetype2 fontconfig libxrender)
+makedepends=(boost mesa jack python qt5-tools)
+optdepends=('jack: JACK audio output'
+            'speech-dispatcher')
 url="https://www.mumble.info/"
-source=(https://github.com/mumble-voip/mumble/releases/download/${pkgver}/mumble-${pkgver}.tar.gz{,.sig}
-        https://github.com/mumble-voip/mumble/commit/ea861fe86743c8402bbad77d8d1dd9de8dce447e.patch
-        mumble-protobuf-3.7.patch)
-sha512sums=('f91111194a899149b500a94afcf7cc5b9691c7ce8669f07fca2c66adbb3916ddb863bf703d04fb8387133fb75f3c8edb52974d1acf3febfafa1f73da19946de4'
-            'SKIP'
-            'fcdaf2a3575e3871fe4003b93364a70a7c7029beb64ba5e24931abbe3898b72791848b5cf78ccf48eee5942a37f696a5134d061c2b8d60b66913abd701758330'
-            'f83759c8e9dec47015c9c5c9023cb7c0501fd291309ee0dfc714f4fc9fdfa5c8728c9faaf129132f45d10577d6c843d544a71fe21f11ad3e9d31a61a58d68e95')
-validpgpkeys=('C4666C6767A26017CE68406988048D0D625297A0') # Mumble Automatic Build Infrastructure 2017 <mumble-auto-build-2017 at mumble.info>
+source=(https://github.com/mumble-voip/mumble/releases/download/${_pkgver}/mumble-${_pkgver}.tar.gz{,.sig})
+sha512sums=('e993b18b0ecf620d3a9a89f145c18b9ecde3aaf9b7217e235b7472908c81a365323c8683dd6fc9ed14b108160f8bf5244369c2a9ee57c22595550220d158516c'
+            'SKIP')
+validpgpkeys=('56D0B23AE00B1EE9A8BAAC0F5B8CF87BB893449B') # Mumble Automatic Build Infrastructure 2019 <mumble-auto-build-2019 at mumble.info>
 
-prepare() {
-  cd "$srcdir"/$pkgname-$pkgver
-
-  # https://github.com/mumble-voip/mumble/pull/3287
-  patch -p1 < ../ea861fe86743c8402bbad77d8d1dd9de8dce447e.patch
-  patch -p1 -i ../mumble-protobuf-3.7.patch # Fix build with protobuf 3.7
-}
-
 build() {
-  cd "$srcdir"/$pkgname-$pkgver
+  cd "$srcdir"/$pkgname-$__pkgver
 
   # Building mumble
-  qmake-qt4 main.pro \
-    CONFIG+="c++11 bundled-celt no-bundled-opus no-bundled-speex no-g15 no-xevie no-server \
+  qmake-qt5 main.pro \
+    CONFIG+="bundled-celt no-bundled-opus no-bundled-speex no-g15 no-xevie no-server \
     no-embed-qt-translations no-update packaged" \
     DEFINES+="PLUGIN_PATH=/usr/lib/mumble" \
     INCLUDEPATH+="/usr/include/speech-dispatcher" \
@@ -48,7 +39,7 @@
 }
 
 package() {
-  cd "$srcdir"/$pkgname-$pkgver
+  cd "$srcdir"/$pkgname-$__pkgver
 
   # bin stuff
   install -m755 -D ./release/mumble "$pkgdir"/usr/bin/mumble
@@ -55,12 +46,11 @@
   install -m755 -D ./scripts/mumble-overlay "$pkgdir"/usr/bin/mumble-overlay
 
   # lib stuff
-  install -m755 -D ./release/libmumble.so.$pkgver "$pkgdir"/usr/lib/mumble/libmumble.so.$pkgver
-  ln -s libmumble.so.$pkgver "$pkgdir"/usr/lib/mumble/libmumble.so
-  ln -s libmumble.so.$pkgver "$pkgdir"/usr/lib/mumble/libmumble.so.1
-  ln -s libmumble.so.$pkgver "$pkgdir"/usr/lib/mumble/libmumble.so.1.2
+  install -m755 -D ./release/libmumble.so.$__pkgver "$pkgdir"/usr/lib/mumble/libmumble.so.$__pkgver
+  ln -s libmumble.so.$__pkgver "$pkgdir"/usr/lib/mumble/libmumble.so
+  ln -s libmumble.so.$__pkgver "$pkgdir"/usr/lib/mumble/libmumble.so.1
+  ln -s libmumble.so.$__pkgver "$pkgdir"/usr/lib/mumble/libmumble.so.1.3
   install -m755 -D ./release/plugins/liblink.so "$pkgdir"/usr/lib/mumble/liblink.so
-  install -m755 -D ./release/plugins/libmanual.so "$pkgdir"/usr/lib/mumble/libmanual.so
   install -m755 -D ./release/libcelt* "$pkgdir"/usr/lib/mumble/
 
   # other stuff



More information about the arch-commits mailing list