upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / tupitube / repos / community-x86_64 / PKGBUILD
blobdc6fb393508c76786b0d6fd93990f1bf70175970
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>
4 # Contributor: sekret
5 # Contributor: SanskritFritz
7 pkgname=tupitube
8 pkgver=0.2.18
9 pkgrel=5
10 pkgdesc='Design and authoring tool for digital artists interested in 2D animation'
11 arch=('x86_64')
12 url='https://tupitube.com/'
13 license=('GPL2')
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'
19         'ffmpeg5.patch')
20 sha256sums=('b765e39426531c383cc88cda62c5331efe5f965d02ec079e55eddd077749a4aa'
21             '99fbafe0b359130d53278db3cada052f8245c325dcb82ce33997322dd750707a'
22             'b08c12db5f9c66128f31c398ae5a50d96b4fdfd895b47c62fe0d3dab9325f45a')
24 prepare() {
25   cd $pkgname.desk
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
34 build() {
35   cd $pkgname.desk
36   ./configure --prefix=/usr --libdir=/usr/lib --without-debug
37   make
40 package() {
41   cd $pkgname.desk
42   make DESTDIR="$pkgdir" install
43   install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"