Skip to content

Instantly share code, notes, and snippets.

@Alexander-Wilms
Created October 26, 2018 17:28
Show Gist options
  • Save Alexander-Wilms/64503c57fdb831cdfdcaf2f907772e91 to your computer and use it in GitHub Desktop.
Save Alexander-Wilms/64503c57fdb831cdfdcaf2f907772e91 to your computer and use it in GitHub Desktop.
app-id: org.gramps_project.Gramps
command: gramps
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --share=network
- --filesystem=home
rename-appdata-file: gramps.appdata.xml
rename-desktop-file: gramps.desktop
rename-icon: gramps
runtime: org.gnome.Platform
runtime-version: '3.30'
sdk: org.gnome.Sdk
cleanup:
- /include
- /lib/pkgconfig
- '*.a'
- '*.la'
modules:
- name: gramps
build-commands:
- python3 setup.py build
- python3 setup.py install --prefix /app
buildsystem: simple
sources:
- sha256: 404da8f517381c2a29de717f3f3a46d8a1c1b77bfac5e494b9c4d0d8c7257fb6
type: archive
url: https://github.com/gramps-project/gramps/archive/v5.0.0.tar.gz
post-install:
- mkdir -p /app/share/icons/hicolor/48x48/apps
- cp /app/share/icons/gramps.png /app/share/icons/hicolor/48x48/apps/gramps.png
- name: exiv2
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_INSTALL_LIBDIR=/app/lib
cleanup:
- /bin
sources:
- sha256: c75e3c4a0811bf700d92c82319373b7a825a2331c12b8b37d41eb58e4f18eafb
type: archive
url: http://www.exiv2.org/builds/exiv2-0.26-trunk.tar.gz
- name: gexiv2
config-opts:
- --with-python3-girdir
sources:
- type: archive
url: https://gitlab.gnome.org/GNOME/gexiv2/-/archive/gexiv2-0.10.8/gexiv2-gexiv2-0.10.8.tar.bz2
sha256: 8dfc473453d2d96841ce1afa4e145c506babca603aeb9d062cd950a04b96886f
- name: osm
sources:
- sha256: 027004459f2f29232d4ca0c914f835e6c06b720aef1daa9b470d9d5e1b71159b
type: archive
url: https://github.com/nzjrs/osm-gps-map/archive/1.1.0.tar.gz
- name: pyICU
build-commands:
- python3 setup.py build
- python3 setup.py install --prefix /app
ensure-writable:
- /lib/python*/site-packages/easy-install.pth
buildsystem: simple
sources:
- sha256: ea6ae8bb6845e2e145cf03cd80cf258487b80fca3669ae8a7bf0c5105df10973
type: archive
url: https://files.pythonhosted.org/packages/c2/15/0af20b540c828943b6ffea5677c86e908dcac108813b522adebb75c827c1/PyICU-2.2.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment