Replace scheduled AUR imports with direct upstream watches
This commit is contained in:
1 parent
f26a60aef7
commit
b34de5c29e
115 files changed
+2155
-1242
No files matched your search
@@ -1,4 +1,16 @@
|
||||
{
|
||||
"source": "aur",
|
||||
"upstream_commit": "42bc63ecad9478b35338d34ed923887bdbd81b29"
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"github": "LizardByte/Sunshine",
|
||||
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)",
|
||||
"variables": {
|
||||
"_commit": "{commit}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "sunshine",
|
||||
"commit": "42bc63ecad9478b35338d34ed923887bdbd81b29"
|
||||
}
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
--- a/PKGBUILD
|
||||
+++ b/PKGBUILD
|
||||
@@ -38,7 +38,6 @@
|
||||
'libcap'
|
||||
'libdrm'
|
||||
'libevdev'
|
||||
- 'libmfx'
|
||||
'libpipewire'
|
||||
'libpulse'
|
||||
'libva'
|
||||
@@ -58,6 +57,9 @@
|
||||
'which'
|
||||
)
|
||||
|
||||
+# Intel Media SDK is unavailable on ARM.
|
||||
+depends_x86_64=('libmfx')
|
||||
+
|
||||
makedepends=(
|
||||
'appstream'
|
||||
'appstream-glib'
|
||||
@@ -72,6 +74,9 @@
|
||||
'shaderc'
|
||||
)
|
||||
|
||||
+# Use distro Vulkan headers instead of the bundled SDK's recursive sources.
|
||||
+makedepends_aarch64=('vulkan-headers')
|
||||
+
|
||||
checkdepends=(
|
||||
'gcovr'
|
||||
'imagemagick'
|
||||
@@ -119,7 +124,13 @@
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname"
|
||||
- git submodule update --recursive --init --depth 1
|
||||
+ if [[ $CARCH == aarch64 ]]; then
|
||||
+ git submodule update --init --depth 1
|
||||
+ # Fetch Moonlight's nested sources without pulling in the bundled SDK.
|
||||
+ git -C third-party/moonlight-common-c submodule update --recursive --init --depth 1
|
||||
+ else
|
||||
+ git submodule update --recursive --init --depth 1
|
||||
+ fi
|
||||
}
|
||||
|
||||
build() {
|
||||
@@ -149,6 +160,10 @@
|
||||
-D SUNSHINE_PUBLISHER_ISSUE_URL='https://app.lizardbyte.dev/support'
|
||||
)
|
||||
|
||||
+ if [[ $CARCH == aarch64 ]]; then
|
||||
+ _cmake_options+=(-D SUNSHINE_SYSTEM_VULKAN_HEADERS=ON)
|
||||
+ fi
|
||||
+
|
||||
if [[ "${_use_cuda::1}" != "t" ]]; then
|
||||
_cmake_options+=(-DSUNSHINE_ENABLE_CUDA=OFF -DCUDA_FAIL_ON_MISSING=OFF)
|
||||
else
|
||||
@@ -1,15 +0,0 @@
|
||||
--- a/PKGBUILD
|
||||
+++ b/PKGBUILD
|
||||
@@ -155,9 +155,9 @@ build() {
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D SUNSHINE_EXECUTABLE_PATH=/usr/bin/sunshine
|
||||
-D SUNSHINE_ASSETS_DIR="share/sunshine"
|
||||
- -D SUNSHINE_PUBLISHER_NAME='LizardByte'
|
||||
- -D SUNSHINE_PUBLISHER_WEBSITE='https://app.lizardbyte.dev'
|
||||
- -D SUNSHINE_PUBLISHER_ISSUE_URL='https://app.lizardbyte.dev/support'
|
||||
+ -D SUNSHINE_PUBLISHER_NAME='Omarchy'
|
||||
+ -D SUNSHINE_PUBLISHER_WEBSITE='https://omarchy.org'
|
||||
+ -D SUNSHINE_PUBLISHER_ISSUE_URL='https://github.com/omacom/omarchy-pkgs/issues'
|
||||
)
|
||||
|
||||
if [[ $CARCH == aarch64 ]]; then
|
||||
@@ -6,11 +6,11 @@
|
||||
: "${_support_headless_testing:=false}"
|
||||
: "${_use_cuda:=detect}" # nvenc
|
||||
|
||||
: "${_commit:=cb72dffa3233c5815cd5ba88f09f049dd679ba75}"
|
||||
_commit=cb72dffa3233c5815cd5ba88f09f049dd679ba75
|
||||
|
||||
pkgname='sunshine'
|
||||
pkgver=2026.906.222525
|
||||
pkgrel=1.1
|
||||
pkgrel=1.2
|
||||
pkgdesc="Self-hosted game stream host for Moonlight"
|
||||
arch=('x86_64' 'aarch64')
|
||||
url=https://app.lizardbyte.dev/Sunshine
|
||||
@@ -135,7 +135,7 @@ prepare() {
|
||||
|
||||
build() {
|
||||
export BRANCH="master"
|
||||
export BUILD_VERSION="2026.906.222525"
|
||||
export BUILD_VERSION="${pkgver}"
|
||||
export COMMIT="${_commit}"
|
||||
|
||||
export CC="gcc${_gcc_env_suffix}"
|
||||
|
||||
Reference in new issue
Block a user