frei0r-plugins: Fix building with cmake 4
This commit is contained in:
8
mingw-w64-frei0r-plugins/0001-backport-eb9e96d.patch
Normal file
8
mingw-w64-frei0r-plugins/0001-backport-eb9e96d.patch
Normal file
@@ -0,0 +1,8 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required (VERSION 3.1)
|
||||
+cmake_minimum_required (VERSION 3.12...3.31)
|
||||
|
||||
list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
|
||||
|
||||
@@ -26,10 +26,17 @@ if [[ ${CARCH} != i686 ]]; then
|
||||
optdepends+=("${MINGW_PACKAGE_PREFIX}-gavl: rgbparade, scale0tilt and vectorscope plugins"
|
||||
"${MINGW_PACKAGE_PREFIX}-opencv: facebl0r and facedetect plugins")
|
||||
fi
|
||||
source=("https://github.com/dyne/frei0r/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz")
|
||||
sha256sums=('aeeefe3a9b44761b2cf110017d2b1dfa2ceeb873da96d283ba5157380c5d0ce5')
|
||||
source=("https://github.com/dyne/frei0r/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz"
|
||||
0001-backport-eb9e96d.patch)
|
||||
sha256sums=('aeeefe3a9b44761b2cf110017d2b1dfa2ceeb873da96d283ba5157380c5d0ce5'
|
||||
'd1ee0822b722778bc50263c568b91331ba7e6fc67c0e6fccf45176e0e00f6794')
|
||||
validpgpkeys=('6113D89CA825C5CEDD02C87273B35DA54ACB7D10') # Denis Roio (Jaromil)
|
||||
|
||||
prepare() {
|
||||
cd "frei0r-${pkgver}"
|
||||
patch -p1 -i "${srcdir}"/0001-backport-eb9e96d.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
mkdir -p "${srcdir}/build-${MSYSTEM}" && cd "${srcdir}/build-${MSYSTEM}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user