gmic: switch gmic-krita to the krita patchset
krita>5.0.0 does require gmic to be a krita plugin instead of a standalone bin, upstream gmic doesn't support this (yet (?))
This commit is contained in:
parent
a0077b3d5f
commit
9713c9a2bd
3 changed files with 21 additions and 10 deletions
srcpkgs
|
@ -1 +0,0 @@
|
|||
gmic
|
20
srcpkgs/gmic-krita/template
Normal file
20
srcpkgs/gmic-krita/template
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'gmic-krita'
|
||||
pkgname=gmic-krita
|
||||
version=3.0.0.1
|
||||
revision=1
|
||||
_krita_version=5.0.0
|
||||
wrksrc=gmic-${version}-patched
|
||||
build_wrksrc="gmic-qt"
|
||||
build_style=cmake
|
||||
configure_args="-DGMIC_QT_HOST=krita-plugin
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
||||
hostmakedepends="pkg-config extra-cmake-modules qt5-qmake
|
||||
qt5-host-tools kcoreaddons"
|
||||
makedepends="fftw-devel qt5-devel qt5-tools-devel
|
||||
kcoreaddons-devel krita-devel"
|
||||
short_desc="GREYC's Magic for Image Computing - Krita plugin"
|
||||
maintainer="John <me@johnnynator.dev>"
|
||||
license="CECILL-2.1"
|
||||
homepage="http://gmic.eu/"
|
||||
distfiles="https://files.kde.org/krita/build/dependencies/gmic-${version}-patched.tar.gz"
|
||||
checksum=05e25367af01039a97c52d48694f00daf36ee180fa68220f72522aaf245a782b
|
|
@ -42,7 +42,7 @@ do_build() {
|
|||
CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" \
|
||||
cli lib libc
|
||||
|
||||
for _target in gimp krita gmic_qt zart; do
|
||||
for _target in gimp gmic_qt zart; do
|
||||
make $_target
|
||||
done
|
||||
}
|
||||
|
@ -59,14 +59,6 @@ gmic-gimp_package() {
|
|||
}
|
||||
}
|
||||
|
||||
gmic-krita_package() {
|
||||
short_desc+=" - Krita plugin"
|
||||
depends="krita ${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/gmic_krita_qt
|
||||
}
|
||||
}
|
||||
|
||||
gmic-zart_package() {
|
||||
short_desc+=" - ZArt tool"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in a new issue