desktop/kid3/PKGBUILD

40 lines
1.1 KiB
Bash
Raw Normal View History

2015-12-20 03:55:22 +08:00
pkgname=kid3
2017-02-24 21:22:01 +08:00
pkgver=3.4.5
2017-03-12 21:05:28 +08:00
pkgrel=2
2010-11-03 07:04:33 +08:00
pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor for KDE"
2012-12-04 06:34:47 +08:00
arch=('x86_64')
2010-11-03 07:04:33 +08:00
url="http://kid3.sourceforge.net/"
license=('GPL')
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')
categories=('multimedia')
2015-12-20 03:55:22 +08:00
conflicts='kid3-kf5'
replaces='kid3-kf5'
screenshot=('http://pkgs.org/images/linux-software/kid3/kid3-screenshot.png')
2010-11-03 07:04:33 +08:00
install=${pkgname}.install
source=("http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
2017-02-24 21:22:01 +08:00
sha1sums=('d248752a9471eef862b9e5e640318e4f30c21b26')
2010-11-03 07:04:33 +08:00
build() {
2016-08-30 04:47:30 +08:00
cd $pkgname-$pkgver
mkdir -p build
cd build
cmake .. \
-DWITH_QT5=ON \
-DWITH_QML=ON \
-DWITH_FFMPEG=ON \
-DWITH_MP4V2=ON \
-DWITH_GSTREAMER=ON \
2015-04-02 08:12:09 +08:00
-DWITH_APPS="CLI;KDE" \
2010-11-03 07:04:33 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
2013-03-11 23:24:30 +08:00
-DCMAKE_BUILD_TYPE=Release
2015-05-13 06:56:02 +08:00
make
2015-05-13 22:27:18 +08:00
}
2015-12-20 03:55:22 +08:00
package() {
2016-08-30 04:47:30 +08:00
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
2010-11-03 07:04:33 +08:00
}