mirror of
https://github.com/Rosalie241/RMG.git
synced 2025-06-25 14:07:02 -04:00
36 lines
942 B
Bash
36 lines
942 B
Bash
# Maintainer: Rosalie Wanders <rosalie@mailbox.org>
|
|
pkgname=rmg
|
|
pkgver=0.7.9
|
|
pkgrel=2
|
|
pkgdesc="Rosalie's Mupen GUI"
|
|
arch=('x86_64' 'aarch64')
|
|
url="https://github.com/Rosalie241/$pkgname"
|
|
license=('GPL3')
|
|
|
|
depends=("hidapi" "libsamplerate" "speexdsp" "minizip" "sdl2" "sdl2_net" "zlib" "freetype2" "qt6-base" "qt6-svg" "qt6-websockets")
|
|
makedepends=("git" "nasm" "cmake" "vulkan-headers")
|
|
|
|
source=("git+https://github.com/Rosalie241/$pkgname.git#tag=v$pkgver")
|
|
sha256sums=('SKIP')
|
|
|
|
prepare()
|
|
{
|
|
mkdir -p "$srcdir/$pkgname/build"
|
|
}
|
|
|
|
build()
|
|
{
|
|
cmake -S "$srcdir/$pkgname" -B "$srcdir/$pkgname/build" \
|
|
-DCMAKE_BUILD_TYPE="Release" \
|
|
-DPORTABLE_INSTALL="OFF" \
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
|
-DNO_RUST="ON" \
|
|
-G "Unix Makefiles"
|
|
|
|
cmake --build "$srcdir/$pkgname/build"
|
|
}
|
|
|
|
package()
|
|
{
|
|
cmake --install "$srcdir/$pkgname/build" --prefix="$pkgdir/usr"
|
|
}
|