-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Showing
39 changed files
with
2,588 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/subprojects/blueprint-compiler | ||
/src/__pycache__ |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Desktop Entry] | ||
Name=Game Shelf | ||
Exec=gameshelf | ||
Icon=hu.kramo.GameShelf | ||
Terminal=false | ||
Type=Application | ||
Categories=Game; | ||
StartupNotify=true |
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 |
---|---|---|
@@ -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> |
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 |
---|---|---|
@@ -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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
data/icons/hicolor/symbolic/apps/hu.kramo.GameShelf-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
application_id = 'hu.kramo.GameShelf' | ||
|
||
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) | ||
) | ||
|
||
symbolic_dir = join_paths('hicolor', 'symbolic', 'apps') | ||
install_data( | ||
join_paths(symbolic_dir, ('@[email protected]').format(application_id)), | ||
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir) | ||
) |
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 |
---|---|---|
@@ -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') |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"app-id" : "hu.kramo.GameShelf", | ||
"runtime" : "org.gnome.Platform", | ||
"runtime-version" : "master", | ||
"sdk" : "org.gnome.Sdk", | ||
"command" : "gameshelf", | ||
"finish-args" : [ | ||
"--share=ipc", | ||
"--socket=fallback-x11", | ||
"--device=dri", | ||
"--socket=wayland", | ||
"--socket=session-bus", | ||
"--filesystem=xdg-run/gvfsd", | ||
"--filesystem=~/.steam/steam/" | ||
], | ||
"cleanup" : [ | ||
"/include", | ||
"/lib/pkgconfig", | ||
"/man", | ||
"/share/doc", | ||
"/share/gtk-doc", | ||
"/share/man", | ||
"/share/pkgconfig", | ||
"*.la", | ||
"*.a" | ||
], | ||
"modules" : [ | ||
{ | ||
"name" : "gameshelf", | ||
"builddir" : true, | ||
"buildsystem" : "meson", | ||
"sources" : [ | ||
{ | ||
"type" : "git", | ||
"url" : "file:///home/kramo/Projects" | ||
} | ||
] | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
project('gameshelf', | ||
version: '0.1.0', | ||
meson_version: '>= 0.59.0', | ||
default_options: [ 'warning_level=2', 'werror=false', ], | ||
) | ||
|
||
i18n = import('i18n') | ||
gnome = import('gnome') | ||
|
||
|
||
|
||
subdir('data') | ||
subdir('src') | ||
subdir('po') | ||
|
||
gnome.post_install( | ||
glib_compile_schemas: true, | ||
gtk_update_icon_cache: true, | ||
update_desktop_database: true, | ||
) |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
hu |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
data/hu.kramo.GameShelf.desktop.in | ||
data/hu.kramo.GameShelf.metainfo.xml.in | ||
|
||
src/main.py | ||
src/window.py | ||
src/window.blp | ||
src/game.py | ||
src/preferences.py | ||
|
||
src/gtk/game.blp | ||
src/gtk/preferences.blp | ||
|
||
src/utils/create_details_window.py | ||
src/utils/create_dialog.py |
Oops, something went wrong.