mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 14:57:15 +08:00
38 lines
969 B
Bash
38 lines
969 B
Bash
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=('phonon-backend-gstreamer')
|
|
pkgver=4.6.3
|
|
pkgrel=2
|
|
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"
|
|
"fix-double-window.patch")
|
|
md5sums=('d7b0b6245f380347c52c09033a814931'
|
|
'3a828b776d354c16a2c1dfe4ec49e12e')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
patch -p1 -i ${srcdir}/fix-double-window.patch
|
|
|
|
cd ${srcdir}
|
|
mkdir -p build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|