Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: rpcs3-0.0.11
@ 2020-07-12 15:26 Johnnynator
  2020-10-18 14:48 ` [PR PATCH] [Updated] " Johnnynator
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Johnnynator @ 2020-07-12 15:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

There is a new pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages rpcs3
https://github.com/void-linux/void-packages/pull/23537

New package: rpcs3-0.0.11
[ci skip]

A patch file from https://github.com/void-linux/void-packages/pull/23537.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rpcs3-23537.patch --]
[-- Type: text/x-diff, Size: 8217 bytes --]

From 6ff34e28341ee147de1c79d718c1013509ed07a4 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Sun, 12 Jul 2020 17:21:26 +0200
Subject: [PATCH] New package: rpcs3-0.0.11

[ci skip]
---
 srcpkgs/rpcs3/patches/systemlibusb.patch |  32 +++++++
 srcpkgs/rpcs3/template                   | 110 +++++++++++++++++++++++
 2 files changed, 142 insertions(+)
 create mode 100644 srcpkgs/rpcs3/patches/systemlibusb.patch
 create mode 100644 srcpkgs/rpcs3/template

diff --git a/srcpkgs/rpcs3/patches/systemlibusb.patch b/srcpkgs/rpcs3/patches/systemlibusb.patch
new file mode 100644
index 00000000000..a021a72f09f
--- /dev/null
+++ b/srcpkgs/rpcs3/patches/systemlibusb.patch
@@ -0,0 +1,32 @@
+--- CMakeLists.txt	2020-06-30 23:35:17.000000000 +0200
++++ -	2020-07-12 16:49:06.919595891 +0200
+@@ -21,6 +21,7 @@
+ option(USE_LIBEVDEV "libevdev-based joystick support" ON)
+ option(USE_DISCORD_RPC "Discord rich presence integration" ON)
+ option(USE_SYSTEM_ZLIB "Prefer system ZLIB instead of the builtin one" ON)
++option(USE_SYSTEM_LIBUSB "Prefer system libusb instead of the builtin one" OFF)
+ option(USE_VULKAN "Vulkan render backend" ON)
+ option(USE_PRECOMPILED_HEADERS "Use precompiled headers" ON)
+ 
+--- 3rdparty/CMakeLists.txt    2020-07-12 16:51:20.296291886 +0200
++++ -  2020-07-12 17:02:50.406991733 +0200
+@@ -129,9 +129,16 @@
+ 	target_link_libraries(3rdparty_hidapi INTERFACE hidapi-libusb usb)
+ endif()
+ 
+-
+-# libusb
+-if(CMAKE_SYSTEM MATCHES "DragonFly|FreeBSD")
++# libusb
++if(USE_SYSTEM_LIBUSB)
++	pkg_check_modules(LIBUSB REQUIRED libusb-1.0)
++	if(LIBUSB_FOUND)
++		add_library(usb-1.0-static INTERFACE)
++		target_include_directories(usb-1.0-static SYSTEM
++			INTERFACE ${LIBUSB_INCLUDE_DIRS})
++		target_link_libraries(usb-1.0-static INTERFACE ${LIBUSB_LDFLAGS})
++	endif()
++elseif(CMAKE_SYSTEM MATCHES "DragonFly|FreeBSD")
+ 	# Always use system libusb as reference implementation isn't supported
+ 	add_library(usb-1.0-static INTERFACE)
+ 	target_link_libraries(usb-1.0-static INTERFACE usb)
diff --git a/srcpkgs/rpcs3/template b/srcpkgs/rpcs3/template
new file mode 100644
index 00000000000..3c2c20ddbc1
--- /dev/null
+++ b/srcpkgs/rpcs3/template
@@ -0,0 +1,110 @@
+# Template file for 'rpcs3'
+pkgname=rpcs3
+version=0.0.11
+revision=1
+ffmpeg_commit=e5fb13bbb07ac3ba2e1998e2f5688f3714870d93
+asmjit_commit=fc251c914e77cd079e58982cdab00a47539d7fc5
+llvm_commit=f5679565d34863e2f5917f6bb6d3867760862a1e
+glslang_commit=bcf6a2430e99e8fc24f9f266e99316905e6d5134
+spirv_tools_commit=49ca250b44c633ba7cb8897002e62781a451421c
+spirv_headers_commit=c0df742ec0b8178ad58c68cff3437ad4b6a06e26
+cereal_commit=60c69df968d1c72c998cd5f23ba34e2e3718a84b
+zlib_commit=cacf7f1d4e3d44d871b605da3b647f07d718623f
+hidapi_commit=9220f5e77c27b8b3717b277ec8d3121deeb50242
+pugixml_commit=8bf806c035373bd0723a85c0820cfd5c804bf6cd
+xxHash_commit=7cc9639699f64b750c0b82333dced9ea77e8436e
+yaml_cpp_commit=6a211f0bc71920beef749e6c35d7d1bcc2447715
+libpng_commit=eddf9023206dc40974c26f589ee2ad63a4227a1e
+libusb_commit=e782eeb2514266f6738e242cdcb18e3ae1ed06fa
+FAudio_commit=9c7d2d1430c9dbe4e67c871dfe003b331f165412
+span_commit=9d7559aabdebf569cab3480a7ea2a87948c0ae47
+curl_commit=aa1a12cb234bd31c6058d04c398a159d06b85889
+wolfssl_commit=f7130a4e43170ac2bb1046a65d10c01e6ec1d698
+archs="x86_64*"
+build_style=cmake
+configure_args="-DUSE_SYSTEM_FFMPEG=ON -DUSE_SYSTEM_LIBUSB=ON"
+hostmakedepends="python3 pkg-config"
+makedepends="zlib-devel qt5-devel Vulkan-Headers SDL2-devel libopenal-devel
+ glew-devel libatomic-devel ffmpeg-devel"
+short_desc="PS3 emulator"
+maintainer="John <me@johnnynator.dev>"
+license="GPL-3.0-or-later"
+homepage="https://rpcs3.net/"
+distfiles="https://github.com/RPCS3/rpcs3/archive/v${version}.tar.gz
+ https://github.com/RPCS3/ffmpeg-core/archive/${ffmpeg_commit}.tar.gz
+ https://github.com/kobalicek/asmjit/archive/${asmjit_commit}.tar.gz
+ https://github.com/RPCS3/llvm-mirror/archive/${llvm_commit}.tar.gz
+ https://github.com/KhronosGroup/glslang/archive/${glslang_commit}.tar.gz
+ https://github.com/KhronosGroup/SPIRV-Tools/archive/${spirv_tools_commit}.tar.gz
+ https://github.com/KhronosGroup/SPIRV-Headers/archive/${spirv_headers_commit}.tar.gz
+ https://github.com/RPCS3/cereal/archive/${cereal_commit}.tar.gz
+ https://github.com/madler/zlib/archive/${zlib_commit}.tar.gz
+ https://github.com/RPCS3/hidapi/archive/${hidapi_commit}.tar.gz
+ https://github.com/zeux/pugixml/archive/${pugixml_commit}.tar.gz
+ https://github.com/Cyan4973/xxHash/archive/${xxHash_commit}.tar.gz
+ https://github.com/RPCS3/yaml-cpp/archive/${yaml_cpp_commit}.tar.gz
+ https://github.com/glennrp/libpng/archive/${libpng_commit}.tar.gz
+ https://github.com/libusb/libusb/archive/${libusb_commit}.tar.gz
+ https://github.com/FNA-XNA/FAudio/archive/${FAudio_commit}.tar.gz
+ https://github.com/tcbrindle/span/archive/${span_commit}.tar.gz
+ https://github.com/RipleyTom/curl/archive/${curl_commit}.tar.gz
+ https://github.com/RipleyTom/wolfssl/archive/${wolfssl_commit}.tar.gz"
+checksum="627f04b31af06091f9daa90be8722f85d95c63083e93a13e29a7d0e9c53e9cda
+ 08e05c58cf2b85ef6b7077ed4f6b9bf34101f9839ee6f0c57c3bd633df2a5d70
+ fc804065cedaa0c6432df62c6effbf1c387907faf089e82794dd6d5429d6c51f
+ bc05babfb7f27fbe2e69fc1bcae70a4679a413dafafeb04621a61e76ba0a0fe1
+ a3e604397adb2224178d3eb409eab8b8c13a96a42432483d498105c90828c380
+ bec8c9ce4a23954ebe6ed3bf68ffb0505afecd18b42969ba21aab6fafd65e1f9
+ 2e940613536451a4e98bdedf074b648b0182c391ee9144a758798eb3a543a2c4
+ aa4da10c5d292de73275e1f8b9390ecc519aaccd4debcd642de79689c246b326
+ 6d4d6640ca3121620995ee255945161821218752b551a1a180f4215f7d124d45
+ fffe45442204328bb496cf746be8586b1ac120d3f4e18531b2af04df99b603a0
+ c2a717088b6377fff8c28b31f25fdf30dee78ea4b5c5261c884416fac63536b9
+ 0d1e2b4ae15f98acc49084e23ba94853dba2b0f654865ecedb1072b3959421bf
+ fe37ffdc4c91e943976c9abae9c0f9153911de68173dc8b9fd36447cf52e3fbb
+ b1484ff1ae3711084b6dd8a880d0e560fa1c5f6d1c5a87a04a207c4bc3d315af
+ 018378aa4af4772265bb10e01f415a4c242de9fd4abfc31b0cc198eebdf83e57
+ 02b1e07e85f578cb145a8a3dd14ce53ee0816744d71183f4b8a6090a5b194ed3
+ 86abe8635bdf555b948d318544b0595ef0c2e710e85f885b581f3ae08fb7e38c
+ f307bbf2660f5ab2785a651c4726f542a5f04fa44264d769c8960e9538c46b49
+ efaf5ebe2f428b10c2d2159736bb92f0fa0eb7d16ee65aba9fc03a28d2d225a7"
+nopie=yes
+
+post_extract() {
+	rmdir -v ${wrksrc}/3rdparty/ffmpeg
+	mv ${wrksrc}/../ffmpeg-core-${ffmpeg_commit} ${wrksrc}/3rdparty/ffmpeg
+	rmdir -v ${wrksrc}/asmjit
+	mv ${wrksrc}/../asmjit-${asmjit_commit} ${wrksrc}/asmjit
+	rmdir -v ${wrksrc}/llvm
+	mv ${wrksrc}/../llvm-mirror-${llvm_commit} ${wrksrc}/llvm
+	rmdir -v ${wrksrc}/Vulkan/glslang
+	mv ${wrksrc}/../glslang-${glslang_commit} ${wrksrc}/Vulkan/glslang
+	rmdir -v ${wrksrc}/Vulkan/spirv-tools
+	mv ${wrksrc}/../SPIRV-Tools-${spirv_tools_commit} ${wrksrc}/Vulkan/spirv-tools
+	rmdir -v ${wrksrc}/Vulkan/spirv-headers
+	mv ${wrksrc}/../SPIRV-Headers-${spirv_headers_commit} ${wrksrc}/Vulkan/spirv-headers
+	rmdir -v ${wrksrc}/3rdparty/cereal
+	mv ${wrksrc}/../cereal-${cereal_commit} ${wrksrc}/3rdparty/cereal
+	rmdir -v ${wrksrc}/3rdparty/zlib
+	mv ${wrksrc}/../zlib-${zlib_commit} ${wrksrc}/3rdparty/zlib
+	rmdir -v ${wrksrc}/3rdparty/hidapi
+	mv ${wrksrc}/../hidapi-${hidapi_commit} ${wrksrc}/3rdparty/hidapi
+	rmdir -v ${wrksrc}/3rdparty/pugixml
+	mv ${wrksrc}/../pugixml-${pugixml_commit} ${wrksrc}/3rdparty/pugixml
+	rmdir -v ${wrksrc}/3rdparty/xxHash
+	mv ${wrksrc}/../xxHash-${xxHash_commit} ${wrksrc}/3rdparty/xxHash
+	rmdir -v ${wrksrc}/3rdparty/yaml-cpp
+	mv ${wrksrc}/../yaml-cpp-${yaml_cpp_commit} ${wrksrc}/3rdparty/yaml-cpp
+	rmdir -v ${wrksrc}/3rdparty/libpng
+	mv ${wrksrc}/../libpng-${libpng_commit} ${wrksrc}/3rdparty/libpng
+	rmdir -v ${wrksrc}/3rdparty/libusb
+	mv ${wrksrc}/../libusb-${libusb_commit} ${wrksrc}/3rdparty/libusb
+	rmdir -v ${wrksrc}/3rdparty/FAudio
+	mv ${wrksrc}/../FAudio-${FAudio_commit} ${wrksrc}/3rdparty/FAudio
+	rmdir -v ${wrksrc}/3rdparty/span
+	mv ${wrksrc}/../span-${span_commit} ${wrksrc}/3rdparty/span
+	rmdir -v ${wrksrc}/3rdparty/curl
+	mv ${wrksrc}/../curl-${curl_commit} ${wrksrc}/3rdparty/curl
+	rmdir -v ${wrksrc}/3rdparty/wolfssl
+	mv ${wrksrc}/../wolfssl-${wolfssl_commit} ${wrksrc}/3rdparty/wolfssl
+}

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-01 13:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12 15:26 [PR PATCH] New package: rpcs3-0.0.11 Johnnynator
2020-10-18 14:48 ` [PR PATCH] [Updated] " Johnnynator
2021-01-10 23:07 ` Johnnynator
2021-10-21 22:33 ` Johnnynator
2021-11-01 13:06 ` Johnnynator
2021-11-01 13:06 ` [PR PATCH] [Closed]: " Johnnynator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).