Commit c12e56cb authored by totte's avatar totte

Qt 5.13.2

#238
[skip-ci]
parent 30471b42
Pipeline #4662 skipped
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Antonio Rojas <arojas@archlinux.org>Andrea Scarpino <andrea@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=qt5-3d
pkgver=5.13.1
pkgrel=2
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics'
depends=('qt5-declarative') #assimp
makedepends=()
depends=('qt5-declarative')
groups=('qt5')
options=('debug')
replaces=(qt5-qt3d)
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
md5sums=('e68c56d9d6ddda088bf383d43adda269')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('d1b9fc0be82264b5f76c3a5330901dff95c1f2bcb67916c3fac6bad4ff69adc9')
prepare() {
mkdir -p build
......@@ -30,7 +32,7 @@ package() {
cd build
make INSTALL_ROOT="$pkgdir" install
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
# Drop QMAKE_PRL_BUILD_DIR because of reference to the build directory
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
......
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgbase=qt5-base
pkgname=(qt5-base qt5-xcb-private-headers)
pkgver=5.13.1
pkgrel=2
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='A cross-platform application and UI framework'
depends=('libjpeg-turbo' 'xcb-util-keysyms' 'xcb-util-renderutil' 'libgl' 'fontconfig' 'xdg-utils' 'shared-mime-info'
'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu' 'pcre2'
'tslib' 'libinput' 'libsm' 'libxkbcommon-x11' 'libproxy' 'libcups' 'double-conversion' 'mesa' 'qt5-translations')
makedepends=('mtdev' 'libmariadbclient' 'sqlite' 'unixodbc' 'postgresql-libs' 'alsa-lib' 'gst-plugins-base-libs'
'libpulse' 'cups' 'freetds' 'vulkan-headers')
depends=('libjpeg-turbo'
'xcb-util-keysyms'
'xcb-util-renderutil'
'libgl'
'fontconfig'
'xdg-utils'
'shared-mime-info'
'xcb-util-wm'
'libxrender'
'libxi'
'sqlite'
'xcb-util-image'
'mesa'
'tslib'
'libinput'
'libxkbcommon-x11'
'libproxy'
'libcups'
'double-conversion'
'icu' # TODO: Is this necessary?
'pcre2' # TODO: Is this necessary?
'libsm') # TODO: Is this necessary?
makedepends=('mtdev' # TODO: Is this necessary?
'libmariadbclient' # Note: Named 'mariadb-libs' in Arch Linux
'sqlite'
'unixodbc'
'postgresql-libs'
'alsa-lib'
'gst-plugins-base-libs'
'libpulse'
'cups'
'freetds'
'vulkan-headers')
optdepends=('qt5-svg: to use SVG icon themes'
'qt5-translations: for some native UI translations'
'postgresql-libs: PostgreSQL driver'
'libmariadbclient: MariaDB driver'
'unixodbc: ODBC driver'
'freetds: MS SQL driver'
'mtdev: evdev plugin')
'mtdev: evdev plugin') # TODO: Is this necessary?
groups=('qt5')
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
md5sums=('0a1761145531b74fff5b4d9a80c7b1c2')
_pkgfqn="${pkgbase/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('26b6b686d66a7ad28eaca349e55e2894e5a735f3831e45f2049e93b1daa92121')
prepare() {
cd ${_pkgfqn}
......@@ -33,10 +66,9 @@ prepare() {
sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
mkspecs/common/g++-unix.conf
# Use python3
# Use Python 3
find . -name '*.py' -exec sed -i \
's|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&3|' {} +
}
build() {
......@@ -78,11 +110,11 @@ package_qt5-base() {
install -Dm644 LICENSE* -t "$pkgdir"/usr/share/licenses/$pkgbase
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
# Drop QMAKE_PRL_BUILD_DIR because of reference to the build directory
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
# Fix wrong qmake path in pri file
# Fix wrong qmake path in .pri file
sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
"${pkgdir}"/usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri
......@@ -95,7 +127,6 @@ package_qt5-base() {
package_qt5-xcb-private-headers() {
pkgdesc='Private headers for Qt5 Xcb'
depends=("qt5-base=$pkgver")
optdepends=()
groups=()
......
fcitx-qt5
plasma-integration
gcin
calibre
akonadi
skrooge
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Antonio Rojas <arojas@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=qt5-charts
pkgver=5.13.1
pkgrel=2
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Provides a set of easy to use chart components'
depends=('qt5-base')
......@@ -11,9 +15,9 @@ makedepends=('qt5-declarative')
optdepends=('qt5-declarative: QML bindings')
groups=('qt5')
options=('debug')
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
md5sums=('c9eb5513af3a99e1b12882232f37dc01')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('3bad81c3cfb32cf72fb0ce2ac2794d031cf78a3902b4715f89c09b2d0e041e87')
prepare() {
mkdir -p build
......@@ -30,7 +34,7 @@ package() {
cd build
make INSTALL_ROOT="$pkgdir" install
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
# Drop QMAKE_PRL_BUILD_DIR because of reference to the build directory
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
......
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=qt5-connectivity
pkgver=5.13.1
pkgrel=2
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Provides access to Bluetooth hardware'
depends=('qt5-base' 'bluez-libs')
depends=('qt5-base'
'bluez-libs')
makedepends=('qt5-declarative')
optdepends=('qt5-declarative: QML bindings')
groups=('qt5')
options=('debug')
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
md5sums=('b45fc7c688d6357f9c2f165001d64766')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('644e234eb64f602ef5cdeb8802ef9b58e75478f1124f001937275d62ed692e17')
prepare() {
mkdir -p build
......@@ -30,7 +35,7 @@ package() {
cd build
make INSTALL_ROOT="$pkgdir" install
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
# Drop QMAKE_PRL_BUILD_DIR because of reference to the build directory
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
......
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Antonio Rojas <arojas@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=qt5-datavis3d
pkgver=5.13.1
pkgrel=2
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Qt Data Visualization module'
depends=('qt5-base')
......@@ -11,9 +15,9 @@ makedepends=('qt5-declarative')
optdepends=('qt5-declarative: QML bindings')
groups=('qt5')
options=('debug')
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
md5sums=('4e85b7d3bd36003a4a9b9f25f5dad94e')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('ecf934c3eb07173505781734f95cfc2cf9d89e6b1b98516ac98a137797f4ef28')
prepare() {
mkdir -p build
......@@ -30,7 +34,7 @@ package() {
cd build
make INSTALL_ROOT="$pkgdir" install
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
# Drop QMAKE_PRL_BUILD_DIR because of reference to the build directory
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
......
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=qt5-declarative
pkgver=5.13.1
pkgrel=2
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Classes for QML and JavaScript languages'
depends=('qt5-xmlpatterns')
makedepends=('python3' 'cmake')
conflicts=('qt5-declarative-render2d')
replaces=('qt5-declarative-render2d')
depends=('qt5-base')
makedepends=('python3')
groups=('qt5')
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
md5sums=('8bc90f2b14a6953091c2cdb7f84a644c')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('d9a524f45fe9e136cda2252f9d7013ec17046d907e3f39606db920987c22d1fd')
prepare() {
mkdir -p build
# Use python3
# Use Python 3
find -name '*.pro' -o -name '*.pri' | xargs sed -i -e 's|python -c|python3 -c|g' -e 's|python \$|python3 \$|g'
}
......@@ -39,7 +42,7 @@ package() {
ln -s /usr/lib/qt5/bin/$(basename $b) "$pkgdir"/usr/bin/$(basename $b)-qt5
done
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
# Drop QMAKE_PRL_BUILD_DIR because of reference to the build directory
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
......
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
# Michael Hansen <zrax0111@gmail.com>
pkgname=qt5-doc
pkgver=5.13.1
pkgrel=2
arch=('x86_64')
url='http://qt-project.org/'
pkgbase=qt5-doc
pkgname=(qt5-doc qt5-examples)
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('any')
url='https://www.qt.io'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='A cross-platform application and UI framework (Documentation)'
depends=('qt5-base')
makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss' 'clang')
makedepends=('qt5-tools'
'python2'
'python3'
'pciutils'
'libxtst'
'libxcursor'
'libxrandr'
'libxss'
'libxcomposite'
'gperf'
'nss'
'clang')
groups=('qt5')
_pkgfqn="qt-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/single/${_pkgfqn}.tar.xz")
md5sums=('d66b1da335d0c25325fdf493e9044c38')
_pkgfqn="qt-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
sha256sums=('55e8273536be41f4f63064a79e552a22133848bb419400b6fa8e9fc0dc05de08')
prepare() {
cd ${_pkgfqn}
......@@ -19,7 +35,8 @@ prepare() {
ln -s /usr/lib/qt5/bin qttools/
ln -s /usr/lib/qt5/bin/{rcc,uic,moc} qtbase/bin/
# Hack to force using python2
# Hack to force using Python 2
# TODO: Why is this necessary?
cd "$srcdir"
mkdir -p bin
ln -s /usr/bin/python2 bin/python
......@@ -47,10 +64,41 @@ build() {
make docs
}
package() {
cd ${_pkgfqn}
package_qt5-doc() {
pkgdesc='A cross-platform application and UI framework (Documentation)'
depends=('qt5-base')
cd ${_pkgfqn}
make INSTALL_ROOT="$pkgdir" install_docs
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
}
package_qt5-examples() {
pkgdesc='Examples and demos from qt5 documentation'
depends=('qt5-doc')
_base="$pkgdir"/usr/share/doc/qt5/examples
# The various example dirs have conflicting .pro files, but
# QtCreator requires them to be in the same top-level directory.
# Matching the Qt5 installer, only the qtbase project is kept.
mkdir -p $_base
cp ${_pkgfqn}/qtbase/examples/examples.pro $_base
_fdirs=$(find "${_pkgfqn}" -maxdepth 2 -type d -name examples)
for _dir in $_fdirs; do
_mod=$(basename ${_dir%/examples})
if [ -e "$_dir/README" ]; then
cp $_dir/README $_dir/README.$_mod
fi
# Don't overwrite existing examples.pro file
# TODO: Is this necessary?
#mkdir $_base/$_mod
#cp -rn $_dir/* $_base/$_mod
cp -rn $_dir/* $_base
done
}
pkgname=qt5-examples
pkgver=5.13.1
pkgrel=2
arch=('x86_64')
url='http://qt-project.org/'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Examples and demos from qt5 documentation'
depends=('qt5-doc')
makedepends=()
groups=('qt5')
_pkgfqn="qt-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/single/${_pkgfqn}.tar.xz")
md5sums=('d66b1da335d0c25325fdf493e9044c38')
package() {
_base="$pkgdir"/usr/share/doc/qt5/examples
# The various example dirs have conflicting .pro files, but
# QtCreator requires them to be in the same top-level directory.
# Matching the Qt5 installer, only the qtbase project is kept.
mkdir -p $_base
cp ${_pkgfqn}/qtbase/examples/examples.pro $_base
_fdirs=$(find "${_pkgfqn}" -maxdepth 2 -type d -name examples)
for _dir in $_fdirs; do
_mod=$(basename ${_dir%/examples})
if [ -e "$_dir/README" ]; then
cp $_dir/README $_dir/README.$_mod
fi
# Don't overwrite existing examples.pro file
mkdir $_base/$_mod
cp -rn $_dir/* $_base/$_mod
done
}
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Antonio Rojas <arojas@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=qt5-gamepad
pkgver=5.13.1
pkgrel=2
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Adds support for getting events from gamepad devices'
depends=('qt5-base' 'sdl2' 'libevdev')
depends=('qt5-base'
'sdl2'
'libevdev') # TODO: Is this necessary?
makedepends=('qt5-declarative')
optdepends=('qt5-declarative: QML bindings')
groups=('qt5')
options=('debug')
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
md5sums=('9209bfadfd0d8794c71859f0eefc3b0a')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('75164885433e36a90b557aa7f319ff3d6278c3616469f67b42dda6eb8b92e76e')
prepare() {
mkdir -p build
......@@ -30,7 +36,7 @@ package() {
cd build
make INSTALL_ROOT="$pkgdir" install
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
# Drop QMAKE_PRL_BUILD_DIR because of reference to the build directory
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
......
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=qt5-graphicaleffects
pkgver=5.13.1
pkgrel=2
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Graphical effects for use with Qt Quick 2'
depends=('qt5-declarative')
makedepends=()
groups=('qt5')
options=('debug')
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
md5sums=('d43ee00e4373ce28921bca9435d6ec28')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('297a89bb6c771f849c4ce866e5c98dadf665163b3dab03bc48a58f51424e7e66')
prepare() {
mkdir -p build
......
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=qt5-imageformats
pkgver=5.13.1
pkgrel=3
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Plugins for additional image formats: TIFF, MNG, TGA, WBMP'
depends=('qt5-base' 'jasper' 'libmng' 'libwebp')
depends=('qt5-base'
'jasper'
'libmng'
'libwebp')
makedepends=()
groups=('qt5')
options=('debug')
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
_srcurl="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz"
source=("${_srcurl}")
sha256sums=("$( curl ${_srcurl}.sha256 | cut -d ' ' -f 1 )")
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('6968649fdccc7d633cf9ada25f1bdaf0a2fb45a214d58c2c47896166d4553ac0')
prepare() {
mkdir -p build
......
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Andrea Scarpino <andrea@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=qt5-location
pkgver=5.13.1
pkgrel=2
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='http://qt-project.org/'
url='https://www.qt.io'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='Provides access to position, satellite and area monitoring classes'
depends=('qt5-declarative')
makedepends=('gypsy')
optdepends=('gypsy: Gypsy geolocation plugin')
groups=('qt5')
options=('debug')
_pkgfqn="${pkgname/5-/}-everywhere-src-${pkgver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz")
md5sums=('32680faa0e94927f40cf9ab1ef03b69b')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('5fe4b824d3dc6c800682ff986333ec09edb9c27582066e928b1862b4d58212e3')
prepare() {
mkdir -p build
......@@ -30,7 +32,7 @@ package() {
cd build
make INSTALL_ROOT="$pkgdir" install
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
# Drop QMAKE_PRL_BUILD_DIR because of reference to the build directory
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
......
# Maintainer: totte <totte@chakralinux.org>
# Contributors: Antonio Rojas <arojas@archlinux.org>
# Felix Yan <felixonmars@archlinux.org>
pkgname=qt5-lottie
_qtver=5.13.2
pkgver=${_qtver/-/}
pkgrel=1
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='A family of player software for a certain json-based file format for describing 2d vector graphics animations'
depends=('qt5-base')
makedepends=('qt5-declarative')
optdepends=('qt5-declarative: QML bindings')
groups=('qt5')
_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('af9a10aaa110767ffd88e02cb8ad0a3930ccfeb61f0c125afbf3791136d36253')
prepare() {
mkdir -p build
}
build() {
cd build
qmake-qt5 ../${_pkgfqn}
make
}
package() {
cd build
make INSTALL_ROOT="$pkgdir" install
# Drop QMAKE_PRL_BUILD_DIR because of reference to the build directory
find "$pkgdir/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
install -d "$pkgdir"/usr/share/licenses