Skip to content

Commit 6affb6f

Browse files
committed
* Adding flatpak files.
1 parent b6f761c commit 6affb6f

4 files changed

+46
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
app/
12
build/
3+
.flatpak-builder
24
src/*.o
35
src/*.c
46
src/*.swp

com.github.phase1geo.minder.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"id": "com.github.phase1geo.minder",
3+
"base": "io.elementary.BaseApp",
4+
"base-version": "juno",
5+
"runtime": "org.freedesktop.Platform",
6+
"runtime-version": "18.08",
7+
"sdk": "org.freedesktop.Sdk",
8+
"command": "com.github.phase1geo.minder",
9+
"finish-args": [
10+
"--share=ipc", "--socket=x11",
11+
"--socket=wayland",
12+
"--filesystem=home",
13+
"--talk-name=ca.desrt.dconf",
14+
"--filesystem=xdg-run/dconf",
15+
"--filesystem=~/.config/dconf:ro",
16+
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
17+
],
18+
"modules":[{
19+
"name": "minder",
20+
"buildsystem": "meson",
21+
"sources": [{
22+
"type": "archive",
23+
"url": "https://github.com/phase1geo/Minder/archive/1.3.1.tar.gz",
24+
"sha256": "16d5fba1b2108f0cd4e67502555ac06dfed367344d17a365ce4f91d6f55e44a5"
25+
},
26+
{
27+
"type": "patch",
28+
"path": "elementary-theme.patch"
29+
}]
30+
}]
31+
}

elementary-theme.patch

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--- a/src/Application.vala 2019-06-10 15:43:20.733715669 +0000
2+
+++ b/src/Application.vala 2019-06-10 15:43:21.418703307 +0000
3+
@@ -44,6 +44,9 @@
4+
/* Add the application-specific icons */
5+
weak IconTheme default_theme = IconTheme.get_default();
6+
default_theme.add_resource_path( "/com/github/phase1geo/minder" );
7+
+
8+
+ Gtk.Settings.get_default().set_property("gtk-theme-name", "elementary");
9+
+ Gtk.Settings.get_default().set_property("gtk-icon-theme-name", "elementary");
10+
11+
/* Create the main window */
12+
var appwin = new MainWindow( this, settings );
13+

app run

File renamed without changes.

0 commit comments

Comments
 (0)