blob: 23bac1ed12b525a2e6e52eadc02e498ddde0a5d7 (
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
81
82
83
84
|
# Maintainer: Luke Taylor <luket@pm.me>
pkgname=fooyin-git
pkgver=0.12.4.r2.ga1e7128
pkgrel=1
pkgdesc="A customisable music player"
url="https://github.com/fooyin/fooyin"
arch=(x86_64)
license=(GPL-3.0-or-later)
depends=(
glibc
icu
libstdc++
libgcc
qt6-base
alsa-lib
taglib
ffmpeg
kdsingleapplication
qcoro
hicolor-icon-theme
zlib
)
makedepends=(
git
qt6-svg
qt6-tools
ninja
cmake
sdl2-compat
libpipewire
libopenmpt
libgme
libsndfile
libarchive
libebur128
libprojectm
libsoxr
soundtouch
)
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'
'libsoxr: For the SoX-based DSP plugin'
'libprojectm: For the ProjectM visualisation plugin'
'soundtouch: For the SoundTouch-based DSP plugin'
)
provides=('fooyin')
conflicts=('fooyin')
source=(
"$pkgname"::"git+https://github.com/fooyin/fooyin.git"
)
sha256sums=('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'
}
build() {
local cmake_options=(
-B build
-S "$pkgname"
-W no-author
-G Ninja
-D CMAKE_BUILD_TYPE=None
-D CMAKE_INSTALL_PREFIX=/usr
-D BUILD_PCH=ON
-D INSTALL_HEADERS=ON
)
cmake "${cmake_options[@]}"
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|