mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 03:47:23 +01:00
Update build system and Flatpak manifest
This commit is contained in:
parent
1788303bf3
commit
b9c874ab8c
26 changed files with 317 additions and 160 deletions
11
data/de.johrpan.Musicus.desktop.in.in
Normal file
11
data/de.johrpan.Musicus.desktop.in.in
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=@NAME@
|
||||
Icon=@APP_ID@
|
||||
Exec=@PKGNAME@
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=GNOME;GTK;Audio;AudioVideo;Music;Player
|
||||
# Translators: Search terms to find this application. The list must be separated and terminated by semicolons.
|
||||
Keywords=Music;Player;Library;
|
||||
StartupNotify=true
|
||||
DBusActivatable=true
|
||||
36
data/de.johrpan.Musicus.gschema.xml.in
Normal file
36
data/de.johrpan.Musicus.gschema.xml.in
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schemalist>
|
||||
<schema id="@APP_ID@" path="@PATH_ID@/" gettext-domain="@PKGNAME@">
|
||||
<key name="window-width" type="i">
|
||||
<default>800</default>
|
||||
<summary>Window width</summary>
|
||||
</key>
|
||||
<key name="window-height" type="i">
|
||||
<default>600</default>
|
||||
<summary>Window height</summary>
|
||||
</key>
|
||||
<key name="is-maximized" type="b">
|
||||
<default>false</default>
|
||||
<summary>Window maximized state</summary>
|
||||
</key>
|
||||
<key name="library-path" type="s">
|
||||
<default>''</default>
|
||||
<summary>Path to the music library</summary>
|
||||
</key>
|
||||
<key name="program1" type="s">
|
||||
<!-- Translators: Configuration for the default programs in JSON. Please only translate the values of "title" and "description". -->
|
||||
<default l10n="messages">'{"title":"Just play some music","description":"Randomly select some music. Customize programs using the button in the top right.","design":"Program1","prefer_recently_added":0.0,"prefer_least_recently_played":0.1,"play_full_recordings":true}'</default>
|
||||
<summary>Default settings for program 1</summary>
|
||||
</key>
|
||||
<key name="program2" type="s">
|
||||
<!-- Translators: Configuration for the default programs in JSON. Please only translate the values of "title" and "description". -->
|
||||
<default l10n="messages">'{"title":"What\'s new?","description":"Recordings that you recently added to your music library.","design":"Program2","prefer_recently_added":1.0,"prefer_least_recently_played":0.0,"play_full_recordings":true}'</default>
|
||||
<summary>Default settings for program 2</summary>
|
||||
</key>
|
||||
<key name="program3" type="s">
|
||||
<!-- Translators: Configuration for the default programs in JSON. Please only translate the values of "title" and "description". -->
|
||||
<default l10n="messages">'{"title":"A long time ago","description":"Works that you haven\'t listend to for a long time.","design":"Program3","prefer_recently_added":0.0,"prefer_least_recently_played":1.0,"play_full_recordings":true}'</default>
|
||||
<summary>Default settings for program 3</summary>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
||||
3
data/de.johrpan.Musicus.service.in
Normal file
3
data/de.johrpan.Musicus.service.in
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[D-BUS Service]
|
||||
Name=@APP_ID@
|
||||
Exec=@BINDIR@/@PKGNAME@ --gapplication-service
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop">
|
||||
<id>de.johrpan.musicus.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-or-later</project_license>
|
||||
<description>
|
||||
<p>No description</p>
|
||||
</description>
|
||||
</component>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Musicus
|
||||
Exec=musicus
|
||||
Icon=de.johrpan.musicus
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=GTK;
|
||||
StartupNotify=true
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schemalist gettext-domain="musicus">
|
||||
<schema id="de.johrpan.musicus" path="/de/johrpan/musicus/">
|
||||
<key name="window-width" type="i">
|
||||
<default>800</default>
|
||||
<summary>Window width</summary>
|
||||
</key>
|
||||
<key name="window-height" type="i">
|
||||
<default>600</default>
|
||||
<summary>Window height</summary>
|
||||
</key>
|
||||
<key name="is-maximized" type="b">
|
||||
<default>false</default>
|
||||
<summary>Window maximized state</summary>
|
||||
</key>
|
||||
<key name="library-path" type="s">
|
||||
<default>''</default>
|
||||
<summary>Path to the music library</summary>
|
||||
</key>
|
||||
<key name="program1" type="s">
|
||||
<!-- Translators: Configuration for the default programs in JSON. Please only translate the values of "title" and "description". -->
|
||||
<default l10n="messages">'{"title":"Just play some music","description":"Randomly select some music. Customize programs using the button in the top right.","design":"Program1","prefer_recently_added":0.0,"prefer_least_recently_played":0.1,"play_full_recordings":true}'</default>
|
||||
<summary>Default settings for program 1</summary>
|
||||
</key>
|
||||
<key name="program2" type="s">
|
||||
<!-- Translators: Configuration for the default programs in JSON. Please only translate the values of "title" and "description". -->
|
||||
<default l10n="messages">'{"title":"What\'s new?","description":"Recordings that you recently added to your music library.","design":"Program2","prefer_recently_added":1.0,"prefer_least_recently_played":0.0,"play_full_recordings":true}'</default>
|
||||
<summary>Default settings for program 2</summary>
|
||||
</key>
|
||||
<key name="program3" type="s">
|
||||
<!-- Translators: Configuration for the default programs in JSON. Please only translate the values of "title" and "description". -->
|
||||
<default l10n="messages">'{"title":"A long time ago","description":"Works that you haven\'t listend to for a long time.","design":"Program3","prefer_recently_added":0.0,"prefer_least_recently_played":1.0,"play_full_recordings":false}'</default>
|
||||
<summary>Default settings for program 3</summary>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg height="128px" viewBox="0 0 128 128" width="128px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<filter id="a" height="100%" width="100%" x="0%" y="0%">
|
||||
<feColorMatrix color-interpolation-filters="sRGB" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
</filter>
|
||||
<clipPath id="b">
|
||||
<rect height="128" width="128"/>
|
||||
</clipPath>
|
||||
<clipPath id="c">
|
||||
<rect height="128" width="128"/>
|
||||
</clipPath>
|
||||
<mask id="d">
|
||||
<g filter="url(#a)">
|
||||
<g clip-path="url(#c)" filter="url(#a)">
|
||||
<g clip-path="url(#b)">
|
||||
<path d="m 16 28 h 96 c 4.417969 0 8 3.582031 8 8 v 72 c 0 4.417969 -3.582031 8 -8 8 h -96 c -4.417969 0 -8 -3.582031 -8 -8 v -72 c 0 -4.417969 3.582031 -8 8 -8 z m 0 0" fill="#77767b"/>
|
||||
<path d="m 16 28 h 96 c 4.417969 0 8 3.582031 8 8 v 56 c 0 4.417969 -3.582031 8 -8 8 h -96 c -4.417969 0 -8 -3.582031 -8 -8 v -56 c 0 -4.417969 3.582031 -8 8 -8 z m 0 0" fill="#9a9996"/>
|
||||
<path d="m 92.714844 68 c 0 22.09375 -17.910156 40 -40 40 c -22.09375 0 -40 -17.90625 -40 -40 c 0 -22.089844 17.90625 -40 40 -40 c 22.089844 0 40 17.910156 40 40 z m 0 0" fill="#5e5c64"/>
|
||||
<path d="m 92.714844 64 c 0 22.09375 -17.910156 40 -40 40 c -22.09375 0 -40 -17.90625 -40 -40 c 0 -22.089844 17.90625 -40 40 -40 c 22.089844 0 40 17.910156 40 40 z m 0 0" fill="#3d3846"/>
|
||||
<path d="m 62.714844 64 c 0 5.523438 -4.476563 10 -10 10 c -5.523438 0 -10 -4.476562 -10 -10 s 4.476562 -10 10 -10 c 5.523437 0 10 4.476562 10 10 z m 0 0" fill="#c64600"/>
|
||||
<path d="m 54.714844 64 c 0 1.105469 -0.894532 2 -2 2 c -1.105469 0 -2 -0.894531 -2 -2 s 0.894531 -2 2 -2 c 1.105468 0 2 0.894531 2 2 z m 0 0" fill="#c0bfbc"/>
|
||||
<path d="m 54.59375 63.226562 c 0 0.550782 -0.445312 1 -1 1 c -0.550781 0 -1 -0.449218 -1 -1 c 0 -0.554687 0.449219 -1 1 -1 c 0.554688 0 1 0.445313 1 1 z m 0 0" fill="#f6f5f4"/>
|
||||
<path d="m 75.339844 86.628906 c -12.496094 12.496094 -32.757813 12.496094 -45.253906 0 c -12.496094 -12.496094 -12.496094 -32.757812 0 -45.253906 c 12.496093 -12.5 32.757812 -12.5 45.253906 0" fill="none" stroke="#5e5c64" stroke-linecap="round" stroke-width="2"/>
|
||||
<path d="m 52.714844 88 c -10.347656 0 -19.527344 -6.628906 -22.78125 -16.449219 c -3.253906 -9.820312 0.148437 -20.621093 8.449218 -26.800781 c 8.296876 -6.179688 19.621094 -6.34375 28.097657 -0.410156" fill="none" stroke="#5e5c64" stroke-linecap="round" stroke-width="2"/>
|
||||
<path d="m 41.398438 75.3125 c -5.488282 -5.488281 -6.246094 -14.128906 -1.789063 -20.488281 c 4.453125 -6.363281 12.828125 -8.605469 19.867187 -5.324219" fill="none" stroke="#5e5c64" stroke-linecap="round" stroke-width="2"/>
|
||||
<path d="m 112 45 c 0 4.417969 -3.582031 8 -8 8 s -8 -3.582031 -8 -8 s 3.582031 -8 8 -8 s 8 3.582031 8 8 z m 0 0" fill="#e66100"/>
|
||||
<path d="m 104 45 l -30.800781 27.53125" fill="#ffa348" stroke="#e66100" stroke-linecap="round" stroke-width="4"/>
|
||||
<path d="m 112 44 c 0 4.417969 -3.582031 8 -8 8 s -8 -3.582031 -8 -8 s 3.582031 -8 8 -8 s 8 3.582031 8 8 z m 0 0" fill="#ffa348"/>
|
||||
<path d="m 104 44 l -30.800781 27.53125" fill="#ffa348" stroke="#ffa348" stroke-linecap="round" stroke-width="4"/>
|
||||
<path d="m 104 60 v 32" fill="none" stroke="#77767b" stroke-linecap="round" stroke-width="4"/>
|
||||
<path d="m 110 72.503906 c 0 3.316406 -2.6875 6 -6 6 s -6 -2.683594 -6 -6 c 0 -3.3125 2.6875 -6 6 -6 s 6 2.6875 6 6 z m 0 0" fill="#e66100"/>
|
||||
<path d="m 110 71.503906 c 0 3.316406 -2.6875 6 -6 6 s -6 -2.683594 -6 -6 c 0 -3.3125 2.6875 -6 6 -6 s 6 2.6875 6 6 z m 0 0" fill="#ffa348"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</mask>
|
||||
<mask id="e">
|
||||
<g filter="url(#a)">
|
||||
<rect fill-opacity="0.8" height="184.32" width="184.32" x="-28.16" y="-28.16"/>
|
||||
</g>
|
||||
</mask>
|
||||
<linearGradient id="f" gradientTransform="matrix(0 0.37 -0.98462 0 295.38501 -30.360001)" gradientUnits="userSpaceOnUse" x1="300" x2="428" y1="235" y2="235">
|
||||
<stop offset="0" stop-color="#f9f06b"/>
|
||||
<stop offset="1" stop-color="#f5c211"/>
|
||||
</linearGradient>
|
||||
<clipPath id="g">
|
||||
<rect height="128" width="128"/>
|
||||
</clipPath>
|
||||
<clipPath id="h">
|
||||
<rect height="128" width="128"/>
|
||||
</clipPath>
|
||||
<path d="m 16 28 h 96 c 4.417969 0 8 3.582031 8 8 v 72 c 0 4.417969 -3.582031 8 -8 8 h -96 c -4.417969 0 -8 -3.582031 -8 -8 v -72 c 0 -4.417969 3.582031 -8 8 -8 z m 0 0" fill="#77767b"/>
|
||||
<path d="m 16 28 h 96 c 4.417969 0 8 3.582031 8 8 v 56 c 0 4.417969 -3.582031 8 -8 8 h -96 c -4.417969 0 -8 -3.582031 -8 -8 v -56 c 0 -4.417969 3.582031 -8 8 -8 z m 0 0" fill="#9a9996"/>
|
||||
<path d="m 92.714844 68 c 0 22.09375 -17.910156 40 -40 40 c -22.09375 0 -40 -17.90625 -40 -40 c 0 -22.089844 17.90625 -40 40 -40 c 22.089844 0 40 17.910156 40 40 z m 0 0" fill="#5e5c64"/>
|
||||
<path d="m 92.714844 64 c 0 22.09375 -17.910156 40 -40 40 c -22.09375 0 -40 -17.90625 -40 -40 c 0 -22.089844 17.90625 -40 40 -40 c 22.089844 0 40 17.910156 40 40 z m 0 0" fill="#3d3846"/>
|
||||
<path d="m 62.714844 64 c 0 5.523438 -4.476563 10 -10 10 c -5.523438 0 -10 -4.476562 -10 -10 s 4.476562 -10 10 -10 c 5.523437 0 10 4.476562 10 10 z m 0 0" fill="#c64600"/>
|
||||
<path d="m 54.714844 64 c 0 1.105469 -0.894532 2 -2 2 c -1.105469 0 -2 -0.894531 -2 -2 s 0.894531 -2 2 -2 c 1.105468 0 2 0.894531 2 2 z m 0 0" fill="#c0bfbc"/>
|
||||
<path d="m 54.59375 63.226562 c 0 0.550782 -0.445312 1 -1 1 c -0.550781 0 -1 -0.449218 -1 -1 c 0 -0.554687 0.449219 -1 1 -1 c 0.554688 0 1 0.445313 1 1 z m 0 0" fill="#f6f5f4"/>
|
||||
<g fill="none" stroke="#5e5c64" stroke-linecap="round" stroke-width="2">
|
||||
<path d="m 75.339844 86.628906 c -12.496094 12.496094 -32.757813 12.496094 -45.253906 0 c -12.496094 -12.496094 -12.496094 -32.757812 0 -45.253906 c 12.496093 -12.5 32.757812 -12.5 45.253906 0"/>
|
||||
<path d="m 52.714844 88 c -10.347656 0 -19.527344 -6.628906 -22.78125 -16.449219 c -3.253906 -9.820312 0.148437 -20.621093 8.449218 -26.800781 c 8.296876 -6.179688 19.621094 -6.34375 28.097657 -0.410156"/>
|
||||
<path d="m 41.398438 75.3125 c -5.488282 -5.488281 -6.246094 -14.128906 -1.789063 -20.488281 c 4.453125 -6.363281 12.828125 -8.605469 19.867187 -5.324219"/>
|
||||
</g>
|
||||
<path d="m 112 45 c 0 4.417969 -3.582031 8 -8 8 s -8 -3.582031 -8 -8 s 3.582031 -8 8 -8 s 8 3.582031 8 8 z m 0 0" fill="#e66100"/>
|
||||
<path d="m 104 45 l -30.800781 27.53125" fill="#ffa348" stroke="#e66100" stroke-linecap="round" stroke-width="4"/>
|
||||
<path d="m 112 44 c 0 4.417969 -3.582031 8 -8 8 s -8 -3.582031 -8 -8 s 3.582031 -8 8 -8 s 8 3.582031 8 8 z m 0 0" fill="#ffa348"/>
|
||||
<path d="m 104 44 l -30.800781 27.53125" fill="#ffa348" stroke="#ffa348" stroke-linecap="round" stroke-width="4"/>
|
||||
<path d="m 104 60 v 32" fill="none" stroke="#77767b" stroke-linecap="round" stroke-width="4"/>
|
||||
<path d="m 110 72.503906 c 0 3.316406 -2.6875 6 -6 6 s -6 -2.683594 -6 -6 c 0 -3.3125 2.6875 -6 6 -6 s 6 2.6875 6 6 z m 0 0" fill="#e66100"/>
|
||||
<path d="m 110 71.503906 c 0 3.316406 -2.6875 6 -6 6 s -6 -2.683594 -6 -6 c 0 -3.3125 2.6875 -6 6 -6 s 6 2.6875 6 6 z m 0 0" fill="#ffa348"/>
|
||||
<g mask="url(#d)">
|
||||
<g clip-path="url(#h)">
|
||||
<g mask="url(#e)">
|
||||
<g clip-path="url(#g)">
|
||||
<path d="m 128 80.640625 v 47.359375 h -128 v -47.359375 z m 0 0" fill="url(#f)"/>
|
||||
<path d="m 13.308594 80.640625 l 47.355468 47.359375 h 21.214844 l -47.359375 -47.359375 z m 42.421875 0 l 47.363281 47.359375 h 21.214844 l -47.363282 -47.359375 z m 42.429687 0 l 29.839844 29.839844 v -21.210938 l -8.628906 -8.628906 z m -98.160156 7.90625 v 21.214844 l 18.238281 18.238281 h 21.214844 z m 0 0"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 996 B After Width: | Height: | Size: 996 B |
|
|
@ -1,13 +1,12 @@
|
|||
application_id = 'de.johrpan.musicus'
|
||||
|
||||
scalable_dir = join_paths('hicolor', 'scalable', 'apps')
|
||||
scalable_dir = 'hicolor' / 'scalable' / 'apps'
|
||||
install_data(
|
||||
join_paths(scalable_dir, ('@0@.svg').format(application_id)),
|
||||
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir)
|
||||
scalable_dir / '@0@.svg'.format(app_id),
|
||||
install_dir: datadir / 'icons' / scalable_dir,
|
||||
)
|
||||
|
||||
symbolic_dir = join_paths('hicolor', 'symbolic', 'apps')
|
||||
symbolic_dir = 'hicolor' / 'symbolic' / 'apps'
|
||||
install_data(
|
||||
join_paths(symbolic_dir, ('@0@-symbolic.svg').format(application_id)),
|
||||
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir)
|
||||
symbolic_dir / '@0@-symbolic.svg'.format(base_id),
|
||||
install_dir: datadir / 'icons' / symbolic_dir,
|
||||
rename: '@0@-symbolic.svg'.format(app_id),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,10 +1,21 @@
|
|||
# Desktop file
|
||||
|
||||
conf = configuration_data()
|
||||
conf.set('NAME', name)
|
||||
conf.set('APP_ID', app_id)
|
||||
conf.set('PKGNAME', meson.project_name())
|
||||
|
||||
desktop_file = i18n.merge_file(
|
||||
input: 'de.johrpan.musicus.desktop.in',
|
||||
output: 'de.johrpan.musicus.desktop',
|
||||
type: 'desktop',
|
||||
po_dir: '../po',
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('datadir'), 'applications')
|
||||
input: configure_file(
|
||||
input: '@0@.desktop.in.in'.format(base_id),
|
||||
output: '@0@.desktop.in'.format(app_id),
|
||||
configuration: conf,
|
||||
),
|
||||
output: '@0@.desktop'.format(app_id),
|
||||
type: 'desktop',
|
||||
po_dir: '../po',
|
||||
install: true,
|
||||
install_dir: datadir / 'applications',
|
||||
)
|
||||
|
||||
desktop_utils = find_program('desktop-file-validate', required: false)
|
||||
|
|
@ -12,29 +23,39 @@ if desktop_utils.found()
|
|||
test('Validate desktop file', desktop_utils, args: [desktop_file])
|
||||
endif
|
||||
|
||||
appstream_file = i18n.merge_file(
|
||||
input: 'de.johrpan.musicus.appdata.xml.in',
|
||||
output: 'de.johrpan.musicus.appdata.xml',
|
||||
po_dir: '../po',
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('datadir'), 'appdata')
|
||||
)
|
||||
# Settings
|
||||
|
||||
appstream_util = find_program('appstream-util', required: false)
|
||||
if appstream_util.found()
|
||||
test('Validate appstream file', appstream_util, args: ['validate', appstream_file])
|
||||
endif
|
||||
conf = configuration_data()
|
||||
conf.set('APP_ID', app_id)
|
||||
conf.set('PATH_ID', path_id)
|
||||
conf.set('PKGNAME', meson.project_name())
|
||||
|
||||
install_data('de.johrpan.musicus.gschema.xml',
|
||||
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
|
||||
configure_file(
|
||||
input: '@0@.gschema.xml.in'.format(base_id),
|
||||
output: '@0@.gschema.xml'.format(app_id),
|
||||
configuration: conf,
|
||||
install: true,
|
||||
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()])
|
||||
test('Validate schema file', compile_schemas, args: ['--strict', '--dry-run', meson.current_source_dir()])
|
||||
endif
|
||||
|
||||
# DBus service
|
||||
|
||||
conf = configuration_data()
|
||||
conf.set('APP_ID', app_id)
|
||||
conf.set('BINDIR', bindir)
|
||||
conf.set('PKGNAME', meson.project_name())
|
||||
|
||||
configure_file(
|
||||
input: '@0@.service.in'.format(base_id),
|
||||
output: '@0@.service'.format(app_id),
|
||||
configuration: conf,
|
||||
install_dir: datadir / 'dbus-1' / 'services',
|
||||
)
|
||||
|
||||
subdir('icons')
|
||||
subdir('res')
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/de/johrpan/musicus">
|
||||
<gresource prefix="@PATH_ID@">
|
||||
<file preprocess="xml-stripblanks">icons/scalable/actions/playlist-symbolic.svg</file>
|
||||
<file compressed="true">style.css</file>
|
||||
</gresource>
|
||||
|
|
@ -1,9 +1,16 @@
|
|||
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
|
||||
gnome = import('gnome')
|
||||
conf = configuration_data()
|
||||
conf.set('PATH_ID', path_id)
|
||||
|
||||
gnome.compile_resources('musicus',
|
||||
'musicus.gresource.xml',
|
||||
configure_file(
|
||||
input: '@0@.gresource.xml.in'.format(base_id),
|
||||
output: '@0@.gresource.xml'.format(app_id),
|
||||
configuration: conf,
|
||||
)
|
||||
|
||||
gnome.compile_resources(
|
||||
app_id,
|
||||
meson.project_build_root() / 'data' / 'res'/ '@0@.gresource.xml'.format(app_id),
|
||||
gresource_bundle: true,
|
||||
install: true,
|
||||
install_dir: pkgdatadir,
|
||||
install_dir: datadir / meson.project_name(),
|
||||
)
|
||||
|
|
@ -16,7 +16,7 @@ template $MusicusWelcomePage : Adw.NavigationPage {
|
|||
}
|
||||
|
||||
Adw.StatusPage {
|
||||
icon-name: "de.johrpan.musicus";
|
||||
icon-name: "de.johrpan.Musicus";
|
||||
title: _("Welcome to Musicus");
|
||||
description: _("Get started by choosing where to store your music library. Is this your first time using Musicus? If so, create a new empty folder for your library. Musicus will use this location to manage your recordings. You can also select a folder that already contains a music library created by Musicus.");
|
||||
child: Gtk.Button {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue