blob: cdb5711745fa59ffdb059e667c22bc34140404cf (
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
|
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=fooyin
_pkgname=Fooyin
pkgver=0.10.7
pkgrel=1
pkgdesc="A customisable music player."
arch=('x86_64')
url="https://www.fooyin.org/"
_ghurl="https://github.com/ludouzi/fooyin"
license=('GPL-3.0-only')
depends=(
'icu'
'glibc'
'libstdc++'
'libgcc'
'qt6-base'
'alsa-lib'
'taglib'
'ffmpeg'
'kdsingleapplication'
'qcoro'
)
makedepends=(
'qt6-svg'
'qt6-tools'
'ninja'
'cmake'
'sdl2'
'libpipewire'
'libopenmpt'
'libgme'
'libsndfile'
'libarchive'
'libebur128'
'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'
'soundtouch: For the SoundTouch-based DSP plugin'
)
source=(
"${pkgname}-${pkgver}.tar.gz::${_ghurl}/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=('7830c129e3bff940b12e2325da3580a54ac45d8653d3a2d43548d46b5d315467')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake -S . -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_PCH=ON \
-DBUILD_WERROR=OFF \
-DINSTALL_HEADERS=ON \
-DCMAKE_BUILD_TYPE=None
cmake --build build
}
package() {
depends+=('hicolor-icon-theme')
cd "${srcdir}/${pkgname}-${pkgver}"
DESTDIR="${pkgdir}" cmake --install build
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/fooyin/LICENSE"
}
|