mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 02:27:15 +08:00
[skip-ci]kaudiocreator: port to kf5 #86
This commit is contained in:
parent
5e9d32f9b6
commit
ebb183c016
@ -1,28 +1,36 @@
|
||||
pkgname=kaudiocreator
|
||||
pkgver=1.3
|
||||
pkgrel=4
|
||||
pkgver=3.92.0+301+gfaf2072
|
||||
pkgrel=1
|
||||
pkgdesc="A program for ripping and encoding Audio-CDs, encoding files from disk"
|
||||
arch=('x86_64')
|
||||
url="http://www.kde-apps.org/content/show.php/KAudioCreator?content=107645"
|
||||
url="https://www.kde.org/applications/multimedia/kaudiocreator/"
|
||||
license=('GPL')
|
||||
depends=('taglib' 'libdiscid' 'libkcddb4' 'libkcompactdisc4')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
categories=('multimedia')
|
||||
install="$pkgname.install"
|
||||
source=("https://dl.opendesktop.org/api/files/downloadfile/id/1466629608/s/7342e58cc1d1ea62a9e472da2eda3b34/t/1520761745/u/26190/107645-$pkgname-$pkgver.tar.bz2")
|
||||
md5sums=('6adce848d3cdc9d80a52d35144890c86')
|
||||
depends=('audiocd-kio' 'taglib' 'libdiscid' 'kcmutils' 'knotifyconfig' 'hicolor-icon-theme')
|
||||
makedepends=('extra-cmake-modules' 'git' 'kdesignerplugin' 'kdoctools')
|
||||
_commit=faf2072f18a1b699ddb6d3bc7d58f522f0914a38 # master
|
||||
source=("git://git.kde.org/kaudiocreator.git#commit=$_commit")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
git describe --tags | sed -e 's/-/+/g' -e 's/v//'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
mkdir build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. \
|
||||
|
||||
cmake ../$pkgname \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_TESTING=OFF
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver/build
|
||||
cd build
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user