blob: ca49e16c8feaffba4162881aaa883d47ef0a2039 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# Maintainer: Luke Taylor <luket1@proton.me>
pkgname=fooyin-git
pkgver=0.7.3.r137.g7284fc1
pkgrel=1
pkgdesc="A customisable music player"
url="https://github.com/fooyin/fooyin"
arch=('x86_64')
license=('GPL-3.0-only')
depends=(
'qt6-base'
'qt6-svg'
'alsa-lib'
'taglib'
'ffmpeg'
'icu'
'kdsingleapplication'
'hicolor-icon-theme'
'glibc'
'gcc-libs'
)
makedepends=(
'cmake'
'git'
'libpipewire'
'ninja'
'pkgconf'
'qt6-tools'
'libopenmpt'
'libgme'
'libsndfile'
'libarchive'
'libebur128'
)
optdepends=(
'sdl2: For the SDL2 audio output plugin'
'libpipewire: For the PipeWire audio output plugin'
'libopenmpt: For the OpenMPT audio input plugin'
'libgme: For the GME audio input plugin'
'libsndfile: For the GME audio input plugin'
'libarchive: For the libarchive archive plugin'
'libebur128: For the ReplayGain scanner plugin'
)
provides=('fooyin')
conflicts=('fooyin')
source=(
"$pkgname"::"git+https://github.com/fooyin/fooyin.git"
"libvgm"::"git+https://github.com/ValleyBell/libvgm.git"
)
sha256sums=(
'SKIP'
'SKIP'
)
pkgver() {
cd "$pkgname"
git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \
| sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {
cd "$pkgname"
git submodule init
git config submodule.3rdparty/libvgm.url "${srcdir}/libvgm"
git -c protocol.file.allow=always submodule update
}
build() {
cmake -B build -S "$pkgname" -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_PCH=ON \
-DINSTALL_HEADERS=ON \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|