diff --git a/BuildLinux.sh b/BuildLinux.sh index 83b6449..21e5bd2 100755 --- a/BuildLinux.sh +++ b/BuildLinux.sh @@ -1,6 +1,38 @@ #!/bin/bash -mkdir Build -cd Build +scriptPath="$( cd "$(dirname "${0}")" ; pwd -P )" +buildPath="${scriptPath}/Build" +synergyCorePath="${scriptPath}/Synergy-Core" + + +mkdir "${buildPath}"; cd "${buildPath}" + + +cmake -S "${synergyCorePath}" -B "${buildPath}" + +# pushd "${synergyCorePath}" + +cmake --build "${buildPath}" --parallel 8 + +# popd + + + + + + + +# pushd "${synergyCorePath}" + +# source "build/version" + +# versionString="${SYNERGY_VERSION_MAJOR}.${SYNERGY_VERSION_MINOR}.${SYNERGY_VERSION_PATCH}" + +# echo "synergy (${versionString}) ${SYNERGY_VERSION_STAGE}; urgency=medium" > "debian/changelog" + +# debuild --set-envvar SYNERGY_ENTERPRISE=ON -us -uc + +# git clean -fd + +# popd -cmake ../Synergy-Core \ No newline at end of file diff --git a/Recipes/Synergy.yml b/Recipes/Synergy.yml deleted file mode 100644 index e05d2f2..0000000 --- a/Recipes/Synergy.yml +++ /dev/null @@ -1,11 +0,0 @@ -app: Synergy - -ingredients: - dist: ulyana - sources: - - deb http://packages.linuxmint.com/pool/main/ ulyana main - debs: - - /home/dom/Coding/synergy_1.12.0_amd64.deb - -script: - - cp ./usr/share/icons/hicolor/scalable/apps/synergy.svg . \ No newline at end of file