mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 19:24:37 +08:00
33 lines
847 B
Bash
33 lines
847 B
Bash
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=('phonon-backend-gstreamer')
|
|
pkgver=4.7.1
|
|
pkgrel=2
|
|
pkgdesc="Phonon GStreamer backend"
|
|
arch=('x86_64')
|
|
url='http://phonon.kde.org'
|
|
license=('LGPL')
|
|
depends=('gstreamer0.10-base-plugins')
|
|
makedepends=('pkg-config' 'cmake' 'automoc4' 'mesa' 'phonon')
|
|
groups=("kde-complete" "kde-uninstall")
|
|
provides=('phonon-backend')
|
|
source=("http://download.kde.org/stable/phonon/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
|
sha256sums=('7859782fb3d304e1d0363e665feecb7d3b64a712705dc326151c6402fef6f2ca')
|
|
|
|
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
|
|
}
|