blob: ea42f16d5690081a361c06ee6e9a60a2a01455e1 (
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
|
# Maintainer: Adria Arrufat <adria.arrufat+AUR AT protonmail DOT ch>
# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Alois Nespor <alois.nespor@gmail.com>
pkgname=kid3-cli
pkgver=3.8.6
pkgrel=1
pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor, CLI version"
arch=(i686 x86_64)
url="https://kid3.kde.org/"
license=(GPL)
depends=(chromaprint id3lib taglib libmp4v2 qt5-multimedia)
makedepends=(ninja chromaprint id3lib taglib libmp4v2 qt5-tools
hicolor-icon-theme docbook-xsl extra-cmake-modules python)
conflicts=(kid3-kde kid3-qt)
provides=(kid3)
source=(http://downloads.sourceforge.net/${pkgname/-cli/}/${pkgname/-cli/}-$pkgver.tar.gz)
sha256sums=('71ef8c58227302737ebbed3b7f476f9f48e76ea894952d916dc33d9c08f96e08')
prepare() {
[ -d ${srcdir}/build ] && rm -rf build
mkdir -p ${srcdir}/build
cd "${srcdir}"/build
cmake -GNinja \
../${pkgname/-cli/}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_APPS="CLI" \
-DWITH_QML=OFF \
-DWITH_MP4V2=ON \
-DWITH_FFMPEG=ON \
-DWITH_GSTREAMER=OFF
}
build() {
ninja -C build
}
package() {
DESTDIR="${pkgdir}" ninja -C build install
}
|