Date: Wednesday, April 21, 2021 @ 00:27:41 Author: bgyorgy Revision: 920446
upgpkg: opentoonz 1.5.0-2: Rebuild for libmypaint 1.6.1 Modified: opentoonz/trunk/PKGBUILD ----------+ PKGBUILD | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-04-21 00:09:04 UTC (rev 920445) +++ PKGBUILD 2021-04-21 00:27:41 UTC (rev 920446) @@ -3,14 +3,15 @@ pkgname=opentoonz pkgver=1.5.0 -pkgrel=1 +pkgrel=2 pkgdesc='Software for producing a 2D animation' -arch=(x86_64) +arch=('x86_64') url='https://opentoonz.github.io/e/' -license=(BSD) -depends=(cblas ffmpeg freeglut glew hicolor-icon-theme libmypaint qt5-multimedia qt5-script qt5-serialport qt5-svg superlu opencv) -makedepends=(boost cmake qt5-tools) -source=(https://github.com/opentoonz/$pkgname/archive/v${pkgver}/$pkgname-$pkgver.tar.gz) +license=('BSD') +depends=('cblas' 'ffmpeg' 'freeglut' 'glew' 'libmypaint' 'opencv' 'qt5-multimedia' 'qt5-script' + 'qt5-serialport' 'qt5-svg' 'superlu') +makedepends=('boost' 'cmake' 'ninja' 'qt5-tools') +source=("https://github.com/opentoonz/$pkgname/archive/v${pkgver}/$pkgname-$pkgver.tar.gz") sha256sums=('fba0f381fb71ffda89e6423b4d461450d4851f93830342e69e36313070af5990') prepare() { @@ -17,7 +18,8 @@ cd $pkgname-$pkgver # Specify path for ffmpeg - sed -i 's|"ffmpegPath", QMetaType::QString, ""|"ffmpegPath", QMetaType::QString, "/usr/bin"|' toonz/sources/toonzlib/preferences.cpp + sed -i 's|"ffmpegPath", QMetaType::QString, ""|"ffmpegPath", QMetaType::QString, "/usr/bin"|' \ + toonz/sources/toonzlib/preferences.cpp } build() { @@ -26,8 +28,8 @@ make popd - cmake -B build -S $pkgname-$pkgver/toonz/sources \ - -DCMAKE_INSTALL_PREFIX=/usr \ + cmake -S $pkgname-$pkgver/toonz/sources -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX='/usr' \ -DCMAKE_SKIP_RPATH=YES cmake --build build }