From 09efe13b2c62c587ed37b01f5637a80132bd67a9 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 4 Aug 2017 10:53:10 +0200 Subject: [PATCH] Improve package for own projects --- passwordfile/default/PKGBUILD | 1 + passwordfile/git/PKGBUILD | 1 + passwordfile/mingw-w64/PKGBUILD | 1 + qtutilities/git/PKGBUILD | 1 + qtutilities/mingw-w64/PKGBUILD | 2 +- tagparser/git/PKGBUILD | 1 + tagparser/mingw-w64/PKGBUILD | 1 + videodownloader/mingw-w64/PKGBUILD | 4 ++-- 8 files changed, 9 insertions(+), 3 deletions(-) diff --git a/passwordfile/default/PKGBUILD b/passwordfile/default/PKGBUILD index f9245657..a19f9042 100644 --- a/passwordfile/default/PKGBUILD +++ b/passwordfile/default/PKGBUILD @@ -11,6 +11,7 @@ arch=('i686' 'x86_64') pkgdesc='C++ library to read/write passwords from/to encrypted files using AES-256-CBC via OpenSSL' license=('GPL') depends=('c++utilities' 'openssl') +optdepends=("$pkgname-doc: API documentation") makedepends=('cmake') checkdepends=('cppunit') optdepends=("$pkgname-doc: API documentation") diff --git a/passwordfile/git/PKGBUILD b/passwordfile/git/PKGBUILD index 47cb1c9f..bf9a97b2 100644 --- a/passwordfile/git/PKGBUILD +++ b/passwordfile/git/PKGBUILD @@ -12,6 +12,7 @@ arch=('i686' 'x86_64') pkgdesc='C++ library to read/write passwords from/to encrypted files using AES-256-CBC via OpenSSL' license=('GPL') depends=('c++utilities-git' 'openssl') +optdepends=("$_name-doc: API documentation") makedepends=('cmake' 'git') checkdepends=('cppunit') provides=("${_name}") diff --git a/passwordfile/mingw-w64/PKGBUILD b/passwordfile/mingw-w64/PKGBUILD index 5cdb6994..98398355 100644 --- a/passwordfile/mingw-w64/PKGBUILD +++ b/passwordfile/mingw-w64/PKGBUILD @@ -12,6 +12,7 @@ arch=('any') pkgdesc='C++ library to read/write passwords from/to encrypted files using AES-256-CBC via OpenSSL (mingw-w64)' license=('GPL') depends=('mingw-w64-crt' 'mingw-w64-c++utilities' 'mingw-w64-openssl') +optdepends=("$_name-doc: API documentation") makedepends=('mingw-w64-gcc' 'mingw-w64-cmake') optdepends=("$pkgname-doc: API documentation") url="https://github.com/Martchus/${_reponame}" diff --git a/qtutilities/git/PKGBUILD b/qtutilities/git/PKGBUILD index cfe77645..99404825 100644 --- a/qtutilities/git/PKGBUILD +++ b/qtutilities/git/PKGBUILD @@ -12,6 +12,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-git' 'qt5-base') +optdepends=("$_name-doc: API documentation") makedepends=('cmake' 'git' 'qt5-tools') provides=("${_name}") conflicts=("${_name}") diff --git a/qtutilities/mingw-w64/PKGBUILD b/qtutilities/mingw-w64/PKGBUILD index 3e1fafb5..517bb25d 100644 --- a/qtutilities/mingw-w64/PKGBUILD +++ b/qtutilities/mingw-w64/PKGBUILD @@ -13,7 +13,7 @@ pkgdesc='Common Qt related C++ classes and routines used by my applications such license=('GPL') depends=('mingw-w64-crt' 'mingw-w64-qt5-base' 'mingw-w64-c++utilities') makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'mingw-w64-qt5-tools') -optdepends=("$pkgname-doc: API documentation") +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=('3935ed34bdd4da92158bab0bc774960dd0d4ae928314ac7ad153c487605178c6') diff --git a/tagparser/git/PKGBUILD b/tagparser/git/PKGBUILD index 6b4a0120..44aa6245 100644 --- a/tagparser/git/PKGBUILD +++ b/tagparser/git/PKGBUILD @@ -12,6 +12,7 @@ arch=('i686' 'x86_64') pkgdesc='C++ library for reading and writing MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags' license=('GPL') depends=('c++utilities-git' 'zlib') +optdepends=("$_name-doc: API documentation") makedepends=('cmake' 'git') provides=("${_name}") conflicts=("${_name}") diff --git a/tagparser/mingw-w64/PKGBUILD b/tagparser/mingw-w64/PKGBUILD index c1d8bc11..bf482855 100644 --- a/tagparser/mingw-w64/PKGBUILD +++ b/tagparser/mingw-w64/PKGBUILD @@ -12,6 +12,7 @@ arch=('any') pkgdesc='C++ library for reading and writing MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags (mingw-w64)' license=('GPL') depends=('mingw-w64-crt' 'mingw-w64-c++utilities>=4.5.0' 'mingw-w64-zlib') +optdepends=("$_name-doc: API documentation") makedepends=('mingw-w64-gcc' 'mingw-w64-cmake') optdepends=("$pkgname-doc: API documentation") url="https://github.com/Martchus/${_reponame}" diff --git a/videodownloader/mingw-w64/PKGBUILD b/videodownloader/mingw-w64/PKGBUILD index c74c4719..d95c2b13 100644 --- a/videodownloader/mingw-w64/PKGBUILD +++ b/videodownloader/mingw-w64/PKGBUILD @@ -7,11 +7,11 @@ _reponame=videodownloader pkgname=mingw-w64-videodownloader _name=${pkgname#mingw-w64-} pkgver=1.3.3 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc='A video downloader with Qt GUI (currently only YouTube and Vimeo are maintained, mingw-w64)' license=('GPL') -depends=('mingw-w64-crt' 'mingw-w64-qtutilities' 'mingw-w64-openssl') +depends=('mingw-w64-crt' 'mingw-w64-qtutilities') 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")