From e3840c230aaa27a925847cad2452e3787ef836b8 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Sat, 22 May 2021 21:22:19 -0400 Subject: [openshot]: rebuild against latest qt5 --- libre/openshot/PKGBUILD | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) (limited to 'libre/openshot') diff --git a/libre/openshot/PKGBUILD b/libre/openshot/PKGBUILD index 840e72bed..4f267cba1 100644 --- a/libre/openshot/PKGBUILD +++ b/libre/openshot/PKGBUILD @@ -1,42 +1,47 @@ -# Maintainer (Arch): David Runge -# Contributor (Arch): Sergej Pupykin -# Contributor (Arch): Florian Pritz -# Contributor (Arch): Asa Marco -# Maintainer (Hyperbola): André Silva +# Maintainer (arch): David Runge +# Contributor: Sergej Pupykin +# Contributor: Florian Pritz +# Contributor: Asa Marco +# Contributor: André Silva # Maintainer: Omar Vega Ramos + +# parabola changes and rationale: +# - remove optdepends 'faac' +# - pin to tightly-coupled dependency versions + + pkgname=openshot pkgver=2.5.1 -pkgrel=1 +pkgrel=4 pkgrel+=.parabola1 pkgdesc="An award-winning free and open-source video editor" pkgdesc+=", without nonfree faac recommendation" -arch=('any') +arch=(any) url="https://www.openshot.org/" -license=('GPL3') -depends=('ffmpeg' 'mlt' 'python-pyqt5' 'python-requests' 'libopenshot' -'libopenshot-audio' 'python-pyzmq' 'qt5-base' 'qt5-svg' 'qt5-webkit') -makedepends=('python-setuptools') -replaces=("${pkgname}-libre" "${pkgname}-parabola") -conflicts=("${pkgname}-libre" "${pkgname}-parabola") -source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenShot/openshot-qt/archive/v$pkgver.tar.gz") +license=(GPL3) +depends=(ffmpeg python-pyqt5 python-requests python-setuptools libopenshot + libopenshot-audio python-pyzmq qt5-base qt5-svg qt5-webkit) +source=($pkgname-$pkgver.tar.gz::https://github.com/OpenShot/openshot-qt/archive/v$pkgver.tar.gz) sha512sums=('8254a45254bbe523b6485b9598022de2c46ec30818e606ac4665790d29486693c4efe9f5bc55ee43d6342de6782cf0090e4bc880e831c08e3b1218bca555af14') -prepare() { - mv -v "${pkgname}-qt-${pkgver}" "${pkgname}-${pkgver}" -} - build() { - cd "${pkgname}-${pkgver}" + cd ${pkgname}-qt-${pkgver} python setup.py build } package() { - cd "${pkgname}-${pkgver}" + cd ${pkgname}-qt-${pkgver} python setup.py install --skip-build \ --optimize=1 \ --prefix=/usr \ --root="${pkgdir}" install -vDm 644 {AUTHORS,{CONTRIBUTING,README}.md} \ - -t "${pkgdir}/usr/share/doc/${pkgname}" + -t "${pkgdir}"/usr/share/doc/${pkgname} + + # pin to current 'qt5-base' libs + local qt5_ver=$(pacman -S --print-format='%v' qt5-base) +# TODO: and/or python-pyqt5 https://labs.parabola.nu/issues/3036 +#local qt5_ver=$(pacman -S --print-format='%v' python-pyqt5) + depends=( ${depends[@]/qt5-base/qt5-base=${qt5_ver}} ) } -- cgit v1.2.3