-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from peteruithoven/flatpak
WIP: Package as Flatpak for elementary OS 6
- Loading branch information
Showing
15 changed files
with
94 additions
and
36 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 |
---|---|---|
|
@@ -2,3 +2,4 @@ build/* | |
debian/build/* | ||
debian/debhelper-build-stamp | ||
*debhelper.log | ||
.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
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,55 @@ | ||
# This is the same ID that you've used in meson.build and other files | ||
app-id: com.github.peteruithoven.resizer | ||
|
||
# Instead of manually specifying a long list of build and runtime dependencies, | ||
# we can use a convenient pre-made runtime and SDK. For this example, we'll be | ||
# using the runtime and SDK provided by elementary. | ||
runtime: io.elementary.Platform | ||
runtime-version: '6' | ||
sdk: io.elementary.Sdk | ||
|
||
# This should match the exec line in your .desktop file and usually is the same | ||
# as your app ID | ||
command: com.github.peteruithoven.resizer | ||
|
||
# Here we can specify the kinds of permissions our app needs to run. Since we're | ||
# not using hardware like webcams, making sound, or reading external files, we | ||
# only need permission to draw our app on screen using either X11 or Wayland. | ||
finish-args: | ||
- '--share=ipc' | ||
- '--socket=fallback-x11' | ||
- '--socket=wayland' | ||
- '--filesystem=home' | ||
|
||
# This section is where you list all the source code required to build your app. | ||
# If we had external dependencies that weren't included in our SDK, we would list | ||
# them here. | ||
modules: | ||
- name: resizer | ||
buildsystem: meson | ||
sources: | ||
- type: dir | ||
path: . | ||
# Inspiration: https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.12-19 | ||
- name: imagemagick | ||
config-opts: | ||
- --enable-shared | ||
- --disable-static | ||
- --with-modules | ||
- --with-x | ||
- --with-threads | ||
- --with-magick_plus_plus | ||
- --with-gslib | ||
- --with-wmf | ||
- --with-webp | ||
- --with-openexr | ||
- --with-rsvg | ||
- --with-xml | ||
- --with-jbig | ||
- --with-openjp2 | ||
sources: | ||
- type: archive | ||
url: https://github.com/ImageMagick/ImageMagick6/archive/6.9.12-19.tar.gz | ||
sha256: 2f184f1f5c3e19849347b2b4acb6dd074290903d36fa5924956ee06c85ddf783 | ||
cleanup: | ||
- /share/doc |
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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
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
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
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
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