diff --git a/.gitignore b/.gitignore index b086b3c..2cba628 100644 --- a/.gitignore +++ b/.gitignore @@ -1,28 +1,2 @@ -Makefile -Makefile.in -Makefile.in.in -configure -config.log -config.status -aclocal.m4 -config/ -autom4te.cache/ -po/POTFILES -po/stamp-it -po/*.pot builddir/ -build/ -.vscode/ -config/ -mediaplayer@patapon.info/ - -*~ -*.gmo -metadata.json -*.gschema.valid -gschemas.compiled -_build -zip-files *.zip - -*.swp diff --git a/src/meson.build b/src/meson.build index 2ae6359..b15ab1d 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,9 +1,3 @@ -conf = configuration_data() -conf.set('LOCALEDIR', LOCALE_DIR) -conf.set('URL', URL) -conf.set('UUID', UUID) - - install_data([ 'dbus.js', 'extension.js', @@ -16,7 +10,8 @@ install_data([ 'stylesheet.css', 'ui.js', 'util.js', - 'widget.js' + 'widget.js', + 'metadata.json' ], install_dir: EXTENSION_DIR ) @@ -25,11 +20,3 @@ install_data( 'org.gnome.shell.extensions.mediaplayer.gschema.xml', install_dir : SCHEMA_DIR ) - -configure_file( - input: 'metadata.json.in', - output: 'metadata.json', - configuration: conf, - install: true, - install_dir: EXTENSION_DIR -) diff --git a/src/metadata.json.in b/src/metadata.json similarity index 56% rename from src/metadata.json.in rename to src/metadata.json index a4741d0..057a5d3 100644 --- a/src/metadata.json.in +++ b/src/metadata.json @@ -1,10 +1,9 @@ { -"uuid": "@UUID@", +"uuid": "mediaplayer@patapon.info", "name": "Media player indicator", "description": "Control MPRIS version 2 capable media players.", "original-author": "eon@patapon.info", "shell-version": ["3.18", "3.20", "3.22", "3.24"], -"url": "@URL@", -"locale": "@LOCALEDIR@" +"locale": "/usr/local/share/locale", +"url": "https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer/" } -