From 672ffc23069b835aa1c44ae81a5d8725797e0107 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 6 May 2024 19:21:00 -0400 Subject: [PATCH] Fix flatpak build PKG_CONFIG_PATH needs to be set before gimptool can find the gimp-2.0 pkg-config data. --- gmic.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmic.spec b/gmic.spec index 39fa292..693ec8d 100644 --- a/gmic.spec +++ b/gmic.spec @@ -1,4 +1,4 @@ -%global gimpplugindir %(gimptool --gimpplugindir)/plug-ins +%global gimpplugindir %(%___build_pre; gimptool --gimpplugindir)/plug-ins %global use_system_cimg 1