From 0c2f42dc29c841a7b79d57b3bcae8e93a7565186 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 14 Jul 2022 00:59:45 +0200 Subject: [PATCH] Patch mingw-w64-tageditor and related packages For https://github.com/Martchus/tageditor/issues/85 --- c++utilities/mingw-w64/PKGBUILD | 14 +++++++++++--- tageditor/mingw-w64-qt6/PKGBUILD | 2 +- tageditor/mingw-w64/PKGBUILD | 2 +- tagparser/mingw-w64/PKGBUILD | 2 +- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/c++utilities/mingw-w64/PKGBUILD b/c++utilities/mingw-w64/PKGBUILD index 001cf04e..6bd825c3 100644 --- a/c++utilities/mingw-w64/PKGBUILD +++ b/c++utilities/mingw-w64/PKGBUILD @@ -7,7 +7,7 @@ _reponame=cpp-utilities pkgname=mingw-w64-c++utilities _name=${pkgname#mingw-w64-} pkgver=5.17.0 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc='Common C++ classes and routines such as argument parser, IO and conversion utilities (mingw-w64)' license=('GPL') @@ -16,8 +16,10 @@ optdepends=("$_name-doc: API documentation") checkdepends=('mingw-w64-cppunit' 'mingw-w64-wine') makedepends=('mingw-w64-gcc' 'mingw-w64-cmake' 'ninja') url="https://github.com/Martchus/${_reponame}" -source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") -sha256sums=('05663fa9ca188cd7be44dc06f1257cfb39b0721443b158a5bbfdaf6400e66505') +source=("${_name}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz" + 'https://github.com/Martchus/cpp-utilities/commit/fe6ad813409b42b2e303e35f02e036497cc81141.patch') +sha256sums=('05663fa9ca188cd7be44dc06f1257cfb39b0721443b158a5bbfdaf6400e66505' + '97a5893c91479cb5a2a27fdaa1d957f7e7d4dfc596df6caa2f6c5f085cf223be') options=(!buildflags staticlibs !strip !emptydirs) _architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32') @@ -25,6 +27,12 @@ _configurations=() [[ $NO_SHARED_LIBS ]] || _configurations+=('shared') [[ $NO_STATIC_LIBS ]] || _configurations+=('static') +prepare() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" + + patch -p1 -i "$srcdir"/fe6ad813409b42b2e303e35f02e036497cc81141.patch +} + build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" diff --git a/tageditor/mingw-w64-qt6/PKGBUILD b/tageditor/mingw-w64-qt6/PKGBUILD index 30cbbef0..3574a104 100644 --- a/tageditor/mingw-w64-qt6/PKGBUILD +++ b/tageditor/mingw-w64-qt6/PKGBUILD @@ -17,7 +17,7 @@ pkgname=mingw-w64-tageditor-qt6 _name=${pkgname#mingw-w64-} _name=${_name%-qt6} pkgver=3.7.3 -pkgrel=1 +pkgrel=2 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') diff --git a/tageditor/mingw-w64/PKGBUILD b/tageditor/mingw-w64/PKGBUILD index a840cf37..aafda519 100644 --- a/tageditor/mingw-w64/PKGBUILD +++ b/tageditor/mingw-w64/PKGBUILD @@ -16,7 +16,7 @@ _reponame=tageditor pkgname=mingw-w64-tageditor _name=${pkgname#mingw-w64-} pkgver=3.7.3 -pkgrel=1 +pkgrel=2 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') diff --git a/tagparser/mingw-w64/PKGBUILD b/tagparser/mingw-w64/PKGBUILD index 61056e8c..01c52bc9 100644 --- a/tagparser/mingw-w64/PKGBUILD +++ b/tagparser/mingw-w64/PKGBUILD @@ -7,7 +7,7 @@ _reponame=tagparser pkgname=mingw-w64-tagparser _name=${pkgname#mingw-w64-} pkgver=11.3.0 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc='C++ library for reading and writing MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags (mingw-w64)' license=('GPL')