diff options
author | bartus | 2024-03-12 18:01:38 +0100 |
---|---|---|
committer | bartus | 2024-03-12 18:01:38 +0100 |
commit | 6a75713a53dc16c52e95a2652fb4c04126c19892 (patch) | |
tree | ddb1f613d81cc2f485369993c7162d4f0a0d7ede | |
parent | 8578b127329e9faaf153b140d5fa055cb749e7bb (diff) | |
download | aur-6a75713a53dc16c52e95a2652fb4c04126c19892.tar.gz |
Switch to qt6
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 15 insertions, 10 deletions
@@ -7,19 +7,20 @@ pkgbase = openboard-git arch = i686 license = GPL3 makedepends = git - makedepends = qt5-tools - depends = qt5-base - depends = qt5-multimedia - depends = qt5-svg - depends = qt5-webengine - depends = qt5-xmlpatterns + makedepends = qt6-tools + depends = qt6-base + depends = qt6-declarative + depends = qt6-multimedia + depends = qt6-svg + depends = qt6-webchannel + depends = qt6-webengine depends = libpaper depends = bzip2 depends = openssl depends = libfdk-aac depends = sdl depends = ffmpeg - depends = quazip + depends = quazip-qt6 depends = poppler provides = openboard=1.7.0 conflicts = openboard @@ -1,6 +1,8 @@ #!/hint/bash # Maintainer: bartus <arch-user-repoᘓbartus.33mail.com> +## Configuration env vars: +((ENABLE_QT5)) && qt="qt5" || qt="qt6" pkgname=openboard-git _fragment="#branch=master" @@ -12,10 +14,11 @@ url="http://openboard.ch/index.en.html" license=('GPL3') provides=("${pkgname%-git}=${pkgver%%.r*}") conflicts=("${pkgname%-git}") -depends=('qt5-base' 'qt5-multimedia' 'qt5-svg' 'qt5-webengine' 'qt5-xmlpatterns' 'libpaper' 'bzip2' 'openssl' 'libfdk-aac' 'sdl' 'ffmpeg') -depends+=(quazip) #drop internal quazip and use system one. +depends+=(${qt}-{base,declarative,multimedia,svg,webchannel,webengine}) +depends+=('libpaper' 'bzip2' 'openssl' 'libfdk-aac' 'sdl' 'ffmpeg') +depends+=(quazip-${qt}) #drop internal quazip and use system one. depends+=(poppler) #replace internal xpdf with poppler and drop freetype/xpdf from deps -makedepends=(git qt5-tools) +makedepends=(git ${qt}-tools) source=("git+https://github.com/OpenBoard-org/OpenBoard.git${_fragment}" openboard.desktop) source+=(qchar.patch) @@ -50,6 +53,7 @@ build() { export CCACHE_BASEDIR="$srcdir" cd "$srcdir"/OpenBoard # convert translations to binary form + ((ENABLE_QT5)) || export PATH="/usr/lib/qt6/bin/:$PATH" lrelease OpenBoard.pro qmake OpenBoard.pro -spec linux-g++ make |