diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -4,37 +4,42 @@ # All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where # you also find the URL of a binary repository. +# This file is created from PKGBUILD.sh.in contained by the mentioned repository. +# Do not edit it manually! See README.md in the repository's root directory +# for more information. + # Includes dynamic and static versions; if only one version is requried, just # set $NO_STATIC_LIBS or $NO_SHARED_LIBS. _qt_module=qtserialport -pkgname="mingw-w64-qt5-serialport" -pkgver=5.14.0 +pkgname=mingw-w64-qt5-serialport +pkgver=5.14.1 pkgrel=1 arch=('any') pkgdesc="Provides access to hardware and virtual serial ports (mingw-w64)" depends=('mingw-w64-qt5-base') makedepends=('mingw-w64-gcc' 'mingw-w64-pkg-config') +license=('GPL3' 'LGPL3' 'FDL' 'custom') options=('!strip' '!buildflags' 'staticlibs') groups=('mingw-w64-qt5') -license=('GPL3' 'LGPL3' 'FDL' 'custom') url='https://www.qt.io/' -_pkgfqn="${_qt_module}-everywhere-src-$pkgver" -source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${_pkgfqn}.tar.xz") -sha256sums=('4b647a66ae4da6b05b41b49ed296012002c1951f8a3ee24e0f2aa493f48e1ed3') +_pkgfqn="${_qt_module}-everywhere-src-${pkgver}" +source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('ac7e51e99294998fae8bb3e2feebbd1820ecd774eb9ad8e7ea507f5bd06dcd6f') _architectures='i686-w64-mingw32 x86_64-w64-mingw32' + [[ $NO_STATIC_LIBS ]] || \ makedepends+=('mingw-w64-qt5-base-static') \ optdepends+=('mingw-w64-qt5-base-static: use of static libraries') \ - _configurations+=('CONFIG+=static') + _configurations+=('CONFIG+=no_smart_library_merge CONFIG+=static') [[ $NO_SHARED_LIBS ]] || \ _configurations+=('CONFIG+=actually_a_shared_build CONFIG+=shared') prepare() { cd "${srcdir}/${_pkgfqn}" - # don't build examples or tests. + # don't build examples or tests sed -i 's/ examples tests//' qtserialport.pro } @@ -45,7 +50,7 @@ build() { 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} + ${_arch}-qmake-qt5 ../${_qt_module}.pro ${_config} ${_additional_qmake_args} make popd done |