summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/gegl/package.py
diff options
context:
space:
mode:
authorBenjamin S. Kirk <benjamin.s.kirk@gmail.com>2022-12-17 03:52:56 -0700
committerGitHub <noreply@github.com>2022-12-17 03:52:56 -0700
commitcec3da61d2b3469ee7d732a379197d21fabd8136 (patch)
treeeeb56ad2a65614b2f078c938ff60dbb793466f89 /var/spack/repos/builtin/packages/gegl/package.py
parent7ed53cf083a27c3217d21537f50117520cee5c12 (diff)
downloadspack-cec3da61d2b3469ee7d732a379197d21fabd8136.tar.gz
spack-cec3da61d2b3469ee7d732a379197d21fabd8136.tar.bz2
spack-cec3da61d2b3469ee7d732a379197d21fabd8136.tar.xz
spack-cec3da61d2b3469ee7d732a379197d21fabd8136.zip
Add gimp & dependent packages (#34558)
* exiv2: add new versions * babl: new package required to build GIMP * gegl: new package required to build GIMP * gexiv2: new package required to build GIMP * libmypaint: new package required to build GIMP * mypaint-brushes: new package required to build GIMP * vala: new package required to build GIMP * GIMP: new package definition for building GIMP-2.10 from source * libjxl: update for 0.7.0 * libwmf: a library for reading vector images in Windows Metafile Format (WMF) * libde265: an open source implementation of the h.265 video codec * libwebp: add new versions * GIMP: additional variants for building GIMP-2.10 from source * libde265: remove boilerplate * fixes for style precheck * updates based on feedback * fixes for style precheck
Diffstat (limited to 'var/spack/repos/builtin/packages/gegl/package.py')
-rw-r--r--var/spack/repos/builtin/packages/gegl/package.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gegl/package.py b/var/spack/repos/builtin/packages/gegl/package.py
new file mode 100644
index 0000000000..7e1a3b4ea2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/gegl/package.py
@@ -0,0 +1,40 @@
+# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class Gegl(MesonPackage):
+ """GEGL (Generic Graphics Library) is a data flow based image
+ processing framework, providing floating point processing and
+ non-destructive image processing capabilities to GNU Image
+ Manipulation Program and other projects (imgflo, GNOME Photos,
+ iconographer, ...)"""
+
+ homepage = "https://gegl.org/"
+ url = "https://download.gimp.org/gegl/0.4/gegl-0.4.40.tar.xz"
+
+ maintainers = ["benkirk"]
+
+ version("0.4.40", sha256="cdde80d15a49dab9a614ef98f804c8ce6e4cfe1339a3c240c34f3fb45436b85d")
+ version("0.4.38", sha256="e4a33c8430a5042fba8439b595348e71870f0d95fbf885ff553f9020c1bed750")
+ version("0.4.36", sha256="6fd58a0cdcc7702258adaeffb573a389228ae8f0eff47578efda2309b61b2ca6")
+ version("0.4.34", sha256="ef63f0bca5b431c6119addd834ca7fbb507c900c4861c57b3667b6f4ccfcaaaa")
+ version("0.4.32", sha256="668e3c6b9faf75fb00512701c36274ab6f22a8ba05ec62dbf187d34b8d298fa1")
+
+ depends_on("pkgconfig", type="build")
+ depends_on("cmake@3.4:", type="build")
+ depends_on("babl")
+ depends_on("glib")
+ depends_on("gobject-introspection")
+ depends_on("json-glib")
+
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
+ env.prepend_path("GI_TYPELIB_PATH", join_path(self.prefix.lib, "girepository-1.0"))
+
+ def setup_dependent_run_environment(self, env, dependent_spec):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
+ env.prepend_path("GI_TYPELIB_PATH", join_path(self.prefix.lib, "girepository-1.0"))