blob: 6776b2049ece33cd183bdfdabafd262d90e4190b (
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
|
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=fooyin
_pkgname=Fooyin
pkgver=0.7.0
pkgrel=1
pkgdesc="A customisable music player"
arch=('x86_64')
url="https://github.com/ludouzi/fooyin"
license=('GPL-3.0-only')
depends=(
'qt6-base'
'qt6-svg'
'qt6-tools'
'alsa-lib'
'taglib'
'ffmpeg'
'kdsingleapplication'
'libgme'
'libarchive'
'libvgm-player-git'
)
makedepends=(
'gcc'
'ninja'
'pkgconf'
'cmake'
'libpipewire'
'icu'
'libopenmpt'
'libsndfile'
'git'
)
optdepends=(
'sdl2: For the SDL2 audio output plugin'
'pipewire: For the PipeWire audio output plugin'
)
source=(
"${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=('d4cf2d3dee717330109313f1ad3d11cc185a3af48310aad50854bdebc5ceba90')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake -S . -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_PCH=ON \
-DBUILD_WERROR=ON \
-DINSTALL_HEADERS=ON \
-DCMAKE_BUILD_TYPE=None
cmake --build build -j$(nproc)
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
DESTDIR="${pkgdir}" cmake --install build
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/fooyin/LICENSE"
}
|