1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
2 # Contributor: Ninez <triplesquarednine AT gmail DOT com>
3 # Contributor: N30N <archlinux@alunamation.com>
5 # Contributor: SanskritFritz
10 pkgdesc='Design and authoring tool for digital artists interested in 2D animation'
12 url='https://tupitube.com/'
14 depends=('ffmpeg' 'qt5-multimedia' 'qt5-svg' 'quazip')
15 makedepends=('ruby-rexml')
16 replaces=('tupitube.desk')
17 source=("https://downloads.sourceforge.net/tupi2d/$pkgname.desk-$pkgver.tar.gz"
18 'tupitube.appdata.xml'
20 sha256sums=('b765e39426531c383cc88cda62c5331efe5f965d02ec079e55eddd077749a4aa'
21 '99fbafe0b359130d53278db3cada052f8245c325dcb82ce33997322dd750707a'
22 'b08c12db5f9c66128f31c398ae5a50d96b4fdfd895b47c62fe0d3dab9325f45a')
26 sed -i 's|quazip/|QuaZip-Qt5-1.4/quazip/|' configure.tests/quazip/main.cpp src/libtupi/tuppackagehandler.cpp
27 sed -i 's|quazip-qt5|quazip1-qt5|' qonf/test.rb
28 sed -i 's|/share/pixmaps|/share/icons/hicolor/128x128/apps|' qonf/makefile.rb
29 sed -i '/require .os/d' qonf/configure.rb
31 patch -p1 -i ../ffmpeg5.patch # Fix build with FFmpeg 5
36 ./configure --prefix=/usr --libdir=/usr/lib --without-debug
42 make DESTDIR="$pkgdir" install
43 install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"