mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
pkgname=kid3
|
|
pkgver=3.7.0
|
|
pkgrel=1
|
|
pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor for KDE"
|
|
arch=('x86_64')
|
|
url="https://kid3.sourceforge.io/"
|
|
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')
|
|
conflicts=('kid3-kf5')
|
|
replaces=('kid3-kf5')
|
|
screenshot=('http://pkgs.org/images/linux-software/kid3/kid3-screenshot.png')
|
|
source=("http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
|
|
sha1sums=('fed9b4b9ca8e7704e2f8138c1ee16154be435380')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
mkdir -p build
|
|
cd build
|
|
cmake .. \
|
|
-DWITH_QT5=ON \
|
|
-DWITH_QML=ON \
|
|
-DWITH_FFMPEG=ON \
|
|
-DWITH_MP4V2=ON \
|
|
-DWITH_GSTREAMER=ON \
|
|
-DWITH_APPS="CLI;KDE" \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|