[arch-commits] Commit in dolphin-emu/repos/community-x86_64 (4 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Wed Nov 24 12:10:53 UTC 2021
Date: Wednesday, November 24, 2021 @ 12:10:53
Author: alucryd
Revision: 1054647
archrelease: copy trunk to community-x86_64
Added:
dolphin-emu/repos/community-x86_64/PKGBUILD
(from rev 1054646, dolphin-emu/trunk/PKGBUILD)
dolphin-emu/repos/community-x86_64/dolphin-emu-system-libmgba.patch
(from rev 1054646, dolphin-emu/trunk/dolphin-emu-system-libmgba.patch)
Deleted:
dolphin-emu/repos/community-x86_64/PKGBUILD
dolphin-emu/repos/community-x86_64/dolphin-emu-system-libmgba.patch
----------------------------------+
PKGBUILD | 170 ++++++++++++++++++-------------------
dolphin-emu-system-libmgba.patch | 48 +++++-----
2 files changed, 109 insertions(+), 109 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-24 12:10:45 UTC (rev 1054646)
+++ PKGBUILD 2021-11-24 12:10:53 UTC (rev 1054647)
@@ -1,85 +0,0 @@
-# Maintainer: schuay <jakob.gruber at gmail.com>
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Jeremy Newton (Mystro256) <alexjnewt at gmail.com>
-
-pkgname=dolphin-emu
-pkgver=5.0.r15260.207c931a04
-pkgrel=1
-epoch=1
-pkgdesc='A Gamecube / Wii / Triforce emulator'
-arch=(x86_64)
-url=https://dolphin-emu.org
-license=(GPL2)
-depends=(
- alsa-lib
- bluez-libs
- enet
- gcc-libs
- glibc
- hidapi
- libavcodec.so
- libavformat.so
- libavutil.so
- libcurl.so
- libevdev
- libgl
- #libmgba
- libminiupnpc.so
- libpng
- libpulse
- libswscale.so
- libudev.so
- libusb-1.0.so
- libx11
- libxi
- libxrandr
- lzo
- mbedtls
- pugixml
- qt5-base
- sfml
- zlib
-)
-makedepends=(
- cmake
- git
- ninja
- python
-)
-optdepends=('pulseaudio: PulseAudio backend')
-options=(!emptydirs)
-_commit=207c931a04c8e2629a735bc2b3f36b5c89365ca7
-source=(
- dolphin-emu::git+https://github.com/dolphin-emu/dolphin.git#commit=${_commit}
- dolphin-emu-system-libmgba.patch
-)
-b2sums=('SKIP'
- '004692abcfa3a0a10996afba3a8fe71627300224a6f96cc5b6c6183c32d5f7bd1ece36775cd2642a0c4d7fc9225f72da39063cc68ff089e8d01685a2fbbd6957')
-
-prepare() {
- cd dolphin-emu
- #patch -Np1 -i ../dolphin-emu-system-libmgba.patch
-}
-
-pkgver() {
- cd dolphin-emu
- git describe | sed 's/-/.r/; s/-g/./'
-}
-
-build() {
- cmake -S dolphin-emu -B build -G Ninja \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DDISTRIBUTOR=archlinux.org \
- -DUSE_MGBA=OFF \
- -DUSE_SHARED_ENET=ON
- cmake --build build
-}
-
-package() {
- DESTDIR="${pkgdir}" cmake --install build
- install -Dm 644 dolphin-emu/Data/51-usb-device.rules -t "${pkgdir}"/usr/lib/udev/rules.d/
- rm -rf "${pkgdir}"/usr/{include,lib/libdiscord-rpc.a}
-}
-
-# vim: ts=2 sw=2 et:
Copied: dolphin-emu/repos/community-x86_64/PKGBUILD (from rev 1054646, dolphin-emu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-24 12:10:53 UTC (rev 1054647)
@@ -0,0 +1,85 @@
+# Maintainer: schuay <jakob.gruber at gmail.com>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jeremy Newton (Mystro256) <alexjnewt at gmail.com>
+
+pkgname=dolphin-emu
+pkgver=5.0.r15445.db02b50d2e
+pkgrel=1
+epoch=1
+pkgdesc='A Gamecube / Wii / Triforce emulator'
+arch=(x86_64)
+url=https://dolphin-emu.org
+license=(GPL2)
+depends=(
+ alsa-lib
+ bluez-libs
+ enet
+ gcc-libs
+ glibc
+ hidapi
+ libavcodec.so
+ libavformat.so
+ libavutil.so
+ libcurl.so
+ libevdev
+ libgl
+ #libmgba
+ libminiupnpc.so
+ libpng
+ libpulse
+ libswscale.so
+ libudev.so
+ libusb-1.0.so
+ libx11
+ libxi
+ libxrandr
+ lzo
+ mbedtls
+ pugixml
+ qt5-base
+ sfml
+ zlib
+)
+makedepends=(
+ cmake
+ git
+ ninja
+ python
+)
+optdepends=('pulseaudio: PulseAudio backend')
+options=(!emptydirs)
+_commit=db02b50d2ecdfbbc21e19aadc57253c353069f77
+source=(
+ dolphin-emu::git+https://github.com/dolphin-emu/dolphin.git#commit=${_commit}
+ dolphin-emu-system-libmgba.patch
+)
+b2sums=('SKIP'
+ '004692abcfa3a0a10996afba3a8fe71627300224a6f96cc5b6c6183c32d5f7bd1ece36775cd2642a0c4d7fc9225f72da39063cc68ff089e8d01685a2fbbd6957')
+
+prepare() {
+ cd dolphin-emu
+ #patch -Np1 -i ../dolphin-emu-system-libmgba.patch
+}
+
+pkgver() {
+ cd dolphin-emu
+ git describe | sed 's/-/.r/; s/-g/./'
+}
+
+build() {
+ cmake -S dolphin-emu -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DDISTRIBUTOR=archlinux.org \
+ -DUSE_MGBA=OFF \
+ -DUSE_SHARED_ENET=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="${pkgdir}" cmake --install build
+ install -Dm 644 dolphin-emu/Data/51-usb-device.rules -t "${pkgdir}"/usr/lib/udev/rules.d/
+ rm -rf "${pkgdir}"/usr/{include,lib/libdiscord-rpc.a}
+}
+
+# vim: ts=2 sw=2 et:
Deleted: dolphin-emu-system-libmgba.patch
===================================================================
--- dolphin-emu-system-libmgba.patch 2021-11-24 12:10:45 UTC (rev 1054646)
+++ dolphin-emu-system-libmgba.patch 2021-11-24 12:10:53 UTC (rev 1054647)
@@ -1,24 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d446e0b465..07fd13db85 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -831,8 +831,17 @@ if(NOT ENABLE_QT)
- set(USE_MGBA 0)
- endif()
- if(USE_MGBA)
-- message(STATUS "Using static libmgba from Externals")
-- add_subdirectory(Externals/mGBA)
-+ if (SYSTEM_LIBMGBA)
-+ find_library(MGBA_LIBRARY mgba)
-+ add_library(mgba ${MGBA_LIBRARY})
-+ add_library(mGBA::mgba ALIAS mgba)
-+ set_target_properties(mgba PROPERTIES LINKER_LANGUAGE C)
-+ message(STATUS "Found libmgba: ${MGBA_LIBRARY}")
-+ message(STATUS "Using shared libmgba")
-+ else()
-+ message(STATUS "Using static libmgba from Externals")
-+ add_subdirectory(Externals/mGBA)
-+ endif()
- endif()
-
- find_package(SYSTEMD)
Copied: dolphin-emu/repos/community-x86_64/dolphin-emu-system-libmgba.patch (from rev 1054646, dolphin-emu/trunk/dolphin-emu-system-libmgba.patch)
===================================================================
--- dolphin-emu-system-libmgba.patch (rev 0)
+++ dolphin-emu-system-libmgba.patch 2021-11-24 12:10:53 UTC (rev 1054647)
@@ -0,0 +1,24 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d446e0b465..07fd13db85 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -831,8 +831,17 @@ if(NOT ENABLE_QT)
+ set(USE_MGBA 0)
+ endif()
+ if(USE_MGBA)
+- message(STATUS "Using static libmgba from Externals")
+- add_subdirectory(Externals/mGBA)
++ if (SYSTEM_LIBMGBA)
++ find_library(MGBA_LIBRARY mgba)
++ add_library(mgba ${MGBA_LIBRARY})
++ add_library(mGBA::mgba ALIAS mgba)
++ set_target_properties(mgba PROPERTIES LINKER_LANGUAGE C)
++ message(STATUS "Found libmgba: ${MGBA_LIBRARY}")
++ message(STATUS "Using shared libmgba")
++ else()
++ message(STATUS "Using static libmgba from Externals")
++ add_subdirectory(Externals/mGBA)
++ endif()
+ endif()
+
+ find_package(SYSTEMD)
More information about the arch-commits
mailing list