updates PKGBUILDs

This commit is contained in:
Martchus 2015-08-11 22:21:14 +02:00
parent 61e04f6382
commit e81ce6bcda
10 changed files with 31 additions and 17 deletions

View File

@ -6,8 +6,8 @@ arch=('i686' 'x86_64')
pkgdesc="Common C++ classes and routines used by my applications such
as argument parser, IO and conversion utilities."
license=('GPL')
depends=('qt5-base')
makedepends=
depends=('gcc-libs')
makedepends=('qt5-base')
url="https://github.com/Martchus/cpp-utilities"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/archive/v${pkgver}.tar.gz")
_reponame=cpp-utilities

View File

@ -7,8 +7,8 @@ arch=('any')
pkgdesc="Common C++ classes and routines used by my applications such
as argument parser, IO and conversion utilities (mingw-w64)."
license=('GPL')
depends=('mingw-w64-crt' 'mingw-w64-qt5-base')
makedepends=('mingw-w64-gcc')
depends=('mingw-w64-crt')
makedepends=('mingw-w64-gcc' 'mingw-w64-qt5-base')
url="https://github.com/Martchus/cpp-utilities"
source=("c++utilities-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/archive/v${pkgver}.tar.gz")
_reponame=cpp-utilities

View File

@ -7,7 +7,7 @@ arch=('any')
pkgdesc="A library for reading and writing AES-256-CBC encrypted password files using OpenSSL (mingw-w64)."
license=('GPL')
depends=('mingw-w64-crt' 'mingw-w64-c++utilities' 'mingw-w64-openssl')
makedepends=('mingw-w64-gcc')
makedepends=('mingw-w64-gcc' 'mingw-w64-qt5-base')
url="https://github.com/Martchus/passwordfile"
source=("passwordfile-${pkgver}.tar.gz::https://github.com/Martchus/passwordfile/archive/v${pkgver}.tar.gz")
_reponame=passwordfile

View File

@ -6,7 +6,7 @@ arch=('i686' 'x86_64')
pkgdesc="Common Qt related C++ classes and routines used by my
applications such as dialogs, widgets and models."
license=('GPL')
depends=('c++utilities')
depends=('c++utilities' 'qt5-base')
makedepends=
url="https://github.com/Martchus/qtutilities"
source=("qtutilities-${pkgver}.tar.gz::https://github.com/Martchus/qtutilities/archive/v${pkgver}.tar.gz")

View File

@ -1,11 +1,11 @@
# Maintainer: Martchus <martchus@gmx.net>
pkgname=repoindex
pkgver=1.0.0
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
pkgdesc="Provides a web interface to browse Arch Linux package repositories."
license=('GPL')
depends=('qt5-base' 'qt5-network' 'pacman')
depends=('qt5-base' 'qt5-network' 'pacman' 'c++utilities')
makedepends=
url="https://github.com/Martchus/repoindex"
source=("repoindex-${pkgver}.tar.gz::https://github.com/Martchus/repoindex/archive/v${pkgver}.tar.gz")

View File

@ -1,11 +1,14 @@
# Maintainer: Martchus <martchus@gmx.net>
# decide whether to link against the deprecated Qt WebKit module (in qt5-webkit package ~40 MB) or
# the newer, chromium-based Qt WebEngine module (in qt5-webengine package ~100 MB)
_webviewprovider=qt5-webkit
pkgname=tageditor
pkgver=1.1.5
pkgrel=2
pkgrel=4
arch=('i686' 'x86_64')
pkgdesc="Library for reading and editing meta-data of several media formats."
license=('GPL')
depends=('qt5-base' 'qt5-script' 'qt5-webkit' 'qtutilities' 'tagparser')
depends=('qt5-script' $_webviewprovider 'qtutilities' 'tagparser')
makedepends=('qt5-tools')
install=${pkgname}.install
url="https://github.com/Martchus/tageditor"
@ -17,7 +20,11 @@ sha256sums=('3f928ba196940cc539d0af752b69339a')
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++
cfg=()
if [[ _webviewprovider == qt5-webkit ]]; then
cfg+=(forcewebkit)
fi
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" $(for val in "${cfg[@]}"; do echo -n "CONFIG+=$val "; done)
make
}

View File

@ -1,12 +1,15 @@
# Maintainer: Martchus <martchus@gmx.net>
_name=tageditor
# decide whether to link against the deprecated Qt WebKit module (qt5-webkit package ~40 MB) or
# the newer, chromium-based Qt WebEngine module (qt5-webengine package ~100 MB)
_webviewprovider=qt5-webkit
pkgname=mingw-w64-tageditor
pkgver=1.1.5
pkgrel=2
pkgrel=4
arch=('any')
pkgdesc="Library for reading and editing meta-data of several media formats (mingw-w64)."
license=('GPL')
depends=('mingw-w64-crt' 'mingw-w64-qt5-base' 'mingw-w64-qt5-script' 'mingw-w64-qt5-webkit' 'mingw-w64-qtutilities' 'mingw-w64-tagparser')
depends=(mingw-w64-{crt,qt5-script,$_webviewprovider,qtutilities,tagparser})
makedepends=('mingw-w64-gcc' 'mingw-w64-qt5-tools')
url="https://github.com/Martchus/tageditor"
source=("tageditor-${pkgver}.tar.gz::https://github.com/Martchus/tageditor/archive/v${pkgver}.tar.gz")
@ -18,10 +21,14 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
cfg=(mingw-w64-{install,manualstrip-exe,noversion})
if [[ _webviewprovider == qt5-webkit ]]; then
cfg+=(forcewebkit)
fi
# build utilities for each architecture
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}
INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion
INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 ../${_name}.pro $(for val in "${cfg[@]}"; do echo -n "CONFIG+=$val "; done)
make
popd
done

View File

@ -6,7 +6,7 @@ arch=('i686' 'x86_64')
pkgdesc="Library for reading and editing meta-data of several media formats."
license=('GPL')
depends=('c++utilities')
makedepends=
makedepends=('qt5-base')
url="https://github.com/Martchus/tagparser"
source=("tagparser-${pkgver}.tar.gz::https://github.com/Martchus/tagparser/archive/v${pkgver}.tar.gz")
_reponame=tagparser

View File

@ -5,7 +5,7 @@ pkgrel=2
arch=('i686' 'x86_64')
pkgdesc="A video downloader with Qt GUI (currently only YouTube is maintained)."
license=('GPL')
depends=('qt5-base' 'qtutilities' 'openssl')
depends=('qtutilities' 'openssl')
makedepends=('qt5-tools')
install=${pkgname}.install
url="https://github.com/Martchus/videodownloader"

View File

@ -6,7 +6,7 @@ pkgrel=2
arch=('any')
pkgdesc="A video downloader with Qt GUI (currently only YouTube is maintained, mingw-w64)."
license=('GPL')
depends=('mingw-w64-crt' 'mingw-w64-qt5-base' 'mingw-w64-qtutilities' 'mingw-w64-openssl')
depends=('mingw-w64-crt' 'mingw-w64-qtutilities' 'mingw-w64-openssl')
makedepends=('mingw-w64-gcc')
url="https://github.com/Martchus/videodownloader"
source=("videodownloader-${pkgver}.tar.gz::https://github.com/Martchus/videodownloader/archive/v${pkgver}.tar.gz")