mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/libopenshot-audio to 0.1.8-3
This commit is contained in:
parent
35d8868c22
commit
094445dac5
1 changed files with 19 additions and 18 deletions
|
@ -1,4 +1,5 @@
|
||||||
# Maintainer : Martin Wimpress <code@flexion.org>
|
# Maintainer: David Runge <dvzrv@archlinux.org>
|
||||||
|
# Contributor: Martin Wimpress <code@flexion.org>
|
||||||
# Contributor: Foster McLane <fkmclane@gmail.com>
|
# Contributor: Foster McLane <fkmclane@gmail.com>
|
||||||
# Contributor: Jonathan Thomas <jonathan@openshot.org>
|
# Contributor: Jonathan Thomas <jonathan@openshot.org>
|
||||||
|
|
||||||
|
@ -7,38 +8,38 @@
|
||||||
|
|
||||||
pkgname=libopenshot-audio
|
pkgname=libopenshot-audio
|
||||||
pkgver=0.1.8
|
pkgver=0.1.8
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="A high-quality audio editing and playback library used by libopenshot."
|
pkgdesc="A high-quality audio editing and playback library used by libopenshot."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://openshot.org/"
|
url="https://openshot.org/"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('alsa-lib' 'freetype2' 'libxcursor' 'libxinerama' 'libxrandr')
|
depends=('alsa-lib' 'gcc-libs' 'glibc' 'zlib')
|
||||||
makedepends=('cmake' 'doxygen')
|
makedepends=('cmake' 'doxygen' 'freetype2' 'libx11')
|
||||||
|
provides=('libopenshot-audio.so')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenShot/libopenshot-audio/archive/v$pkgver.tar.gz"
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenShot/libopenshot-audio/archive/v$pkgver.tar.gz"
|
||||||
"$pkgname-pr-39.patch::https://patch-diff.githubusercontent.com/raw/OpenShot/libopenshot-audio/pull/39.patch"
|
"$pkgname-cleanup-juce.patch::https://patch-diff.githubusercontent.com/raw/OpenShot/libopenshot-audio/pull/39.patch"
|
||||||
'atomic.patch')
|
'atomic.patch')
|
||||||
sha256sums=('384d0ef39c78f16d77048de3c96152321724084f978dc622675dd6bb16e15e19'
|
sha256sums=('384d0ef39c78f16d77048de3c96152321724084f978dc622675dd6bb16e15e19'
|
||||||
'ae784a96730f7cf09ba7bf29d06704ba6a0eca662d242d786b0a86a4343e9dc9'
|
'ae784a96730f7cf09ba7bf29d06704ba6a0eca662d242d786b0a86a4343e9dc9'
|
||||||
'f066a57428a6239af4cde7a81a6dc579cc85062f4877def11b0650673f34eb6f')
|
'f066a57428a6239af4cde7a81a6dc579cc85062f4877def11b0650673f34eb6f')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
patch -p1 -i "$srcdir/$pkgname-pr-39.patch"
|
patch -Np1 -i "../$pkgname-cleanup-juce.patch"
|
||||||
if [[ $CARCH == "armv6h" || $CARCH == "arm" ]]; then
|
mkdir -vp build
|
||||||
patch -p0 -i ../atomic.patch
|
if [[ $CARCH == "armv6h" || $CARCH == "arm" ]]; then
|
||||||
fi
|
patch -p0 -i ../atomic.patch
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
mkdir build
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
cd build
|
-B build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
make -C build
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
cd build
|
make -C build DESTDIR="${pkgdir}" install
|
||||||
make DESTDIR="${pkgdir}" install
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue