* flatpack workflow to build flatpak installer * rename flatpak build name * changing job-build-flatpak, disabling other job-tests meanwhile * update apt before attempting to install flatpak * changing install command * adding logs for installing flatpak * running installation as root * running installation as root - for each command * attempting to use github action to build flatpak * fix typo on name * typo in image * adding privilege option and fixing manifest path * changing manifest-path * uploading bundle to artifact * changing synergy.desktop for flatpak build * adding versioning to flatpak bundle and upload to bin storage on release * version info fix * running build_version as root * adding __w to safe directory * adding git config safe directory command to builder * testing which part of version info is breaking * falling back to local build of flatpak * running only the normal synergy * investigating build_version.py * investigating build_version.py 2 * investigating build_version.py 3 * checking if raspberry pi build is working correctly * get subprocess error * printing subprocess error * disabling try catch in version * running git rev-list --tags command * running git rev-list --tags command * disabling other tests * trying to run extra step in gitaction * trying to remove extra step in gitaction * fixing issues with subprocess * try to run git rev-list * test * ignore versioning * run original flatpak * testing various build options * attempting to run flatpak through raspberry * raspberry flatpak installation 1 * fixing tabs in flatpak build * trying apt over apt-get * removing sudo from build process * removing apt update * trying to build without versioning * testing build without publish * testing * adding fetch-depth in checkout * checking out with v3 * getting flatpak to run without github action * using ubuntu20.04 container * attempting to add __w into safe directory * adding dependencies installation * remove sudo from installing dependencies * removing all sudo commands from flatpak install * moving all the apt-get installs in dependencies job * add yes response to flatpak platform & sdk install * proper install command for flatpak builder * flathub input yes to flatpak builder install * check if flatpak folder exist * adding flatpak using apt-get * add privilege option in docker * removing flatpak finalize build / remove com.symless.Synergy * listing flatpak dir * testing to publish flatpak * checking the directory for flatpak file * correcting the path for scp action * attempting to create a specific file in scp * flatpak workflow cleanup * cleaning up * adding changelog info and changing flatpak patch files location * fedora add safe directory * creating business/enterprise YAML to replace based on env var * build test * disabling tests * fixing YAML struct * disabling replace action to see if its causing issue * changing cp command without backslash * checking if condition syntax * uncommenting error at build_version * fixing file location * cleaning up actions * changing workkflow to use .yml file without copying * finalizing git action * Remove git safe directory * Add final line to missing files * Move safe directory workaround * Minor cleanup for flatpak files Co-authored-by: Daun Chung <daunchung@github.com> Co-authored-by: Kyle Bloom <kyle@symless.com>
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
app-id: com.symless.Synergy
|
|
runtime: org.kde.Platform
|
|
runtime-version: "5.15-21.08"
|
|
sdk: org.kde.Sdk
|
|
rename-icon: synergy
|
|
rename-desktop-file: synergy.desktop
|
|
build-options:
|
|
env:
|
|
SYNERGY_BUSINESS: "1"
|
|
modules:
|
|
- name: openssl
|
|
buildsystem: simple
|
|
build-commands:
|
|
- "./config --prefix=/app"
|
|
- "make"
|
|
- "make install_sw"
|
|
sources:
|
|
- type: archive
|
|
url: https://github.com/openssl/openssl/archive/OpenSSL_1_1_1n.tar.gz
|
|
sha256: 6b2d2440ced8c802aaa61475919f0870ec556694c466ebea460e35ea2b14839e
|
|
- name: libnotify
|
|
buildsystem: meson
|
|
config-opts:
|
|
- "-Dman=false"
|
|
- "-Dgtk_doc=false"
|
|
sources:
|
|
- type: git
|
|
url: https://gitlab.gnome.org/GNOME/libnotify.git
|
|
- name: synergy
|
|
buildsystem: cmake-ninja
|
|
config-opts:
|
|
- "-DCMAKE_BUILD_TYPE=Release"
|
|
sources:
|
|
- type: dir
|
|
path: ../
|
|
- type: patch
|
|
path: flatpak-desktop.patch
|
|
command: synergy
|
|
finish-args:
|
|
- "--share=ipc"
|
|
- "--socket=x11"
|
|
- "--share=network"
|
|
- "--device=dri"
|
|
- "--talk-name=org.a11y.*"
|