[gnome-photos/wip/rishi/src-meson.build-clean-up: 2/5] build: Rename a variable for clarity




commit ac1055c1059e852d6bbbd25f41c0cdbba56be2f2
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Mar 20 21:51:55 2021 +0100

    build: Rename a variable for clarity
    
    https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/190

 src/meson.build | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 5ff697a1..76bb5c81 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,6 +1,6 @@
 libgnome_photos_built_headers = []
 
-sources = files(
+libgnome_photos_sources = files(
   'photos-debug.c',
   'photos-error.c',
   'photos-gegl.c',
@@ -36,7 +36,7 @@ libgnome_photos_built_sources_gdbus = gnome.gdbus_codegen(
 )
 
 libgnome_photos_built_headers += libgnome_photos_built_sources_gdbus[1]
-sources += libgnome_photos_built_sources_gdbus
+libgnome_photos_sources += libgnome_photos_built_sources_gdbus
 
 enum_headers = files(
   'photos-operation-insta-common.h',
@@ -52,7 +52,7 @@ libgnome_photos_built_sources_enums = gnome.mkenums(
 )
 
 libgnome_photos_built_headers += libgnome_photos_built_sources_enums[1]
-sources += libgnome_photos_built_sources_enums
+libgnome_photos_sources += libgnome_photos_built_sources_enums
 
 resource_data = files('../data/vignette.png')
 
@@ -66,7 +66,7 @@ libgnome_photos_built_sources_resources = gnome.compile_resources(
 )
 
 libgnome_photos_built_headers += libgnome_photos_built_sources_resources[1]
-sources += libgnome_photos_built_sources_resources
+libgnome_photos_sources += libgnome_photos_built_sources_resources
 
 deps = [
   babl_dep,
@@ -84,7 +84,7 @@ deps = [
 
 libgnome_photos = shared_library(
   meson.project_name(),
-  sources,
+  libgnome_photos_sources,
   dependencies: deps,
   include_directories: top_inc,
   install: true,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]