[gnome-sound-recorder/wip/jtojnar/run: 4/4] build: clean up src_res



commit 44dcfc146d99b1c0e10fdebc71883a2dd10cd758
Author: Jan Tojnar <jtojnar gmail com>
Date:   Fri Jan 18 03:22:30 2019 +0100

    build: clean up src_res

 src/meson.build | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index b330904..1c19979 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,19 +1,3 @@
-sound_recorder_sources = files(
-  'application.js',
-  'audioProfile.js',
-  'fileUtil.js',
-  'info.js',
-  'listview.js',
-  'main.js',
-  'mainWindow.js',
-  'params.js',
-  'play.js',
-  'preferences.js',
-  'record.js',
-  'util.js',
-  'waveform.js',
-)
-
 app_conf = configuration_data()
 app_conf.set('prefix', sound_recorder_prefix)
 app_conf.set('libdir', sound_recorder_libdir)
@@ -29,10 +13,8 @@ app = configure_file(
 )
 
 src_res = gnome.compile_resources(
-  application_id + '.src',
-  'org.gnome.SoundRecorder.src.gresource.xml',
-  source_dir: '.',
-  dependencies: sound_recorder_sources,
+  '@0@.src'.format(application_id),
+  '@0  src gresource xml'.format(application_id),
   gresource_bundle: true,
   install: true,
   install_dir: sound_recoder_pkgdatadir


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