diff --git a/srcpkgs/gmic-krita b/srcpkgs/gmic-krita deleted file mode 120000 index 433883885c..0000000000 --- a/srcpkgs/gmic-krita +++ /dev/null @@ -1 +0,0 @@ -gmic \ No newline at end of file diff --git a/srcpkgs/gmic-krita/template b/srcpkgs/gmic-krita/template new file mode 100644 index 0000000000..e7d1cb1549 --- /dev/null +++ b/srcpkgs/gmic-krita/template @@ -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 " +license="CECILL-2.1" +homepage="http://gmic.eu/" +distfiles="https://files.kde.org/krita/build/dependencies/gmic-${version}-patched.tar.gz" +checksum=05e25367af01039a97c52d48694f00daf36ee180fa68220f72522aaf245a782b diff --git a/srcpkgs/gmic/template b/srcpkgs/gmic/template index 8c1fa6962d..46ce013382 100644 --- a/srcpkgs/gmic/template +++ b/srcpkgs/gmic/template @@ -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}"