[gegl] build: remove unnecessary dependency checks
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] build: remove unnecessary dependency checks
- Date: Sat, 20 Feb 2021 22:07:46 +0000 (UTC)
commit c321952dd7e750caaea2945f764129fb395b2c6c
Author: John Marshall <jtm home gmail com>
Date: Sun Jul 12 09:55:57 2020 +0100
build: remove unnecessary dependency checks
bin/meson.build | 11 +++++------
meson.build | 4 ----
2 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/bin/meson.build b/bin/meson.build
index 36e58f377..2b73105bb 100644
--- a/bin/meson.build
+++ b/bin/meson.build
@@ -12,11 +12,10 @@ gegl_deps = [
glib,
gobject,
math,
- #libdl
]
if libpng.found()
- gegl_deps += [ libpng, ]
+ gegl_deps += libpng
endif
if mrg.found() and gexiv2.found() and lua.found()
@@ -31,21 +30,21 @@ if mrg.found() and gexiv2.found() and lua.found()
gegl_sources += custom_target('argvs-commands.inc',
input : gegl_sources,
output: 'argvs-commands.inc',
- command: [ argvs_extract, '@INPUT@' ],
+ command: [argvs_extract, '@INPUT@'],
capture: true,
)
- gegl_deps += [ mrg, gexiv2, sdl1, lua, gio ]
+ gegl_deps += [mrg, gexiv2, lua, gio]
endif
if libspiro.found()
gegl_sources += files('gegl-path-spiro.c')
- gegl_deps += [ libspiro, ]
+ gegl_deps += libspiro
endif
gegl_bin = executable('gegl',
gegl_sources,
- include_directories: [ rootInclude, geglInclude, ],
+ include_directories: [rootInclude, geglInclude],
dependencies: gegl_deps,
export_dynamic: true,
link_with: gegl_lib,
diff --git a/meson.build b/meson.build
index b5555bd1b..52c0e0908 100644
--- a/meson.build
+++ b/meson.build
@@ -206,9 +206,6 @@ pangocairo= dependency('pangocairo', version: '>=1.38.0',
cairo = dependency('cairo', version: '>=1.12.2',
required: get_option('cairo')
)
-exiv2 = dependency('exiv2', version: '>=0.25',
- required: get_option('exiv2')
-)
gexiv2 = dependency('gexiv2', version: '>=0.0.0',
required: get_option('gexiv2')
)
@@ -408,7 +405,6 @@ summary(
{
'avlibs' : avlibs_found,
'Cairo' : cairo.found(),
- 'EXIV' : exiv2.found(),
'GDKPixbuf' : gdk_pixbuf.found(),
'gexiv2' : gexiv2.found(),
'Jasper' : jasper.found(),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]