Commit 085539bd authored by Phil's avatar Phil

kaffeine: sound-stack rebuild

parent 80cfaf31
......@@ -9,28 +9,29 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=k3b
pkgver=2.0.2
pkgrel=3
pkgrel=4
depends=('kde-runtime' 'kdemultimedia-common' 'libsamplerate' 'libmad'
'ffmpeg>=0.5' 'taglib>=1.4' 'libmpcdec>=1.2.5' 'libdvdread>=4.1.3'
'cdrdao' 'cdrkit' 'shared-mime-info' 'libxft' 'musicbrainz' 'docbook-xsl')
makedepends=('cmake' 'pkgconfig' 'automoc4' )
makedepends=('cmake' 'pkgconfig' 'automoc4' 'dvd+rw-tools')
pkgdesc="Feature-rich and easy to handle CD burning application"
arch=("i686" "x86_64")
license=('GPL')
install=$pkgname.install
source=(http://downloads.sourceforge.net/sourceforge/k3b/${pkgname}-${pkgver}.tar.bz2)
url="http://k3b.sourceforge.net/"
optdepends=('dvd+rw-tools: for dvd burning support'
'vcdimager: for vcd burning support'
'transcode: for advanced mpeg conversion support'
'emovix: for bootable multimedia cd/dvd support')
options=(!libtool)
md5sums=('c86113af31a2032e57fd2f302b5f637a')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2 \
k3b-2.0.2-ffmpeg.patch)
sha1sums=('8b30a4d07942e82559b01bc07dea6bcf2defd532'
'48f494363e7f423ee5d32f979d48e3d5731fe2ae')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}"
(cd ${pkgname}-${pkgver}; patch -p1 -i "${srcdir}/k3b-2.0.2-ffmpeg.patch")
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
......@@ -40,7 +41,7 @@ build() {
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
......@@ -4,30 +4,31 @@
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kaffeine
pkgver=1.2.2
_pkgver=1.2.2
pkgrel=1
pkgrel=2
pkgdesc='KDE media player'
license=('GPL')
arch=('i686' 'x86_64')
url="http://kaffeine.kde.org"
depends=('kdelibs' 'kdebase-runtime' 'xine-lib')
makedepends=('pkgconfig' 'cmake' 'automoc4')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.gz")
makedepends=('pkg-config' 'cmake' 'automoc4')
install=kaffeine.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('690e48d2e5fe123887109aa9b1bc1c31')
build() {
cd $srcdir
mkdir build
cd "$srcdir"
mkdir -p build
cd build
cmake ../${pkgname}-${_pkgver} \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=$pkgdir install
}
md5sums=('690e48d2e5fe123887109aa9b1bc1c31')
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_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