2016-02-03 20:42:14 +01:00
|
|
|
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
# Contributor: ant32 <antreimer@gmail.com>
|
|
|
|
# Contributor: Filip Brcic <brcha@gna.org>
|
|
|
|
|
2016-03-25 21:43:59 +01:00
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
|
|
|
# you also find the URL of a binary repository.
|
|
|
|
|
2020-06-18 23:42:42 +02:00
|
|
|
# This file is created from PKGBUILD.sh.ep contained by the mentioned repository.
|
2019-12-29 00:08:47 +01:00
|
|
|
# Do not edit it manually! See README.md in the repository's root directory
|
|
|
|
# for more information.
|
2016-08-18 01:07:18 +02:00
|
|
|
|
2016-02-03 20:42:14 +01:00
|
|
|
_qt_module=qttranslations
|
2019-12-29 00:08:47 +01:00
|
|
|
pkgname=mingw-w64-qt5-translations
|
2020-09-10 21:17:46 +02:00
|
|
|
pkgver=5.15.1
|
2016-12-20 23:05:26 +01:00
|
|
|
pkgrel=1
|
2016-02-03 20:42:14 +01:00
|
|
|
arch=('any')
|
|
|
|
pkgdesc="A cross-platform application and UI framework (translations, mingw-w64)"
|
|
|
|
depends=('mingw-w64-qt5-base')
|
2017-01-23 21:37:13 +01:00
|
|
|
makedepends=('mingw-w64-gcc' 'mingw-w64-pkg-config' 'mingw-w64-qt5-tools')
|
2019-12-29 00:08:47 +01:00
|
|
|
license=('GPL3' 'LGPL3' 'FDL' 'custom')
|
2016-02-03 20:42:14 +01:00
|
|
|
options=('!strip' '!buildflags' 'staticlibs')
|
2017-01-23 21:37:13 +01:00
|
|
|
groups=('mingw-w64-qt5')
|
|
|
|
url='https://www.qt.io/'
|
2017-12-08 19:49:53 +01:00
|
|
|
_pkgfqn="${_qt_module}-everywhere-src-${pkgver}"
|
|
|
|
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz")
|
2020-09-10 21:17:46 +02:00
|
|
|
sha256sums=('46e0c0e3a511fbcc803a4146204062e47f6ed43b34d98a3c27372a03b8746bd8')
|
2016-02-03 20:42:14 +01:00
|
|
|
|
2016-08-18 01:07:18 +02:00
|
|
|
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
|
2016-02-03 20:42:14 +01:00
|
|
|
|
2020-06-18 23:42:42 +02:00
|
|
|
_configurations+=('CONFIG+=actually_a_shared_build CONFIG+=shared')
|
2019-12-29 00:08:47 +01:00
|
|
|
|
2016-08-18 01:07:18 +02:00
|
|
|
build() {
|
2016-02-03 20:42:14 +01:00
|
|
|
cd "${srcdir}/${_pkgfqn}"
|
2019-12-29 00:08:47 +01:00
|
|
|
|
2016-02-03 20:42:14 +01:00
|
|
|
for _arch in ${_architectures}; do
|
2019-12-29 00:08:47 +01:00
|
|
|
for _config in "${_configurations[@]}"; do
|
|
|
|
msg2 "Building ${_config##*=} version for ${_arch}"
|
|
|
|
mkdir -p build-${_arch}-${_config##*=} && pushd build-${_arch}-${_config##*=}
|
|
|
|
${_arch}-qmake-qt5 ../${_qt_module}.pro ${_config} ${_additional_qmake_args}
|
|
|
|
make
|
|
|
|
popd
|
|
|
|
done
|
2016-02-03 20:42:14 +01:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${_pkgfqn}"
|
2019-12-29 00:08:47 +01:00
|
|
|
|
2016-02-03 20:42:14 +01:00
|
|
|
for _arch in ${_architectures}; do
|
2019-12-29 00:08:47 +01:00
|
|
|
for _config in "${_configurations[@]}"; do
|
|
|
|
pushd build-${_arch}-${_config##*=}
|
|
|
|
|
|
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
|
|
popd
|
|
|
|
done
|
2016-02-03 20:42:14 +01:00
|
|
|
done
|
|
|
|
}
|