Add project files
This commit is contained in:
8
data/hu.kramo.GameShelf.desktop.in
Normal file
8
data/hu.kramo.GameShelf.desktop.in
Normal file
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Name=Game Shelf
|
||||
Exec=gameshelf
|
||||
Icon=hu.kramo.GameShelf
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;
|
||||
StartupNotify=true
|
||||
21
data/hu.kramo.GameShelf.gschema.xml
Normal file
21
data/hu.kramo.GameShelf.gschema.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schemalist gettext-domain="gameshelf">
|
||||
<schema id="hu.kramo.GameShelf" path="/hu/kramo/GameShelf/">
|
||||
<key name="exit-after-launch" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
<key name="steam-location" type="s">
|
||||
<default>"~/.steam/"</default>
|
||||
</key>
|
||||
<key name="sort-mode" type="s">
|
||||
<choices>
|
||||
<choice value="a-z"/>
|
||||
<choice value="z-a"/>
|
||||
<choice value="newest"/>
|
||||
<choice value="oldest"/>
|
||||
<choice value="last_played"/>
|
||||
</choices>
|
||||
<default>"a-z"</default>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
||||
13
data/hu.kramo.GameShelf.metainfo.xml.in
Normal file
13
data/hu.kramo.GameShelf.metainfo.xml.in
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>hu.kramo.GameShelf.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-or-later</project_license>
|
||||
<name>Game Shelf</name>
|
||||
<summary>Launch all your games</summary>
|
||||
<description>
|
||||
<p>Game Shelf is a simple game launcher. It has support for importing your games from Steam with organizational features such as hiding and sorting by date added or last played.</p>
|
||||
</description>
|
||||
<launchable type="desktop-id">hu.kramo.GameShelf.desktop</launchable>
|
||||
<developer_name>kramo</developer_name>
|
||||
</component>
|
||||
22
data/icons/hicolor/scalable/apps/hu.kramo.GameShelf.svg
Normal file
22
data/icons/hicolor/scalable/apps/hu.kramo.GameShelf.svg
Normal file
@@ -0,0 +1,22 @@
|
||||
<svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="20" y="8" width="88" height="112" rx="9" fill="#C64600"/>
|
||||
<rect x="20" y="8" width="88" height="95" rx="9" fill="#FF7800"/>
|
||||
<rect x="26" y="14" width="76" height="50" rx="4" fill="black"/>
|
||||
<rect x="38" y="20" width="52" height="38" rx="4" fill="url(#paint0_linear_5_31)"/>
|
||||
<rect x="54" y="107" width="9" height="9" rx="4.5" fill="#241F31"/>
|
||||
<rect x="70" y="109" width="5" height="5" rx="2.5" fill="#241F31"/>
|
||||
<rect x="40" y="73" width="7" height="21" rx="3.5" fill="black"/>
|
||||
<rect x="54" y="80" width="7" height="21" rx="3.5" transform="rotate(90 54 80)" fill="black"/>
|
||||
<rect x="40" y="72" width="7" height="21" rx="3.5" fill="#241F31"/>
|
||||
<rect x="54" y="79" width="7" height="21" rx="3.5" transform="rotate(90 54 79)" fill="#241F31"/>
|
||||
<rect x="80" y="80" width="11" height="11" rx="5.5" transform="rotate(90 80 80)" fill="black"/>
|
||||
<rect x="94" y="73" width="11" height="11" rx="5.5" transform="rotate(90 94 73)" fill="black"/>
|
||||
<rect x="80" y="79" width="11" height="11" rx="5.5" transform="rotate(90 80 79)" fill="#241F31"/>
|
||||
<rect x="94" y="72" width="11" height="11" rx="5.5" transform="rotate(90 94 72)" fill="#241F31"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_5_31" x1="38" y1="20" x2="38" y2="58" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#597E53"/>
|
||||
<stop offset="1" stop-color="#97AE79"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 1C2.44772 1 2 1.44772 2 2V14C2 14.5523 2.44772 15 3 15H13C13.5523 15 14 14.5523 14 14V2C14 1.44772 13.5523 1 13 1H3ZM5 2C4.44772 2 4 2.44772 4 3V6C4 6.55228 4.44772 7 5 7H11C11.5523 7 12 6.55228 12 6V3C12 2.44772 11.5523 2 11 2H5ZM4 10.5C4 9.67157 4.67157 9 5.5 9C6.32843 9 7 9.67157 7 10.5C7 11.3284 6.32843 12 5.5 12C4.67157 12 4 11.3284 4 10.5ZM10 9C9.44772 9 9 9.44771 9 10C9 10.5523 9.44771 11 10 11H11C11.5523 11 12 10.5523 12 10C12 9.44771 11.5523 9 11 9H10Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 637 B |
13
data/icons/meson.build
Normal file
13
data/icons/meson.build
Normal file
@@ -0,0 +1,13 @@
|
||||
application_id = 'hu.kramo.GameShelf'
|
||||
|
||||
scalable_dir = join_paths('hicolor', 'scalable', 'apps')
|
||||
install_data(
|
||||
join_paths(scalable_dir, ('@0@.svg').format(application_id)),
|
||||
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir)
|
||||
)
|
||||
|
||||
symbolic_dir = join_paths('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)
|
||||
)
|
||||
39
data/meson.build
Normal file
39
data/meson.build
Normal file
@@ -0,0 +1,39 @@
|
||||
desktop_file = i18n.merge_file(
|
||||
input: 'hu.kramo.GameShelf.desktop.in',
|
||||
output: 'hu.kramo.GameShelf.desktop',
|
||||
type: 'desktop',
|
||||
po_dir: '../po',
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('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
|
||||
|
||||
appstream_file = i18n.merge_file(
|
||||
input: 'hu.kramo.GameShelf.metainfo.xml.in',
|
||||
output: 'hu.kramo.GameShelf.metainfo.xml',
|
||||
po_dir: '../po',
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('datadir'), 'metainfo')
|
||||
)
|
||||
|
||||
appstream_util = find_program('appstream-util', required: false)
|
||||
if appstream_util.found()
|
||||
test('Validate appstream file', appstream_util, args: ['validate', appstream_file])
|
||||
endif
|
||||
|
||||
install_data('hu.kramo.GameShelf.gschema.xml',
|
||||
install_dir: join_paths(get_option('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()])
|
||||
endif
|
||||
|
||||
subdir('icons')
|
||||
Reference in New Issue
Block a user