summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlphaJack2022-08-30 15:26:15 +0200
committerAlphaJack2022-08-30 15:28:33 +0200
commitda24de732bdcb7d165db770a0406a8a8f251c421 (patch)
tree987e118a2ef9696f6abda5d7e9d9e15a6c3c656d
parent02e88b843da4c141c3cd548a3e275463152cf6a7 (diff)
downloadaur-da24de732bdcb7d165db770a0406a8a8f251c421.tar.gz
Adopted package and rewritten PKGBUILD: removed unused dependencies, simplified structure
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD80
2 files changed, 62 insertions, 49 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3ce889c5135..eb5fb00e0c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,41 +1,46 @@
pkgbase = citra-bin
pkgdesc = An experimental open-source Nintendo 3DS emulator/debugger
- pkgver = 1746_20220111_45a4a56
+ pkgver = 1781
pkgrel = 1
url = https://citra-emu.org
arch = x86_64
license = GPL2
+ depends = ffmpeg
+ depends = sdl2
+ provides = citra
conflicts = citra-git
- conflicts = citra-qt-git
conflicts = citra-canary-bin
+ conflicts = citra-canary-git
+ conflicts = citra-qt-git
conflicts = citra-qt-canary-bin
- source = https://github.com/citra-emu/citra-nightly/releases/download/nightly-1746/citra-linux-20220111-45a4a56.tar.xz
+ source = https://github.com/citra-emu/citra-nightly/releases/download/nightly-1781/citra-linux-20220823-141471e.tar.xz
source = https://raw.githubusercontent.com/citra-emu/citra/master/dist/citra.desktop
- sha256sums = 90adcd591bfd6c327cfbea2e9fa660656a0fbb538063bd540d3d3b91517804f7
+ sha256sums = 016bbfd743262110d45cfe6a3eb17fa5fb6d2a30f22984ad3bea0acab9c4fc2b
sha256sums = b4c9433fbcbb1b9ddf19f009252e89d8d653ebac7f67d5d0beb49259f583ab69
pkgname = citra-bin
- depends = ffmpeg-compat-57
- depends = libsndio-61-compat
+ depends = ffmpeg
depends = sdl2
+ depends = sndio
conflicts = citra-git
- conflicts = citra-qt-git
conflicts = citra-canary-bin
+ conflicts = citra-canary-git
+ conflicts = citra-qt-git
conflicts = citra-qt-canary-bin
conflicts = citra-qt-bin
replaces = citra-nightly-bin
pkgname = citra-qt-bin
- depends = ffmpeg-compat-57
- depends = qt5-multimedia
- depends = libsndio-61-compat
+ depends = ffmpeg
depends = sdl2
depends = desktop-file-utils
- optdepends = libxkbcommon-x11: for X11 support
- optdepends = qt5-wayland: for Wayland support
+ depends = qt5-multimedia
+ optdepends = libxkbcommon-x11: x11 support
+ optdepends = qt5-wayland: wayland support
conflicts = citra-git
- conflicts = citra-qt-git
conflicts = citra-canary-bin
+ conflicts = citra-canary-git
+ conflicts = citra-qt-git
conflicts = citra-qt-canary-bin
conflicts = citra-bin
replaces = citra-qt
diff --git a/PKGBUILD b/PKGBUILD
index 16af0f723d4..7b2fc41b943 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,46 +1,54 @@
-# Maintainer: Mendel Greenberg <mendel at chabad 360 dot me>
-
-pkgbase='citra-bin'
-pkgname=('citra-bin' 'citra-qt-bin')
+# Maintainer: AlphaJack <alphajack at tuta dot io>
+# Contributor: Sebastian-byte <sebastianmontoya209 at gmail dot com>
+# Contributor: Mendel Greenberg <mendel at chabad 360 dot me>
+# Contributor: Tom Bebbington <tophattedcoder at gmail dot com>
+
+pkgbase="citra-bin"
+pkgname=("citra-bin" "citra-qt-bin")
+#_pkgver="1781"
+#_date="20220823"
+#_commit="141471e"
+#pkgver=${_pkgver}_${_date}_${_commit}
+_ref=20220823-141471e
+pkgver=1781
pkgrel=1
-pkgver=1746_20220111_45a4a56
pkgdesc="An experimental open-source Nintendo 3DS emulator/debugger"
-conflicts=('citra-git' 'citra-qt-git' 'citra-canary-bin' 'citra-qt-canary-bin')
-license=('GPL2')
-arch=('x86_64')
url="https://citra-emu.org"
-
-_nightly_id=$(echo $pkgver | cut -d'_' -f1)
-_ref="$(echo $pkgver | cut -d'_' -f2)-$(echo $pkgver | cut -d'_' -f3)"
-
-source=("https://github.com/citra-emu/citra-nightly/releases/download/nightly-$_nightly_id/citra-linux-$_ref.tar.xz"
+license=("GPL2")
+arch=("x86_64")
+provides=("citra")
+conflicts=("citra-git"
+ "citra-canary-bin"
+ "citra-canary-git"
+ "citra-qt-git"
+ "citra-qt-canary-bin")
+depends=("ffmpeg"
+ "sdl2")
+source=("https://github.com/citra-emu/citra-nightly/releases/download/nightly-$pkgver/citra-linux-$_ref.tar.xz"
"https://raw.githubusercontent.com/citra-emu/citra/master/dist/citra.desktop")
-
-sha256sums=('90adcd591bfd6c327cfbea2e9fa660656a0fbb538063bd540d3d3b91517804f7'
+sha256sums=('016bbfd743262110d45cfe6a3eb17fa5fb6d2a30f22984ad3bea0acab9c4fc2b'
'b4c9433fbcbb1b9ddf19f009252e89d8d653ebac7f67d5d0beb49259f583ab69')
package_citra-bin() {
- depends=('ffmpeg-compat-57' 'libsndio-61-compat' 'sdl2')
- replaces=('citra-nightly-bin')
- conflicts+=( 'citra-qt-bin' )
-
- cd "${srcdir}/citra-linux-${_ref}"
- install -Dm755 -t "${pkgdir}/usr/bin" citra
- install -Dm755 -t "${pkgdir}/usr/bin" citra-room
-
+ depends+=("sndio")
+ replaces=("citra-nightly-bin")
+ conflicts+=("citra-qt-bin")
+ cd "$srcdir/citra-linux-$_ref"
+ install -D -m 755 "citra" "$pkgdir/usr/bin/citra"
+ install -D -m 755 "citra-room" "$pkgdir/usr/bin/citra-room"
}
-package_citra-qt-bin() {
- depends=('ffmpeg-compat-57' 'qt5-multimedia' 'libsndio-61-compat' 'sdl2' 'desktop-file-utils')
- optdepends=('libxkbcommon-x11: for X11 support'
- 'qt5-wayland: for Wayland support')
- replaces=('citra-qt' 'citra-qt-nightly-bin')
- conflicts+=( 'citra-bin' )
- cd "${srcdir}/citra-linux-${_ref}"
- install -Dm755 -t "${pkgdir}/usr/bin" citra-qt
- install -Dm755 -t "${pkgdir}/usr/bin" citra-room
- install -Dm644 -t "${pkgdir}/usr/share/pixmaps" "dist/citra.png"
-
- cd "${srcdir}"
- install -Dm644 -t "${pkgdir}/usr/share/applications" "citra.desktop"
+package_citra-qt-bin() {
+ depends+=("desktop-file-utils"
+ "qt5-multimedia")
+ optdepends=("libxkbcommon-x11: x11 support"
+ "qt5-wayland: wayland support")
+ replaces=("citra-qt"
+ "citra-qt-nightly-bin")
+ conflicts+=("citra-bin")
+ cd "$srcdir/citra-linux-$_ref"
+ install -D -m 755 "citra-qt" "$pkgdir/usr/bin/citra-qt"
+ install -D -m 755 "citra-room" "$pkgdir/usr/bin/citra-room"
+ install -D -m 644 "dist/citra.png" "$pkgdir/usr/share/pixmaps/citra.png"
+ install -D -m 644 "$srcdir/citra.desktop" "$pkgdir/usr/share/applications/citra.desktop"
}