-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows building the master branch of Hamster with a simple command: $ flatpak-builder _build build-aux/flatpak/org.gnome.Hamster.json
- Loading branch information
Showing
4 changed files
with
69 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 |
---|---|---|
|
@@ -28,3 +28,4 @@ hamster-time-tracker-*.tar.gz | |
.lock-waf* | ||
build | ||
*.deb | ||
.flatpak-builder |
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,3 @@ | ||
[submodule "build-aux/flatpak/shared-modules"] | ||
path = build-aux/flatpak/shared-modules | ||
url = https://github.com/flathub/shared-modules |
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,64 @@ | ||
{ | ||
"id": "org.gnome.Hamster.GUI", | ||
"runtime": "org.gnome.Platform", | ||
"runtime-version": "3.34", | ||
"sdk": "org.gnome.Sdk", | ||
"command": "hamster", | ||
"finish-args": [ | ||
"--socket=x11", | ||
"--socket=wayland", | ||
"--own-name=org.gnome.Hamster" | ||
], | ||
"modules": [ | ||
"shared-modules/intltool/intltool-0.51.json", | ||
{ | ||
"name": "dbus-python", | ||
"buildsystem": "simple", | ||
"build-commands": [ | ||
"pip3 install --no-deps --no-use-pep517 --prefix=${FLATPAK_DEST} ." | ||
], | ||
"cleanup": [ | ||
"*.la" | ||
], | ||
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://files.pythonhosted.org/packages/source/d/dbus-python/dbus-python-1.2.16.tar.gz", | ||
"sha256": "11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "pyxdg", | ||
"buildsystem": "simple", | ||
"build-commands": [ | ||
"pip3 install --no-deps --no-use-pep517 --prefix=${FLATPAK_DEST} ." | ||
], | ||
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://files.pythonhosted.org/packages/source/p/pyxdg/pyxdg-0.26.tar.gz", | ||
"sha256": "fe2928d3f532ed32b39c32a482b54136fe766d19936afc96c8f00645f9da1a06" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "hamster", | ||
"buildsystem": "simple", | ||
"build-commands": [ | ||
"./waf configure -vv --prefix=${FLATPAK_DEST}", | ||
"./waf build -vv", | ||
"./waf install" | ||
], | ||
"post-install": [ | ||
"rm -f ${FLATPAK_DEST}/share/icons/hicolor/icon-theme.cache" | ||
], | ||
"sources": [ | ||
{ | ||
"type": "dir", | ||
"path": "../.." | ||
} | ||
] | ||
} | ||
] | ||
} |
Submodule shared-modules
added at
8c8539