-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9c5f31
commit 789fb90
Showing
14 changed files
with
65 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
scalable_dir = join_paths('hicolor', 'scalable', 'apps') | ||
install_data( | ||
join_paths(scalable_dir, ('@[email protected]').format(application_id)), | ||
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir) | ||
'@[email protected]'.format(application_id), | ||
install_dir: iconsdir / 'hicolor' / 'scalable' / 'apps' | ||
) | ||
|
||
symbolic_dir = join_paths('hicolor', 'symbolic', 'apps') | ||
install_data( | ||
join_paths(symbolic_dir, ('@[email protected]').format(base_id)), | ||
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir), | ||
'@[email protected]'.format(base_id), | ||
install_dir: iconsdir / 'hicolor' / 'symbolic' / 'apps', | ||
rename: '@[email protected]'.format(application_id) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,51 @@ | ||
desktop_conf = configuration_data() | ||
desktop_conf.set('icon', application_id) | ||
desktop_file = i18n.merge_file( | ||
input: 'dev.bragefuglseth.Fretboard.desktop.in', | ||
output: 'dev.bragefuglseth.Fretboard.desktop', | ||
type: 'desktop', | ||
po_dir: '../po', | ||
install: true, | ||
install_dir: join_paths(get_option('datadir'), 'applications') | ||
type: 'desktop', | ||
input: configure_file( | ||
input: '@[email protected]'.format(base_id), | ||
output: '@BASENAME@', | ||
configuration: desktop_conf | ||
), | ||
output: '@[email protected]'.format(application_id), | ||
po_dir: podir, | ||
install: true, | ||
install_dir: datadir / 'applications' | ||
) | ||
|
||
desktop_utils = find_program('desktop-file-validate', required: false) | ||
if desktop_utils.found() | ||
test('Validate desktop file', desktop_utils, args: [desktop_file]) | ||
endif | ||
|
||
appdata_conf = configuration_data() | ||
appdata_conf.set('app-id', application_id) | ||
appdata_conf.set('gettext-package', gettext_package) | ||
appstream_file = i18n.merge_file( | ||
input: 'dev.bragefuglseth.Fretboard.appdata.xml.in', | ||
output: 'dev.bragefuglseth.Fretboard.appdata.xml', | ||
po_dir: '../po', | ||
install: true, | ||
install_dir: join_paths(get_option('datadir'), 'appdata') | ||
input: configure_file( | ||
input:'@[email protected]'.format(base_id), | ||
output: '@BASENAME@', | ||
configuration: appdata_conf | ||
), | ||
output: '@[email protected]'.format(application_id), | ||
po_dir: podir, | ||
install: true, | ||
install_dir: datadir / 'appdata' | ||
) | ||
|
||
appstream_util = find_program('appstream-util', required: false) | ||
if appstream_util.found() | ||
test('Validate appstream file', appstream_util, args: ['validate-relax', appstream_file]) | ||
endif | ||
appstreamcli = find_program('appstreamcli', required: false, disabler: true) | ||
test('Validate appstream file', appstreamcli, | ||
args: ['validate', '--no-net', '--explain', appstream_file]) | ||
|
||
install_data('dev.bragefuglseth.Fretboard.gschema.xml', | ||
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas') | ||
install_dir: datadir / 'glib-2.0/schemas' | ||
) | ||
|
||
compile_schemas = find_program('glib-compile-schemas', required: false) | ||
if compile_schemas.found() | ||
test('Validate schema file', | ||
compile_schemas, | ||
args: ['--strict', '--dry-run', meson.current_source_dir()]) | ||
compile_schemas, | ||
args: ['--strict', '--dry-run', meson.current_source_dir()]) | ||
endif | ||
|
||
subdir('icons') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters