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

Maxime Gauduin alucryd at archlinux.org
Sat Jun 25 15:00:04 UTC 2016


    Date: Saturday, June 25, 2016 @ 15:00:03
  Author: alucryd
Revision: 181179

upgpkg: dolphin-emu 1:5.0-1

Modified:
  dolphin-emu/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++-----------------
 1 file changed, 12 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-25 14:46:18 UTC (rev 181178)
+++ PKGBUILD	2016-06-25 15:00:03 UTC (rev 181179)
@@ -4,8 +4,8 @@
 # Contributor: Jeremy Newton (Mystro256) <alexjnewt at gmail.com>
 
 pkgname=dolphin-emu
-pkgver=5.0rc
-pkgrel=2
+pkgver=5.0
+pkgrel=1
 epoch=1
 pkgdesc='A Gamecube / Wii / Triforce emulator'
 arch=('x86_64')
@@ -13,25 +13,17 @@
 license=('GPL2')
 
 makedepends=('cmake')
-depends=('bluez-libs' 'enet' 'ffmpeg' 'libao' 'libevdev' 'miniupnpc'
-         'portaudio' 'sfml' 'soundtouch' 'xdg-utils' 'wxgtk')
+depends=('bluez-libs' 'enet' 'ffmpeg' 'libao' 'libevdev' 'mbedtls' 'miniupnpc'
+         'portaudio' 'sdl2' 'sfml' 'soundtouch' 'xdg-utils' 'wxgtk')
 optdepends=('pulseaudio: PulseAudio backend')
 
 options=('!emptydirs')
 
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dolphin-emu/dolphin/archive/5.0-rc.tar.gz")
-md5sums=('4b1fa4bbf917bdebf39e710ca214b873')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dolphin-emu/dolphin/archive/${pkgver}.tar.gz")
+md5sums=('ed94272956adbec690808f6e4d8ff065')
 
-prepare() {
-  cd dolphin-5.0-rc
-
-  # Compatibility with miniupnpc 1.9.20150730, which requires a new ttl argument.
-  sed 's/upnpDiscover(2000, nullptr, nullptr, 0, 0, \&upnperror)/upnpDiscover(2000, nullptr, nullptr, 0, 0, 2, \&upnperror)/' -i Source/Core/Core/NetPlayServer.cpp
-
-}
-
 build() {
-  cd dolphin-5.0-rc
+  cd dolphin-${pkgver}
 
   mkdir build && cd build
   cmake .. \
@@ -39,12 +31,15 @@
     -DCMAKE_CXX_FLAGS='-fno-pie' \
     -DENABLE_LTO='TRUE' \
     -DENABLE_SDL='TRUE' \
-    -DUSE_SHARED_ENET='TRUE'
+    -DUSE_SHARED_ENET='TRUE' \
+    -DDISTRIBUTOR='archlinux.org'
   make
 }
 
 package() {
-  cd dolphin-5.0-rc/build
+  cd dolphin-${pkgver}/build
 
   make DESTDIR="${pkgdir}" install
+
+  install -Dm 644 ../Data/51-usb-device.rules -t "${pkgdir}"/usr/lib/udev/rules.d/
 }



More information about the arch-commits mailing list