blob: 75d46c876b5a7c8809b6984c4638498b1f67fe94 (
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
|
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=flacon-git
pkgver=v4.0.0.25.gcb31da3
pkgrel=1
pkgdesc="Extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files. (Git Version)"
arch=('x86_64')
url='http://flacon.github.io'
license=('LGPL2.1')
depends=('qt5-base'
'uchardet'
'hicolor-icon-theme'
)
makedepends=('git'
'cmake'
'qt5-tools'
)
optdepends=('faac: For AAC support'
'flac: For FLAC support'
'lame: For MP3 support'
'mac: For APE support'
'mp3gain: For MP3 Replay Gain support'
'vorbis-tools: For OGG support'
'ttaenc: For TrueAudio support'
'vorbisgain: For OGG Replay Gain support'
'wavpack: For WavPack support'
)
conflicts=('flacon')
provides=('flacon')
source=('git+https://github.com/flacon/flacon.git')
sha256sums=('SKIP')
pkgver() {
cd flacon
echo "$(git describe --long --tags | tr - . | sed "s|v\.|v|")"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../flacon \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_QT4=OFF
make
}
package() {
make -C build DESTDIR="${pkgdir}" install
}
|