Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Use dynamically fetched poco version in linux package script
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed Feb 5, 2018
1 parent e1a9a92 commit c1351f0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/ui/linux/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ echo "QPATH is $QPATH"
echo "QLIBPATH is $QLIBPATH"

out=out/linux/toggldesktop
pocoversion=$(cat third_party/poco/libversion)

# Clear output directories
rm -rf toggldesktop*.tar.gz $out/*
Expand All @@ -21,15 +22,15 @@ cp src/ui/linux/README $out/.
cp third_party/bugsnag-qt/build/release/libbugsnag-qt.so.1 $out/lib

# Copy Poco libraries
cp third_party/poco/lib/Linux/x86_64/libPocoCrypto.so.50 $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoData.so.50 $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoDataSQLite.so.50 $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoFoundation.so.50 $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoJSON.so.50 $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoNet.so.50 $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoNetSSL.so.50 $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoUtil.so.50 $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoXML.so.50 $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoCrypto.so.$pocoversion $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoData.so.$pocoversion $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoDataSQLite.so.$pocoversion $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoFoundation.so.$pocoversion $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoJSON.so.$pocoversion $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoNet.so.$pocoversion $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoNetSSL.so.$pocoversion $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoUtil.so.$pocoversion $out/lib
cp third_party/poco/lib/Linux/x86_64/libPocoXML.so.$pocoversion $out/lib

# Copy executable
cp src/ui/linux/TogglDesktop/build/release/TogglDesktop $out
Expand Down

0 comments on commit c1351f0

Please sign in to comment.