Commit 1b2255e9 authored by AlmAck's avatar AlmAck

added libkcddb4 in order to build k3b

parent e86f1450
......@@ -4,14 +4,14 @@
pkgname=k3b
pkgver=2.0.3.a
pkgrel=3
pkgrel=4
pkgdesc="Feature-rich and easy to handle CD burning application"
arch=("x86_64")
url="http://sourceforge.net/projects/k3b/"
license=('GPL')
depends=('kde-runtime' 'libkcddb' 'libkcompactdisc' 'libsamplerate' 'libmad'
'ffmpeg>=0.5' 'taglib>=1.4' 'libmpcdec>=1.2.5' 'libdvdread>=4.1.3' 'cdrkit' 'shared-mime-info' 'libxft' 'libmusicbrainz3')
makedepends=('cmake' 'automoc4' 'docbook-xml' 'docbook-xsl')
depends=('kdebase-runtime' 'libkcddb4' 'libsamplerate' 'libmad'
'ffmpeg' 'taglib' 'libmpcdec' 'libdvdread' 'cdrkit' 'libxft')
makedepends=('cmake' 'automoc4' 'docbook-xml')
optdepends=('dvd+rw-tools: for dvd burning support'
'vcdimager: for vcd burning support'
'transcode: for advanced mpeg conversion support'
......@@ -25,6 +25,8 @@ sha256sums=('2d0bb2746802c1d3ad7ddd10e29234cf2053074f376feb200306a5570c39c081')
prepare() {
cd ${pkgname}-2.0.3
# Workaround build failure with cmake 3.4
sed -e "s|^cmake_minimum_required|#cmake_minimum_required|" -i CMakeLists.txt
}
build() {
......
pkgname=libkcddb4
pkgver=16.08.3
pkgrel=1
pkgdesc="KDE4 CDDB library"
url='https://www.kde.org/applications/multimedia/'
arch=(x86_64)
license=(GPL LGPL FDL)
depends=(kdelibs libmusicbrainz5)
makedepends=(cmake automoc4)
replaces=('libkcddb<16.11')
conflicts=('libkcddb<16.11')
source=("http://download.kde.org/stable/applications/$pkgver/src/libkcddb-$pkgver.tar.xz")
sha1sums=('b77aa60310efd8946c7b0289cf1fb5fc7d5dc5ac')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../libkcddb-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment