extra/gmic to 3.5.3-2

This commit is contained in:
Kevin Mihelich 2025-03-18 10:21:40 +00:00
parent 9a13f87732
commit 625e28e689
2 changed files with 13 additions and 13 deletions

View file

@ -1,6 +1,6 @@
pkgbase = gmic
pkgver = 3.5.3
pkgrel = 1
pkgrel = 2
url = https://gmic.eu/
arch = x86_64
license = CECILL-C
@ -11,8 +11,8 @@ pkgbase = gmic
makedepends = graphicsmagick
makedepends = opencv
makedepends = openexr
makedepends = qt5-base
makedepends = qt5-tools
makedepends = qt6-base
makedepends = qt6-tools
source = https://gmic.eu/files/source/gmic_3.5.3.tar.gz
sha256sums = e91a7cac4d0dc7c0ca2620f03bb14af82aa738c85a11b4f82fcc738654606442
@ -31,7 +31,7 @@ pkgname = gmic
depends = opencv
depends = openexr
depends = zlib
optdepends = qt5-base: for the Qt UI
optdepends = qt6-base: for the Qt UI
conflicts = cimg
pkgname = gimp-plugin-gmic
@ -45,5 +45,5 @@ pkgname = gimp-plugin-gmic
depends = glibc
depends = gmic
depends = libx11
depends = qt5-base
depends = qt6-base
depends = zlib

View file

@ -13,7 +13,7 @@ pkgbase=gmic
pkgname=(gmic
gimp-plugin-gmic)
pkgver=3.5.3
pkgrel=1
pkgrel=2
arch=(x86_64)
url='https://gmic.eu/'
license=(CECILL-C)
@ -24,8 +24,8 @@ makedepends=(cmake
graphicsmagick
opencv
openexr
qt5-base
qt5-tools)
qt6-base
qt6-tools)
source=(https://gmic.eu/files/source/gmic_$pkgver.tar.gz)
sha256sums=('e91a7cac4d0dc7c0ca2620f03bb14af82aa738c85a11b4f82fcc738654606442')
@ -43,8 +43,8 @@ build() {
cmake -B build-qt -S gmic-$pkgver/gmic-qt \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_DYNAMIC_LINKING=ON \
-DGMIC_PATH="$srcdir"/gmic-$pkgver/src \
-DCMAKE_PREFIX_PATH="$srcdir"/tmp-install/usr \
-DBUILD_WITH_QT6=ON \
-DGMIC_QT_HOST=none \
-DENABLE_LTO=OFF
cmake --build build-qt
@ -52,9 +52,9 @@ build() {
cmake -B build-gimp -S gmic-$pkgver/gmic-qt \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_DYNAMIC_LINKING=ON \
-DGMIC_PATH="$srcdir"/gmic-$pkgver/src \
-DCMAKE_PREFIX_PATH="$srcdir"/tmp-install/usr \
-DGMIC_QT_HOST=gimp \
-DBUILD_WITH_QT6=ON \
-DGMIC_QT_HOST=gimp3 \
-DENABLE_LTO=OFF
cmake --build build-gimp
}
@ -74,7 +74,7 @@ package_gmic() {
opencv
openexr
zlib)
optdepends=('qt5-base: for the Qt UI')
optdepends=('qt6-base: for the Qt UI')
conflicts=(cimg)
DESTDIR="$pkgdir" cmake --install build
@ -98,7 +98,7 @@ package_gimp-plugin-gmic() {
glibc
gmic
libx11
qt5-base
qt6-base
zlib)
DESTDIR="$pkgdir" cmake --install build-gimp