first step

This commit is contained in:
Page Asgardius 2024-01-18 05:35:16 -07:00
parent c07b0ef335
commit 8290440a6f
15 changed files with 31 additions and 22 deletions

View file

@ -0,0 +1 @@
/usr/bin/ccache

View file

@ -0,0 +1 @@
/usr/bin/ccache

View file

@ -0,0 +1 @@
/usr/bin/ccache

View file

@ -0,0 +1 @@
/usr/bin/ccache

View file

@ -0,0 +1 @@
9ea5af339e6e8d859e564bbeac49fd4c32648ffce71fa2e1c1a1bf81ee3db5a8

View file

@ -0,0 +1 @@
62081a1520855f7373d0d239f237abb05d293b9f8f0324f04a83779b97209db3

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# asteroid-game-launcher
A launcher for a space themed game

View file

@ -1,15 +1,15 @@
{ {
"app-id": "com.example.first_application", "app-id": "asgardius.page.asteroidlauncher",
"runtime": "org.gnome.Platform", "runtime": "org.gnome.Platform",
"runtime-version": "3.34", "runtime-version": "45",
"sdk": "org.gnome.Sdk", "sdk": "org.gnome.Sdk",
"command": "your-first-application", "command": "asteroid-game-launcher",
"finish-args": [ "finish-args": [
"--socket=wayland" "--socket=wayland"
], ],
"modules": [ "modules": [
{ {
"name": "first_application", "name": "asteroid-game-launcher",
"buildsystem": "meson", "buildsystem": "meson",
"builddir": true, "builddir": true,
"sources": [ "sources": [

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Asteroid Game Launcher
Icon=asgardius.page.asteroidlauncher
Exec=asteroid-game-launcher
Terminal=false
Type=Application
Categories=
StartupNotify=false

View file

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 388 B

View file

@ -1,8 +0,0 @@
[Desktop Entry]
Name=Your First Application
Icon=com.example.first_application
Exec=your-first-application
Terminal=false
Type=Application
Categories=
StartupNotify=false

View file

@ -1,10 +1,10 @@
configure_file( configure_file(
input: 'com.example.first_application.desktop', input: 'asgardius.page.asteroidlauncher.desktop',
output: 'com.example.first_application.desktop', output: 'asgardius.page.asteroidlauncher.desktop',
copy: true, copy: true,
install: true, install: true,
install_dir: join_paths(get_option('datadir'), 'applications') install_dir: join_paths(get_option('datadir'), 'applications')
) )
install_data('com.example.first_application.svg', install_data('asgardius.page.asteroidlauncher.svg',
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps')) install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps'))

View file

@ -1,5 +1,5 @@
project('first-application', project('asteroid-game-launcher',
version: '0.1.0', version: '0.0.0',
meson_version: '>= 0.48.0', meson_version: '>= 0.48.0',
) )

View file

@ -14,13 +14,13 @@ from gi.repository import GLib, Gtk
class Application(Gtk.Application): class Application(Gtk.Application):
def __init__(self): def __init__(self):
super().__init__(application_id='com.example.first_application') super().__init__(application_id='asgardius.page.asteroidlauncher')
GLib.set_application_name('Your First Application') GLib.set_application_name('Asteroid Game Launcher')
GLib.set_prgname('com.example.first_application') GLib.set_prgname('asgardius.page.asteroidlauncher')
def do_activate(self): def do_activate(self):
window = Gtk.ApplicationWindow(application=self) window = Gtk.ApplicationWindow(application=self)
window.set_icon_name('com.example.first_application') window.set_icon_name('asgardius.page.asteroidlauncher')
label = Gtk.Label() label = Gtk.Label()
label.set_markup('<span font="40">Hello World!</span>') label.set_markup('<span font="40">Hello World!</span>')

View file

@ -1,6 +1,6 @@
configure_file( configure_file(
input: 'main.py', input: 'main.py',
output: 'your-first-application', output: 'asteroid-game-launcher',
copy: true, copy: true,
install: true, install: true,
install_dir: get_option('bindir') install_dir: get_option('bindir')