[arch-commits] Commit in libretro-dolphin/repos (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Dec 28 11:25:52 UTC 2021
Date: Tuesday, December 28, 2021 @ 11:25:52
Author: arojas
Revision: 1085546
archrelease: copy trunk to community-staging-x86_64
Added:
libretro-dolphin/repos/community-staging-x86_64/
libretro-dolphin/repos/community-staging-x86_64/PKGBUILD
(from rev 1085545, libretro-dolphin/trunk/PKGBUILD)
libretro-dolphin/repos/community-staging-x86_64/libretro-dolphin-missing-headers.patch
(from rev 1085545, libretro-dolphin/trunk/libretro-dolphin-missing-headers.patch)
----------------------------------------+
PKGBUILD | 85 +++++++++++++++++++++++++++++++
libretro-dolphin-missing-headers.patch | 22 ++++++++
2 files changed, 107 insertions(+)
Copied: libretro-dolphin/repos/community-staging-x86_64/PKGBUILD (from rev 1085545, libretro-dolphin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-12-28 11:25:52 UTC (rev 1085546)
@@ -0,0 +1,85 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=libretro-dolphin
+pkgver=33004
+pkgrel=2
+pkgdesc='Nintendo GC/Wii core'
+arch=(x86_64)
+url=https://github.com/libretro/dolphin
+license=(GPL2)
+groups=(libretro)
+depends=(
+ bluez-libs
+ bzip2
+ enet
+ gcc-libs
+ glibc
+ libevdev
+ libfmt.so
+ libgl
+ libglvnd
+ libhidapi-hidraw.so
+ libmbedcrypto.so
+ libmbedtls.so
+ libmbedx509.so
+ libpng
+ libretro-core-info
+ libudev.so
+ libusb-1.0.so
+ libx11
+ libxi
+ libxrandr
+ lzo
+ sfml
+ xz
+ zlib
+ zstd
+)
+makedepends=(
+ clang
+ cmake
+ git
+ mesa
+ ninja
+ python
+)
+_commit=48066c84560322219be4080bca125cc03d48f411
+source=(
+ libretro-dolphin::git+https://github.com/libretro/dolphin.git#commit=${_commit}
+ libretro-dolphin-missing-headers.patch
+)
+b2sums=('SKIP'
+ '5b4ca6d1dc6af7a3afd014700305616d9e3e0f139f128cfa2af6cff3194a36ef9a591faaefbb8491d71f646187ee79e6fb5f29e9f57eeaf4e82768e814516f1a')
+
+prepare() {
+ cd libretro-dolphin
+ patch -Np1 -i ../libretro-dolphin-missing-headers.patch
+}
+
+pkgver() {
+ cd libretro-dolphin
+
+ git rev-list --count HEAD
+}
+
+build() {
+ export CC=clang
+ export CXX=clang++
+ cmake -S libretro-dolphin -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_LTO=ON \
+ -DENABLE_NOGUI=OFF \
+ -DENABLE_QT=OFF \
+ -DENABLE_TESTS=OFF \
+ -DLIBRETRO=ON \
+ -DUSE_SHARED_ENET=ON \
+ -Wno-dev
+ cmake --build build
+}
+
+package() {
+ install -Dm 644 build/dolphin_libretro.so -t "${pkgdir}"/usr/lib/libretro/
+}
+
+# vim: ts=2 sw=2 et:
Copied: libretro-dolphin/repos/community-staging-x86_64/libretro-dolphin-missing-headers.patch (from rev 1085545, libretro-dolphin/trunk/libretro-dolphin-missing-headers.patch)
===================================================================
--- community-staging-x86_64/libretro-dolphin-missing-headers.patch (rev 0)
+++ community-staging-x86_64/libretro-dolphin-missing-headers.patch 2021-12-28 11:25:52 UTC (rev 1085546)
@@ -0,0 +1,22 @@
+diff '--color=auto' -rupN libretro-dolphin.orig/Source/Core/Common/Config/Config.h libretro-dolphin/Source/Core/Common/Config/Config.h
+--- libretro-dolphin.orig/Source/Core/Common/Config/Config.h 2021-06-25 09:05:07.385701274 +0200
++++ libretro-dolphin/Source/Core/Common/Config/Config.h 2021-06-25 09:05:38.975393901 +0200
+@@ -7,6 +7,7 @@
+ #include <functional>
+ #include <map>
+ #include <memory>
++#include <mutex>
+ #include <optional>
+ #include <string>
+
+diff '--color=auto' -rupN libretro-dolphin.orig/Source/Core/DiscIO/WIACompression.h libretro-dolphin/Source/Core/DiscIO/WIACompression.h
+--- libretro-dolphin.orig/Source/Core/DiscIO/WIACompression.h 2021-06-25 09:05:07.432372415 +0200
++++ libretro-dolphin/Source/Core/DiscIO/WIACompression.h 2021-06-25 09:06:17.509080013 +0200
+@@ -5,6 +5,7 @@
+ #pragma once
+
+ #include <cstddef>
++#include <limits>
+ #include <memory>
+ #include <optional>
+ #include <vector>
More information about the arch-commits
mailing list