From d60716b71fe998b7f7e1594698a11bd1f8ec8505 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 12 Jan 2018 16:49:18 +0100 Subject: [PATCH] Update own projects, including reflective-rapidjson --- c++utilities/default/PKGBUILD | 4 +- c++utilities/doc/PKGBUILD | 4 +- c++utilities/mingw-w64/PKGBUILD | 4 +- qtutilities/default/PKGBUILD | 4 +- qtutilities/doc/PKGBUILD | 4 +- qtutilities/mingw-w64/PKGBUILD | 10 +++-- reflective-rapidjson/default/PKGBUILD | 40 ++++++++++++++++++++ reflective-rapidjson/doc/PKGBUILD | 28 ++++++++++++++ reflective-rapidjson/mingw-w64/PKGBUILD | 48 ++++++++++++++++++++++++ syncthingtray/default/PKGBUILD | 4 +- syncthingtray/git/PKGBUILD | 2 +- syncthingtray/mingw-w64-static/PKGBUILD | 7 ++-- syncthingtray/mingw-w64-webview/PKGBUILD | 8 ++-- syncthingtray/mingw-w64/PKGBUILD | 4 +- tageditor/default/PKGBUILD | 12 ++++-- tageditor/git/PKGBUILD | 8 +++- tageditor/mingw-w64-static/PKGBUILD | 13 +++++-- tageditor/mingw-w64-webview/PKGBUILD | 10 ++++- tageditor/mingw-w64/PKGBUILD | 10 ++++- 19 files changed, 189 insertions(+), 35 deletions(-) create mode 100644 reflective-rapidjson/default/PKGBUILD create mode 100644 reflective-rapidjson/doc/PKGBUILD create mode 100644 reflective-rapidjson/mingw-w64/PKGBUILD diff --git a/c++utilities/default/PKGBUILD b/c++utilities/default/PKGBUILD index 267b1f1e..3ae8bc21 100644 --- a/c++utilities/default/PKGBUILD +++ b/c++utilities/default/PKGBUILD @@ -5,7 +5,7 @@ _reponame=cpp-utilities pkgname=c++utilities -pkgver=4.11.0 +pkgver=4.12.0 pkgrel=1 arch=('i686' 'x86_64') pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities' @@ -16,7 +16,7 @@ makedepends=('cmake') checkdepends=('cppunit') url="https://github.com/Martchus/${_reponame}" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('9397a5e5f1d53065a42faa6c3df99fb4865334669ddcd6994e58458773dfd46e') +sha256sums=('e3a70899d86ba7787d9612d7b10a6c2ebadc9860991c88b00f43fe485d27b51b') prepare() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/c++utilities/doc/PKGBUILD b/c++utilities/doc/PKGBUILD index 787832f0..4efc8e1b 100644 --- a/c++utilities/doc/PKGBUILD +++ b/c++utilities/doc/PKGBUILD @@ -6,7 +6,7 @@ _name=c++utilities _reponame=cpp-utilities pkgname=$_name-doc -pkgver=4.11.0 +pkgver=4.12.0 pkgrel=1 arch=('any') pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities (API documentation)' @@ -14,7 +14,7 @@ license=('GPL') makedepends=('cmake' 'doxygen' 'dia' 'graphviz') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('9397a5e5f1d53065a42faa6c3df99fb4865334669ddcd6994e58458773dfd46e') +sha256sums=('e3a70899d86ba7787d9612d7b10a6c2ebadc9860991c88b00f43fe485d27b51b') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/c++utilities/mingw-w64/PKGBUILD b/c++utilities/mingw-w64/PKGBUILD index 0a840bfa..7f5e28b2 100644 --- a/c++utilities/mingw-w64/PKGBUILD +++ b/c++utilities/mingw-w64/PKGBUILD @@ -6,7 +6,7 @@ _reponame=cpp-utilities pkgname=mingw-w64-c++utilities _name=${pkgname#mingw-w64-} -pkgver=4.11.0 +pkgver=4.12.0 pkgrel=1 arch=('any') pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities (mingw-w64)' @@ -16,7 +16,7 @@ optdepends=("$_name-doc: API documentation") makedepends=('mingw-w64-gcc' 'mingw-w64-cmake') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('9397a5e5f1d53065a42faa6c3df99fb4865334669ddcd6994e58458773dfd46e') +sha256sums=('e3a70899d86ba7787d9612d7b10a6c2ebadc9860991c88b00f43fe485d27b51b') options=(!buildflags staticlibs !strip !emptydirs) _architectures='i686-w64-mingw32 x86_64-w64-mingw32' [[ $NO_STATIC_LIBS ]] || _configurations='-DENABLE_STATIC_LIBS:BOOL=ON' diff --git a/qtutilities/default/PKGBUILD b/qtutilities/default/PKGBUILD index 31ca4c8b..0ac36be8 100644 --- a/qtutilities/default/PKGBUILD +++ b/qtutilities/default/PKGBUILD @@ -5,7 +5,7 @@ _reponame=qtutilities pkgname=qtutilities -pkgver=5.8.1 +pkgver=5.8.2 pkgrel=1 arch=('i686' 'x86_64') pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models' @@ -15,7 +15,7 @@ makedepends=('cmake' 'qt5-tools') optdepends=("$pkgname-doc: API documentation") url="https://github.com/Martchus/${_reponame}" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('f3e72a98aabb31a36fe1294be2e6c5fec66bdd26faf95386554d7e8981c43383') +sha256sums=('a20cdd3e854c77bc25f9a05c079e5b81dc53d1eef3b8a6d913f3f14d8b6eabaa') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/qtutilities/doc/PKGBUILD b/qtutilities/doc/PKGBUILD index 8d86c0af..47686d0f 100644 --- a/qtutilities/doc/PKGBUILD +++ b/qtutilities/doc/PKGBUILD @@ -6,7 +6,7 @@ _name=qtutilities _reponame=$_name pkgname=$_name-doc -pkgver=5.8.1 +pkgver=5.8.2 pkgrel=1 arch=('any') pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (API documentation)' @@ -14,7 +14,7 @@ license=('GPL') makedepends=('cmake' 'doxygen' 'dia' 'graphviz' 'c++utilities' 'qt5-tools') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('f3e72a98aabb31a36fe1294be2e6c5fec66bdd26faf95386554d7e8981c43383') +sha256sums=('a20cdd3e854c77bc25f9a05c079e5b81dc53d1eef3b8a6d913f3f14d8b6eabaa') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/qtutilities/mingw-w64/PKGBUILD b/qtutilities/mingw-w64/PKGBUILD index 17971cde..4a6ded54 100644 --- a/qtutilities/mingw-w64/PKGBUILD +++ b/qtutilities/mingw-w64/PKGBUILD @@ -6,7 +6,7 @@ _reponame=qtutilities pkgname=mingw-w64-qtutilities _name=${pkgname#mingw-w64-} -pkgver=5.8.1 +pkgver=5.8.2 pkgrel=1 arch=('any') pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models (mingw-w64)' @@ -16,7 +16,7 @@ makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-tools') optdepends=("$_name-doc: API documentation") url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('f3e72a98aabb31a36fe1294be2e6c5fec66bdd26faf95386554d7e8981c43383') +sha256sums=('a20cdd3e854c77bc25f9a05c079e5b81dc53d1eef3b8a6d913f3f14d8b6eabaa') options=(!buildflags staticlibs !strip !emptydirs) _architectures='i686-w64-mingw32 x86_64-w64-mingw32' [[ $NO_STATIC_LIBS ]] || @@ -31,7 +31,11 @@ build() { export PREVENT_FORCING_SHARED_LIBS=ON for _arch in ${_architectures}; do mkdir -p "build-${_arch}" && pushd "build-${_arch}" - ${_arch}-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr/${_arch}" ${_configurations} ../ + ${_arch}-cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX="/usr/${_arch}" \ + -DBUILTIN_TRANSLATIONS:BOOL=ON \ + ${_configurations} ../ make popd done diff --git a/reflective-rapidjson/default/PKGBUILD b/reflective-rapidjson/default/PKGBUILD new file mode 100644 index 00000000..6b93b5c6 --- /dev/null +++ b/reflective-rapidjson/default/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Martchus + +# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where +# you also find the URL of a binary repository. + +_reponame=reflective-rapidjson +pkgname=reflective-rapidjson +pkgver=0.0.2 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc='Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON' +license=('GPL') +depends=('c++utilities' 'llvm-libs' 'rapidjson') +optdepends=("boost: use Boost.Hana instead of code generator") +optdepends=("$pkgname-doc: API documentation") +makedepends=('cmake' 'clang' 'clang-tools-extra' 'boost' 'llvm') +checkdepends=('cppunit') +url="https://github.com/Martchus/${_reponame}" +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") +sha256sums=('7a41deebf594e845a02f9f037a00f8cc19af65ba2fd7c364a0e5c3702e324506') + +prepare() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" +} + +build() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" + make +} + +check() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + make check +} + +package() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/reflective-rapidjson/doc/PKGBUILD b/reflective-rapidjson/doc/PKGBUILD new file mode 100644 index 00000000..c4174d9a --- /dev/null +++ b/reflective-rapidjson/doc/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Martchus + +# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where +# you also find the URL of a binary repository. + +_name=reflective-rapidjson +_reponame=reflective-rapidjson +pkgname=$_name-doc +pkgver=0.0.2 +pkgrel=1 +arch=('any') +pkgdesc='Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON (API documentation)' +license=('GPL') +makedepends=('c++utilities' 'cmake' 'doxygen' 'dia' 'graphviz' 'clang' 'clang-tools-extra' 'llvm' 'rapidjson') +url="https://github.com/Martchus/${_reponame}" +source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") +sha256sums=('7a41deebf594e845a02f9f037a00f8cc19af65ba2fd7c364a0e5c3702e324506') + +build() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" + make reflective_rapidjson_apidoc +} + +package() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + make DESTDIR="${pkgdir}" install-api-doc +} diff --git a/reflective-rapidjson/mingw-w64/PKGBUILD b/reflective-rapidjson/mingw-w64/PKGBUILD new file mode 100644 index 00000000..a6bbfc7d --- /dev/null +++ b/reflective-rapidjson/mingw-w64/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Martchus + +# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where +# you also find the URL of a binary repository. + +_reponame=reflective-rapidjson +pkgname=mingw-w64-reflective-rapidjson +_name=${pkgname#mingw-w64-} +pkgver=0.0.2 +pkgrel=1 +arch=('any') +pkgdesc='Code generator for serializing/deserializing C++ objects to/from JSON using Clang and RapidJSON (mingw-w64)' +license=('GPL') +depends=('mingw-w64-crt' 'mingw-w64-c++utilities' 'mingw-w64-rapidjson' 'reflective-rapidjson') +optdepends=("mingw-w64-boost: use Boost.Hana instead of code generator") +optdepends=("$_name-doc: API documentation") +makedepends=('mingw-w64-gcc' 'mingw-w64-cmake') +url="https://github.com/Martchus/${_reponame}" +source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") +sha256sums=('7a41deebf594e845a02f9f037a00f8cc19af65ba2fd7c364a0e5c3702e324506') +options=(!buildflags staticlibs !strip !emptydirs) +_architectures='i686-w64-mingw32 x86_64-w64-mingw32' +[[ $NO_STATIC_LIBS ]] || _configurations='-DENABLE_STATIC_LIBS:BOOL=ON' +[[ $NO_SHARED_LIBS ]] && _configurations+=' -DDISABLE_SHARED_LIBS:BOOL=ON' + +build() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + for _arch in ${_architectures}; do + mkdir -p "build-${_arch}" && pushd "build-${_arch}" + # disable building the code generator since it is not useful for cross-compilation + ${_arch}-cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX="/usr/${_arch}" \ + -DNO_GENERATOR=ON \ + ${_configurations} \ + ../ + make + popd + done +} + +package() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + for _arch in ${_architectures}; do + mkdir -p "build-${_arch}" && pushd "build-${_arch}" + make DESTDIR="${pkgdir}" install-mingw-w64-strip + popd + done +} diff --git a/syncthingtray/default/PKGBUILD b/syncthingtray/default/PKGBUILD index 44527f1d..64a5d906 100644 --- a/syncthingtray/default/PKGBUILD +++ b/syncthingtray/default/PKGBUILD @@ -18,7 +18,7 @@ _enable_plasmoid=1 _reponame=syncthingtray pkgname=syncthingtray -pkgver=0.7.1 +pkgver=0.7.2 pkgrel=1 arch=('i686' 'x86_64') pkgdesc='Tray application for Syncthing' @@ -35,7 +35,7 @@ checkdepends=('cppunit' 'syncthing') [[ $_enable_plasmoid ]] && makedepends+=('plasma-framework' 'extra-cmake-modules') url="https://github.com/Martchus/${_reponame}" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('b2824df6a4361a9fe1097cc4288056b254f8059415e2eb303202ae3cb80685cd') +sha256sums=('af1769702676dbde33db692a39f81627b29dc09a8ce8c3bd8c2ee5eef22a5a3f') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/syncthingtray/git/PKGBUILD b/syncthingtray/git/PKGBUILD index 53c5f413..46094bf9 100644 --- a/syncthingtray/git/PKGBUILD +++ b/syncthingtray/git/PKGBUILD @@ -19,7 +19,7 @@ _enable_plasmoid=1 _reponame=syncthingtray pkgname=syncthingtray-git _name=${pkgname%-git} -pkgver=0.6.3 +pkgver=0.7.2 pkgrel=1 arch=('i686' 'x86_64') pkgdesc='Tray application for Syncthing' diff --git a/syncthingtray/mingw-w64-static/PKGBUILD b/syncthingtray/mingw-w64-static/PKGBUILD index 9eb94ee8..59a2568b 100644 --- a/syncthingtray/mingw-w64-static/PKGBUILD +++ b/syncthingtray/mingw-w64-static/PKGBUILD @@ -9,19 +9,19 @@ _webview_provider=none _reponame=syncthingtray pkgname=mingw-w64-syncthingtray-static _name=${_reponame} -pkgver=0.7.1 +pkgver=0.7.2 pkgrel=1 arch=('any') pkgdesc='Tray application for Syncthing (mingw-w64)' license=('GPL') depends=('mingw-w64-crt') -makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-base-static' 'mingw-w64-qt5-tools' 'mingw-w64-qt5-svg' 'mingw-w64-qtutilities' 'mingw-w64-openssl' 'breeze-icons' 'numix-icon-theme-git' 'ffmpeg') +makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-base-static' 'mingw-w64-qt5-tools' 'mingw-w64-qt5-translations' 'mingw-w64-qt5-svg' 'mingw-w64-qtutilities' 'mingw-w64-openssl' 'breeze-icons' 'numix-icon-theme-git' 'ffmpeg') [[ $_webview_provider == webkit ]] && makedepends+=('mingw-w64-qt5-webkit') [[ $_webview_provider == webengine ]] && makedepends+=('mingw-w64-qt5-webengine') conflicts=("${pkgname%-static}") url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('b2824df6a4361a9fe1097cc4288056b254f8059415e2eb303202ae3cb80685cd') +sha256sums=('af1769702676dbde33db692a39f81627b29dc09a8ce8c3bd8c2ee5eef22a5a3f') options=(!buildflags staticlibs !strip !emptydirs) _architectures='i686-w64-mingw32 x86_64-w64-mingw32' @@ -39,6 +39,7 @@ build() { -DDISABLE_SHARED_LIBS:BOOL=ON \ -DSTATIC_LINKAGE:BOOL=ON \ -DBUILTIN_TRANSLATIONS:BOOL=ON \ + -DENABLE_QT_TRANSLATIONS:BOOL=ON \ -DBUILTIN_ICON_THEMES:STRING='breeze;breeze-dark;Numix' \ -DIMAGE_FORMAT_SUPPORT:STRING='Gif;ICO;Jpeg' \ -DSVG_SUPPORT:BOOL=ON \ diff --git a/syncthingtray/mingw-w64-webview/PKGBUILD b/syncthingtray/mingw-w64-webview/PKGBUILD index 98dfe8e4..1a1b93e9 100644 --- a/syncthingtray/mingw-w64-webview/PKGBUILD +++ b/syncthingtray/mingw-w64-webview/PKGBUILD @@ -10,7 +10,7 @@ _reponame=syncthingtray pkgname=mingw-w64-syncthingtray-webview provides=('mingw-w64-syncthingtray') conflicts=('mingw-w64-syncthingtray') -pkgver=0.7.1 +pkgver=0.7.2 pkgrel=1 arch=('any') pkgdesc='Tray application for Syncthing (mingw-w64)' @@ -22,7 +22,7 @@ depends=('mingw-w64-crt' 'mingw-w64-qt5-svg' 'mingw-w64-qtutilities' 'mingw-w64- makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-tools' 'ffmpeg') url="https://github.com/Martchus/${_reponame}" source=("${_reponame}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('b2824df6a4361a9fe1097cc4288056b254f8059415e2eb303202ae3cb80685cd') +sha256sums=('af1769702676dbde33db692a39f81627b29dc09a8ce8c3bd8c2ee5eef22a5a3f') options=(!buildflags staticlibs !strip !emptydirs) _architectures='i686-w64-mingw32 x86_64-w64-mingw32' @@ -36,7 +36,9 @@ build() { -DWEBVIEW_PROVIDER="${_webview_provider}" \ -DSYSTEMD_SUPPORT=OFF \ -DNO_FILE_ITEM_ACTION_PLUGIN=ON \ - ${_configurations} \ + -DENABLE_STATIC_LIBS:BOOL=OFF \ + -DDISABLE_SHARED_LIBS:BOOL=OFF \ + -DSTATIC_LINKAGE:BOOL=OFF \ ../ make popd diff --git a/syncthingtray/mingw-w64/PKGBUILD b/syncthingtray/mingw-w64/PKGBUILD index 5c5c71cb..5100543c 100644 --- a/syncthingtray/mingw-w64/PKGBUILD +++ b/syncthingtray/mingw-w64/PKGBUILD @@ -9,7 +9,7 @@ _webview_provider=none _reponame=syncthingtray pkgname=mingw-w64-syncthingtray _name=${pkgname#mingw-w64-} -pkgver=0.7.1 +pkgver=0.7.2 pkgrel=1 arch=('any') pkgdesc='Tray application for Syncthing (mingw-w64)' @@ -21,7 +21,7 @@ depends=('mingw-w64-crt' 'mingw-w64-qt5-svg' 'mingw-w64-qtutilities' 'mingw-w64- makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-tools' 'ffmpeg') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('b2824df6a4361a9fe1097cc4288056b254f8059415e2eb303202ae3cb80685cd') +sha256sums=('af1769702676dbde33db692a39f81627b29dc09a8ce8c3bd8c2ee5eef22a5a3f') options=(!buildflags staticlibs !strip !emptydirs) _architectures='i686-w64-mingw32 x86_64-w64-mingw32' diff --git a/tageditor/default/PKGBUILD b/tageditor/default/PKGBUILD index 8c6f503f..c9c271af 100644 --- a/tageditor/default/PKGBUILD +++ b/tageditor/default/PKGBUILD @@ -9,9 +9,12 @@ _webview_provider=webkit # set the JavaScript provider: either script, qml, auto or none _js_provider=qml +# whether the experimental JSON export is enabled: ON or OFF +_json_export=ON + _reponame=tageditor pkgname=tageditor -pkgver=2.3.0 +pkgver=2.3.1 pkgrel=1 arch=('i686' 'x86_64') pkgdesc='A tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska' @@ -23,10 +26,11 @@ depends=('qtutilities>=5.6.0' 'tagparser>=6.2.0' 'desktop-file-utils' 'xdg-utils [[ $_js_provider == script ]] && depends+=('qt5-script>=5.6') [[ $_js_provider == qml ]] && depends+=('qt5-declarative>=5.6') makedepends=('cmake' 'qt5-tools') +[[ $_json_export == ON ]] && makedepends+=('reflective-rapidjson') checkdepends=('cppunit') url="https://github.com/Martchus/${_reponame}" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('bff72b3df7c919e45d7d0113b5b6ba5f939282c98d15a11a5e8c5d14d9d33dde') +sha256sums=('3d9204c7a7e5a06916a7f6b97fbb50a32282c762fd9a432106254ed0d9706d79') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" @@ -34,7 +38,9 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DWEBVIEW_PROVIDER="${_webview_provider}" \ - -DJS_PROVIDER="${_js_provider}" + -DJS_PROVIDER="${_js_provider}" \ + -DENABLE_JSON_EXPORT="${_json_export}" \ + -DREFLECTION_GENERATOR_EXECUTABLE:FILEPATH='/usr/bin/reflective_rapidjson_generator' make } diff --git a/tageditor/git/PKGBUILD b/tageditor/git/PKGBUILD index 7daacfc0..3bda0b01 100644 --- a/tageditor/git/PKGBUILD +++ b/tageditor/git/PKGBUILD @@ -9,6 +9,9 @@ _webview_provider=webkit # set the JavaScript provider: either script, qml, auto or none _js_provider=qml +# whether the experimental JSON export is enabled: ON or OFF +_json_export=ON + _reponame=tageditor pkgname=tageditor-git _name=${pkgname%-git} @@ -24,6 +27,7 @@ depends=('qtutilities-git' 'tagparser-git' 'desktop-file-utils' 'xdg-utils') [[ $_js_provider == script ]] && depends+=('qt5-script') [[ $_js_provider == qml ]] && depends+=('qt5-declarative') makedepends=('cmake' 'qt5-tools' 'git') +[[ $_json_export == ON ]] && makedepends+=('reflective-rapidjson') checkdepends=('cppunit') provides=("${_name}") conflicts=("${_name}") @@ -42,7 +46,9 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DWEBVIEW_PROVIDER="${_webview_provider}" \ - -DJS_PROVIDER="${_js_provider}" + -DJS_PROVIDER="${_js_provider}" \ + -DENABLE_JSON_EXPORT="${_json_export}" \ + -DREFLECTION_GENERATOR_EXECUTABLE:FILEPATH='/usr/bin/reflective_rapidjson_generator' make } diff --git a/tageditor/mingw-w64-static/PKGBUILD b/tageditor/mingw-w64-static/PKGBUILD index ac5db192..80710670 100644 --- a/tageditor/mingw-w64-static/PKGBUILD +++ b/tageditor/mingw-w64-static/PKGBUILD @@ -9,24 +9,28 @@ _webview_provider=none # set the JavaScript provider: either script, qml, auto or none _js_provider=qml +# whether the experimental JSON export is enabled: ON or OFF +_json_export=ON + _reponame=tageditor pkgname=mingw-w64-tageditor-static _name=${_reponame} -pkgver=2.3.0 +pkgver=2.3.1 pkgrel=1 arch=('any') pkgdesc='A tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska' license=('GPL') depends=('mingw-w64-crt') -makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-base-static' 'mingw-w64-qt5-tools' 'mingw-w64-qt5-svg' 'mingw-w64-qtutilities' 'mingw-w64-tagparser' 'breeze-icons' 'numix-icon-theme-git' 'ffmpeg') +makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-base-static' 'mingw-w64-qt5-tools' 'mingw-w64-qt5-translations' 'mingw-w64-qt5-svg' 'mingw-w64-qtutilities' 'mingw-w64-tagparser' 'breeze-icons' 'numix-icon-theme-git' 'ffmpeg') [[ $_webview_provider == webkit ]] && makedepends+=('mingw-w64-qt5-webkit') [[ $_webview_provider == webengine ]] && makedepends+=('mingw-w64-qt5-webengine') [[ $_js_provider == script ]] && makedepends+=('mingw-w64-qt5-script') [[ $_js_provider == qml ]] && makedepends+=('mingw-w64-qt5-declarative') +[[ $_json_export == ON ]] && makedepends+=('mingw-w64-reflective-rapidjson') conflicts=("${pkgname%-static}") url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('bff72b3df7c919e45d7d0113b5b6ba5f939282c98d15a11a5e8c5d14d9d33dde') +sha256sums=('3d9204c7a7e5a06916a7f6b97fbb50a32282c762fd9a432106254ed0d9706d79') options=(!buildflags staticlibs !strip !emptydirs) _architectures='i686-w64-mingw32 x86_64-w64-mingw32' @@ -39,10 +43,13 @@ build() { -DCMAKE_INSTALL_PREFIX="/usr/${_arch}" \ -DWEBVIEW_PROVIDER="${_webview_provider}" \ -DJS_PROVIDER="${_js_provider}" \ + -DENABLE_JSON_EXPORT="${_json_export}" \ + -DREFLECTION_GENERATOR_EXECUTABLE:FILEPATH='/usr/bin/reflective_rapidjson_generator' \ -DENABLE_STATIC_LIBS:BOOL=ON \ -DDISABLE_SHARED_LIBS:BOOL=ON \ -DSTATIC_LINKAGE:BOOL=ON \ -DBUILTIN_TRANSLATIONS:BOOL=ON \ + -DENABLE_QT_TRANSLATIONS:BOOL=ON \ -DBUILTIN_ICON_THEMES:STRING='breeze;breeze-dark;Numix' \ -DIMAGE_FORMAT_SUPPORT:STRING='Gif;ICO;Jpeg' \ -DSVG_SUPPORT:BOOL=ON \ diff --git a/tageditor/mingw-w64-webview/PKGBUILD b/tageditor/mingw-w64-webview/PKGBUILD index 24200abc..6855208e 100644 --- a/tageditor/mingw-w64-webview/PKGBUILD +++ b/tageditor/mingw-w64-webview/PKGBUILD @@ -9,12 +9,15 @@ _webview_provider=webkit # set the JavaScript provider: either script, qml, auto or none _js_provider=script +# whether the experimental JSON export is enabled: ON or OFF +_json_export=ON + _reponame=tageditor pkgname=mingw-w64-tageditor-webview provides=('mingw-w64-tageditor') conflicts=('mingw-w64-tageditor') _name=${pkgname#mingw-w64-} -pkgver=2.3.0 +pkgver=2.3.1 pkgrel=1 arch=('any') pkgdesc='A tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska' @@ -26,9 +29,10 @@ depends=('mingw-w64-crt' 'mingw-w64-qtutilities>=5.6.0' 'mingw-w64-tagparser>=6. [[ $_js_provider == script ]] && depends+=('mingw-w64-qt5-script>=5.6') [[ $_js_provider == qml ]] && depends+=('mingw-w64-qt5-declarative>=5.6') makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-tools' 'ffmpeg') +[[ $_json_export == ON ]] && makedepends+=('mingw-w64-reflective-rapidjson') url="https://github.com/Martchus/${_reponame}" source=("${_reponame}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('bff72b3df7c919e45d7d0113b5b6ba5f939282c98d15a11a5e8c5d14d9d33dde') +sha256sums=('3d9204c7a7e5a06916a7f6b97fbb50a32282c762fd9a432106254ed0d9706d79') options=(!buildflags staticlibs !strip !emptydirs) _architectures='i686-w64-mingw32 x86_64-w64-mingw32' @@ -41,6 +45,8 @@ build() { -DCMAKE_INSTALL_PREFIX="/usr/${_arch}" \ -DWEBVIEW_PROVIDER="${_webview_provider}" \ -DJS_PROVIDER="${_js_provider}" \ + -DENABLE_JSON_EXPORT="${_json_export}" \ + -DREFLECTION_GENERATOR_EXECUTABLE:FILEPATH='/usr/bin/reflective_rapidjson_generator' \ ../ make popd diff --git a/tageditor/mingw-w64/PKGBUILD b/tageditor/mingw-w64/PKGBUILD index 13ac98e4..e2206c4c 100644 --- a/tageditor/mingw-w64/PKGBUILD +++ b/tageditor/mingw-w64/PKGBUILD @@ -9,10 +9,13 @@ _webview_provider=none # set the JavaScript provider: either script, qml, auto or none _js_provider=script +# whether the experimental JSON export is enabled: ON or OFF +_json_export=ON + _reponame=tageditor pkgname=mingw-w64-tageditor _name=${pkgname#mingw-w64-} -pkgver=2.3.0 +pkgver=2.3.1 pkgrel=1 arch=('any') pkgdesc='A tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska' @@ -24,9 +27,10 @@ depends=('mingw-w64-crt' 'mingw-w64-qtutilities>=5.6.0' 'mingw-w64-tagparser>=6. [[ $_js_provider == script ]] && depends+=('mingw-w64-qt5-script>=5.6') [[ $_js_provider == qml ]] && depends+=('mingw-w64-qt5-declarative>=5.6') makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-tools' 'ffmpeg') +[[ $_json_export == ON ]] && makedepends+=('mingw-w64-reflective-rapidjson') url="https://github.com/Martchus/${_reponame}" source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('bff72b3df7c919e45d7d0113b5b6ba5f939282c98d15a11a5e8c5d14d9d33dde') +sha256sums=('3d9204c7a7e5a06916a7f6b97fbb50a32282c762fd9a432106254ed0d9706d79') options=(!buildflags staticlibs !strip !emptydirs) _architectures='i686-w64-mingw32 x86_64-w64-mingw32' @@ -39,6 +43,8 @@ build() { -DCMAKE_INSTALL_PREFIX="/usr/${_arch}" \ -DWEBVIEW_PROVIDER="${_webview_provider}" \ -DJS_PROVIDER="${_js_provider}" \ + -DENABLE_JSON_EXPORT="${_json_export}" \ + -DREFLECTION_GENERATOR_EXECUTABLE:FILEPATH='/usr/bin/reflective_rapidjson_generator' \ ../ make popd