Skip to content

Commit

Permalink
Update library references for Ubuntu.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ummon committed Jun 26, 2015
1 parent ee330e9 commit 295d1fe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion application/Setups/Ubuntu/DEBIAN/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Section: base
Priority: optional
Architecture: _ARCH_
Installed-Size: _INST_SIZE_
Depends: libprotobuf7 (_DEP_PROTOBUF_), libqtcore4 (_DEP_QTCORE_), libqtgui4 (_DEP_QTGUI_), libqt4-network (_DEP_QTNETWORK_), libc6 (_DEP_LIBC_), libstdc++6 (_DEP_LIBSTDCPP_), libgcc1 (_DEP_LIBGCC_)
Depends: libprotobuf9 (_DEP_PROTOBUF_), libqt5core5a (_DEP_QTCORE_), libqt5gui5 (_DEP_QTGUI_), libqt5network5 (_DEP_QTNETWORK_), libqt5widgets5 (_DEP_QTWIDGETS_), libqt5xml5 (_DEP_QTXML_), libc6 (_DEP_LIBC_), libstdc++6 (_DEP_LIBSTDCPP_), libgcc1 (_DEP_LIBGCC_)
Maintainer: Hervé Martinet <herve.martinet@gmail.com>
Homepage: http://www.d-lan.net
Description: A free LAN file sharing software.
Expand Down
14 changes: 9 additions & 5 deletions application/Setups/Ubuntu/linux_ubuntu_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ ICON_FILE=$DIR/Common/ressources/icon.ico
sudo rm -Rf $DEB_DIR

# Default dependencies, it may change depending the architecture and the Linux distribution.
DEP_QTCORE=">= 4:4.8"
DEP_QTGUI=">= 4:4.8"
DEP_QTNETWORK=">= 4:4.8"
DEP_PROTOBUF=">= 2.4.1"
DEP_QTCORE=">= 5.3"
DEP_QTGUI=">= 5.3"
DEP_QTNETWORK=">= 5.3"
DEP_QTWIDGETS=">= 5.3"
DEP_QTXML=">= 5.3"
DEP_PROTOBUF=">= 2.6.1"
DEP_LIBC=">= 2.15"
DEP_LIBSTDCPP=">= 4.6.3"
DEP_LIBGCC=">= 1:4.6.3"
Expand Down Expand Up @@ -67,7 +69,9 @@ select arch in "i386" "amd64" "armhf"; do
sed -i "s/_ARCH_/$arch/g" $CONTROL
sed -i "s/_DEP_QTCORE_/$DEP_QTCORE/g" $CONTROL
sed -i "s/_DEP_QTGUI_/$DEP_QTGUI/g" $CONTROL
sed -i "s/_DEP_QTNETWORK_/$DEP_QTNETWORK/g" $CONTROL
sed -i "s/_DEP_QTNETWORK_/$DEP_QTNETWORK/g" $CONTROL
sed -i "s/_DEP_QTWIDGETS_/$DEP_QTWIDGETS/g" $CONTROL
sed -i "s/_DEP_QTXML_/$DEP_QTXML/g" $CONTROL
sed -i "s/_DEP_PROTOBUF_/$DEP_PROTOBUF/g" $CONTROL
sed -i "s/_DEP_LIBC_/$DEP_LIBC/g" $CONTROL
sed -i "s/_DEP_LIBSTDCPP_/$DEP_LIBSTDCPP/g" $CONTROL
Expand Down

0 comments on commit 295d1fe

Please sign in to comment.