PKGBUILD 1.1 KB
Newer Older
Francesco Marinucci's avatar
Francesco Marinucci committed
1
pkgname=kid3
2 3
pkgver=3.3.2
pkgrel=1
Manuel Tortosa's avatar
Manuel Tortosa committed
4
pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor for KDE"
abveritas's avatar
abveritas committed
5
arch=('x86_64')
Manuel Tortosa's avatar
Manuel Tortosa committed
6 7
url="http://kid3.sourceforge.net/"
license=('GPL')
8 9 10
depends=('id3lib' 'libmp4v2' 'chromaprint' 'ffmpeg' 'qt5-multimedia' 'plasma-framework'
	 'phonon-qt5' 'taglib' 'kio' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('cmake' 'docbook-xsl' 'docbook-xml' 'qt5-tools' 'extra-cmake-modules' 'kdoctools')
11
categories=('multimedia')
Francesco Marinucci's avatar
Francesco Marinucci committed
12 13
conflicts='kid3-kf5'
replaces='kid3-kf5'
14
screenshot=('http://pkgs.org/images/linux-software/kid3/kid3-screenshot.png')
Manuel Tortosa's avatar
Manuel Tortosa committed
15
install=${pkgname}.install
16
source=("http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
17
sha1sums=('592cded9ae52fa1c025b5489fd2b8a4ece69489a')
Manuel Tortosa's avatar
Manuel Tortosa committed
18

Chaoting Liu's avatar
Chaoting Liu committed
19

Manuel Tortosa's avatar
Manuel Tortosa committed
20
build() {
Francesco Marinucci's avatar
Francesco Marinucci committed
21
  mkdir -p ${srcdir}/build
Chaoting Liu's avatar
Chaoting Liu committed
22
  cd ${srcdir}/build
Francesco Marinucci's avatar
Francesco Marinucci committed
23
  cmake ../${pkgname}-${pkgver} \
24 25 26 27 28
    -DWITH_QT5=ON \
    -DWITH_QML=ON  \
    -DWITH_FFMPEG=ON \
    -DWITH_MP4V2=ON \
    -DWITH_GSTREAMER=ON \
Jeff Huang's avatar
Jeff Huang committed
29
    -DWITH_APPS="CLI;KDE" \
Manuel Tortosa's avatar
Manuel Tortosa committed
30
    -DCMAKE_INSTALL_PREFIX=/usr \
Anke's avatar
Anke committed
31
    -DCMAKE_BUILD_TYPE=Release 
Jeff Huang's avatar
Jeff Huang committed
32
  make
Chaoting Liu's avatar
Chaoting Liu committed
33 34 35

}

Francesco Marinucci's avatar
Francesco Marinucci committed
36
package() {
Chaoting Liu's avatar
Chaoting Liu committed
37 38
  cd ${srcdir}/build
  make DESTDIR="${pkgdir}" install
Manuel Tortosa's avatar
Manuel Tortosa committed
39
}