Created
December 6, 2017 08:57
-
-
Save kparal/4cf7a1805a90bd96a491ae1a832f4ae6 to your computer and use it in GitHub Desktop.
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
app-id: org.freefilesync.FreeFileSync | |
runtime: org.gnome.Platform | |
runtime-version: '3.26' | |
sdk: org.gnome.Sdk | |
command: FreeFileSync | |
finish-args: | |
- '--share=network' | |
- '--share=ipc' # X11 needs this | |
- '--socket=x11' | |
- '--socket=wayland' | |
- '--filesystem=host' | |
build-options: | |
cflags: '-O2 -g' | |
cxxflags: '-O2 -g' | |
cleanup: | |
- /include | |
- /lib | |
- /share/doc | |
- '*.la' | |
- '*.a' | |
modules: | |
- name: boost | |
buildsystem: simple | |
no-make-install: true | |
build-commands: | |
- ./bootstrap.sh --prefix=/app | |
- ./b2 install -j `nproc` --with-chrono --with-system --with-thread variant=release link=static threading=multi runtime-link=static | |
sources: | |
- type: archive | |
url: https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz | |
sha256: a13de2c8fbad635e6ba9c8f8714a0e6b4264b60a29b964b940a22554705b6b60 | |
- name: wxWidgets | |
buildsystem: autotools | |
rm-configure: true # this is supposed to fix building on aarch64 | |
config-opts: | |
- '--with-gtk=2' | |
- '--disable-shared' | |
- '--with-regex' | |
sources: | |
- type: archive | |
url: https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2 | |
sha256: e082460fb6bf14b7dd6e8ac142598d1d3d0b08a7b5ba402fdbf8711da7e66da8 | |
# this is supposed to fix building on aarch64 | |
- type: script | |
dest-filename: autogen.sh | |
commands: | |
- cp -p /usr/share/automake-*/config.{sub,guess} . | |
- autoconf -f -B build/autoconf_prepend-include | |
- name: freefilesync | |
buildsystem: simple | |
subdir: FreeFileSync/Source | |
build-commands: | |
- make -j `nproc` | |
- make install | |
- cd RealTimeSync && make -j `nproc` | |
- cd RealTimeSync && make install | |
post-install: | |
- mkdir -p /app/share/applications/ | |
- cp ../../*.desktop /app/share/applications/ | |
- mkdir -p /app/share/icons/hicolor/128x128/apps/ | |
- cp ../../*.png /app/share/icons/hicolor/128x128/apps/ | |
- mkdir -p /app/share/appdata | |
- cp ../../*.appdata.xml /app/share/appdata | |
sources: | |
- type: archive | |
url: https://www.freefilesync.org/download/FreeFileSync_9.5_Source.zip | |
sha256: d1b811c3e6ba84b666fe49c21f7847f3925657c4145098f40be1d2921928f82c | |
strip-components: 0 | |
- type: patch | |
path: build.patch | |
- type: file | |
path: data/org.freefilesync.FreeFileSync.desktop | |
- type: file | |
path: data/org.freefilesync.FreeFileSync.png | |
- type: file | |
path: data/org.freefilesync.FreeFileSync.RealTimeSync.desktop | |
- type: file | |
path: data/org.freefilesync.FreeFileSync.RealTimeSync.png | |
- type: file | |
path: data/org.freefilesync.FreeFileSync.appdata.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment