Date: Thursday, November 14, 2019 @ 17:39:14 Author: dvzrv Revision: 528701
upgpkg: libopenshot-audio 0.1.8-3 Updating maintainer info. Adding all direct library dependencies and moving freetype2 and libx11 to makedepends. Adding libopenshot-audio.so to provides. Renaming patch for readibility. Minor cleanups. Modified: libopenshot-audio/trunk/PKGBUILD ----------+ PKGBUILD | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-11-14 17:33:04 UTC (rev 528700) +++ PKGBUILD 2019-11-14 17:39:14 UTC (rev 528701) @@ -1,36 +1,37 @@ -# Maintainer : Martin Wimpress <[email protected]> +# Maintainer: David Runge <[email protected]> +# Contributor: Martin Wimpress <[email protected]> # Contributor: Foster McLane <[email protected]> # Contributor: Jonathan Thomas <[email protected]> pkgname=libopenshot-audio pkgver=0.1.8 -pkgrel=2 +pkgrel=3 pkgdesc="A high-quality audio editing and playback library used by libopenshot." arch=('x86_64') url="https://openshot.org/" license=('GPL3') -depends=('alsa-lib' 'freetype2' 'libxcursor' 'libxinerama' 'libxrandr') -makedepends=('cmake' 'doxygen') +depends=('alsa-lib' 'gcc-libs' 'glibc' 'zlib') +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" - "$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") sha256sums=('384d0ef39c78f16d77048de3c96152321724084f978dc622675dd6bb16e15e19' 'ae784a96730f7cf09ba7bf29d06704ba6a0eca662d242d786b0a86a4343e9dc9') prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i "$srcdir/$pkgname-pr-39.patch" + cd "${pkgname}-${pkgver}" + patch -Np1 -i "../$pkgname-cleanup-juce.patch" + mkdir -vp build } build() { - cd "${srcdir}/${pkgname}-${pkgver}" - mkdir build - cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr .. - make + cd "${pkgname}-${pkgver}" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -B build + make -C build } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - cd build - make DESTDIR="${pkgdir}" install + cd "${pkgname}-${pkgver}" + make -C build DESTDIR="${pkgdir}" install }
