mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-14 03:19:02 +08:00
34 lines
877 B
Bash
34 lines
877 B
Bash
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=('phonon-backend-gstreamer')
|
|
pkgver=4.7.0
|
|
pkgrel=1
|
|
pkgdesc="Phonon GStreamer backend"
|
|
arch=('x86_64')
|
|
url='http://phonon.kde.org'
|
|
license=('LGPL')
|
|
depends=('gstreamer0.10-base-plugins' 'phonon')
|
|
makedepends=('pkg-config' 'cmake' 'automoc4' 'mesa')
|
|
groups=("kde-complete" "kde-uninstall")
|
|
conflicts=('phonon-gstreamer')
|
|
replaces=('phonon-gstreamer')
|
|
source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/${pkgver}/src/phonon-backend-gstreamer-${pkgver}.tar.xz")
|
|
md5sums=('f00a1529d43158ce9faea516814562d3')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir -p build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|