blob: a44a5e6c604ff25768162d94bc18b82737507b4e (
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
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: ValHue <vhuelamo at gmail dot com>
# Contributor: satanselbow <igdfpm at gmail dot com>
# Contributor: Artem Sereda <overmind88 at gmail dot com>
pkgname=flacon
pkgver=11.2.0
pkgrel=1
pkgdesc="An Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks."
arch=(x86_64 i686 aarch64)
url="https://flacon.github.io/"
license=(LGPL2.1)
depends=(hicolor-icon-theme qt5-base uchardet taglib)
makedepends=(git cmake icu qt5-tools)
optdepends=(
'alacenc: For ALAC support'
'faac: For AAC support'
'flac: For FLAC support'
'lame: For MP3 support'
'mac: For APE support'
'opus-tools: For OPUS support'
'sox: For SoX support'
'ttaenc: For TrueAudio support'
'vorbis-tools: For OGG support'
'wavpack: For WavPack support'
)
source=("git+https://github.com/flacon/flacon.git#tag=v${pkgver}")
sha256sums=('SKIP')
prepare() {
cd "${srcdir}/flacon"
[[ -d build ]] || mkdir build
}
build() {
cd "${srcdir}/flacon/build" #-Wno-dev
cmake .. \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTS=Yes
make
}
check() {
cd "${srcdir}/flacon/build"
#ctest --output-on-failure
}
package() {
cd "${srcdir}/flacon/build"
make DESTDIR="${pkgdir}" install
}
|