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

Maxime Gauduin alucryd at archlinux.org
Tue Feb 16 19:05:38 UTC 2016


    Date: Tuesday, February 16, 2016 @ 20:05:37
  Author: alucryd
Revision: 161867

ffmpeg 3.0 rebuild: dolphin-emu 1:5.0rc-1

Modified:
  dolphin-emu/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++----------------------
 1 file changed, 17 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-16 18:51:31 UTC (rev 161866)
+++ PKGBUILD	2016-02-16 19:05:37 UTC (rev 161867)
@@ -4,52 +4,47 @@
 # Contributor: Jeremy Newton (Mystro256) <alexjnewt at gmail.com>
 
 pkgname=dolphin-emu
-pkgver=4.0.2
-pkgrel=13
+pkgver=5.0rc
+pkgrel=1
 epoch=1
 pkgdesc='A Gamecube / Wii / Triforce emulator'
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url='http://dolphin-emu.org'
 license=('GPL2')
 
-makedepends=('cmake' 'opencl-headers')
-depends=('bluez-libs' 'ffmpeg' 'glew' 'libao' 'miniupnpc' 'openal' 'portaudio'
-         'sdl2' 'soundtouch' 'wxgtk')
+makedepends=('cmake')
+depends=('bluez-libs' 'enet' 'ffmpeg' 'libao' 'libevdev' 'miniupnpc'
+         'portaudio' 'sfml' 'soundtouch' 'xdg-utils' 'wxgtk')
 optdepends=('pulseaudio: PulseAudio backend')
 
 options=('!emptydirs')
 
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dolphin-emu/dolphin/archive/${pkgver}.tar.gz"
-        'dolphin-emu-findx11.patch'
-        'dolphin-emu-gcc49.patch')
-md5sums=('95436ade64fc8ed2fe4b2ed5306dc879'
-         'f9a692b76263f3efae9793c4879bc2c5'
-         '5fead49fc3a0ff9a9d1435368b5df1f9')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dolphin-emu/dolphin/archive/5.0-rc.tar.gz")
+md5sums=('4b1fa4bbf917bdebf39e710ca214b873')
 
 prepare() {
-  cd dolphin-${pkgver}
+  cd dolphin-5.0-rc
 
-  patch -Np1 -i ../dolphin-emu-findx11.patch
-  patch -Np1 -i ../dolphin-emu-gcc49.patch
+  # 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
 
-  # Compatibility with miniupnpc 1.9.20150730, which requires a new ttl argument.
-  sed -i 's:upnpDiscover(2000, NULL, NULL, 0, 0, &upnperror);:upnpDiscover(2000, NULL, NULL, 0, 0, 2, \&upnperror);:' \
-      Source/Core/Core/Src/NetPlayServer.cpp
 }
 
 build() {
-  cd dolphin-${pkgver}
+  cd dolphin-5.0-rc
 
   mkdir build && cd build
   cmake .. \
     -DCMAKE_INSTALL_PREFIX='/usr' \
-    -DCMAKE_CXX_FLAGS='-fno-inline-functions -fpermissive'
+    -DCMAKE_CXX_FLAGS='-fno-pie' \
+    -DENABLE_LTO='TRUE' \
+    -DENABLE_SDL='TRUE' \
+    -DUSE_SHARED_ENET='TRUE'
   make
 }
 
 package() {
-  cd dolphin-${pkgver}/build
+  cd dolphin-5.0-rc/build
 
   make DESTDIR="${pkgdir}" install
-  rm -rf "${pkgdir}/usr/lib/libpolarssl.a"
 }



More information about the arch-commits mailing list