summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2016-10-31 09:42:41 +0100
committerMartchus2016-10-31 09:42:41 +0100
commitf5adc3d517b640ecaf89936f7adcbc92293ab4de (patch)
tree81738f49db53ea262890c1fb7e21c3a0c6807b1a
parente8af1dd90380da00c008a0738ee7f7a2e26b898f (diff)
downloadaur-f5adc3d517b640ecaf89936f7adcbc92293ab4de.tar.gz
Update to 5.1.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD32
2 files changed, 16 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7ac33160441..fe7a946ed89 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Sep 14 20:10:44 UTC 2016
+# Mon Oct 31 08:42:26 UTC 2016
pkgbase = mingw-w64-qtutilities
pkgdesc = Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (mingw-w64)
- pkgver = 5.0.0
+ pkgver = 5.1.0
pkgrel = 1
url = https://github.com/Martchus/qtutilities
arch = any
@@ -21,8 +21,8 @@ pkgbase = mingw-w64-qtutilities
options = staticlibs
options = !strip
options = !emptydirs
- source = qtutilities-5.0.0.tar.gz::https://github.com/Martchus/qtutilities/archive/v5.0.0.tar.gz
- sha256sums = 3f8a6ea49b889febbb012674c773140793ad974731616b7142917ff53ed29cc0
+ source = qtutilities-5.1.0.tar.gz::https://github.com/Martchus/qtutilities/archive/v5.1.0.tar.gz
+ sha256sums = d4690094f4f2dd942e3e623cac210d8e9676e9d8a73a5115f42aa66b87bcd4c5
pkgname = mingw-w64-qtutilities
diff --git a/PKGBUILD b/PKGBUILD
index 7058da86fec..da50d707ea7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
_reponame=qtutilities
pkgname=mingw-w64-qtutilities
_name=${pkgname#mingw-w64-}
-pkgver=5.0.0
+pkgver=5.1.0
pkgrel=1
arch=('any')
pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (mingw-w64)'
@@ -15,41 +15,33 @@ depends=('mingw-w64-crt' 'mingw-w64-qt5-base' 'mingw-w64-c++utilities')
makedepends=('mingw-w64-gcc' 'mingw-w64-cmake')
optdepends=("$pkgname-doc: API documentation")
url="https://github.com/Martchus/${_reponame}"
-source=("${_reponame}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
-sha256sums=('3f8a6ea49b889febbb012674c773140793ad974731616b7142917ff53ed29cc0')
+source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
+sha256sums=('d4690094f4f2dd942e3e623cac210d8e9676e9d8a73a5115f42aa66b87bcd4c5')
options=(!buildflags staticlibs !strip !emptydirs)
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
[[ $NO_STATIC_LIBS ]] ||
makedepends+=('mingw-w64-qt5-base-static' 'mingw-w64-qt5-svg') \
optdepends+=('mingw-w64-qt5-base-static: use of static library'
'mingw-w64-qt5-svg: use of static library') \
- _configurations+=('static: -DENABLE_STATIC_LIBS:BOOL=ON -DDISABLE_SHARED_LIBS:BOOL=ON')
-[[ $NO_SHARED_LIBS ]] || _configurations+=('shared: -DENABLE_STATIC_LIBS:BOOL=OFF -DDISABLE_SHARED_LIBS:BOOL=OFF')
+ _configurations='-DENABLE_STATIC_LIBS:BOOL=ON'
+[[ $NO_SHARED_LIBS ]] && _configurations+=' -DDISABLE_SHARED_LIBS:BOOL=ON'
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
- export CXXFLAGS='-O0'
export PREVENT_FORCING_SHARED_LIBS=ON
for _arch in ${_architectures}; do
- for _config in "${_configurations[@]}"; do
- msg2 "Building ${_config%%: *} version for ${_arch}"
- mkdir -p "build-${_arch}-${_config%%: *}" && pushd "build-${_arch}-${_config%%: *}"
- echo ${_arch}-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr/${_arch}" ${_config#*: } ../
- ${_arch}-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr/${_arch}" ${_config#*: } ../
- make
- popd
- done
+ mkdir -p "build-${_arch}" && pushd "build-${_arch}"
+ ${_arch}-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr/${_arch}" ${_configurations} ../
+ make
+ popd
done
}
package() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
for _arch in ${_architectures}; do
- for _config in "${_configurations[@]}"; do
- msg2 "Packaging ${_config%%: *} version for ${_arch}"
- mkdir -p "build-${_arch}-${_config%%: *}" && pushd "build-${_arch}-${_config%%: *}"
- make DESTDIR="${pkgdir}" install-mingw-w64-strip
- popd
- done
+ mkdir -p "build-${_arch}" && pushd "build-${_arch}"
+ make DESTDIR="${pkgdir}" install-mingw-w64-strip
+ popd
done
}