Skip to content
Snippets Groups Projects
Commit 49c538bc authored by Amin Bandali's avatar Amin Bandali
Browse files

snap: use static linking and libwrap

Change-Id: I9df8043ec2da9c2a0c4ba3a2e09e5feadb71e585
parent d36686ed
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ apps:
command-chain:
- bin/desktop-launch
- snap/command-chain/alsa-launch
- bin/jami-gnome-wrapper
# - bin/jami-gnome-wrapper
common-id: net.jami.Jami
desktop: usr/share/applications/jami-gnome.desktop
slots:
......@@ -240,7 +240,7 @@ parts:
cd $SNAPCRAFT_PART_BUILD/daemon
./autogen.sh
./configure --prefix=/usr --disable-shared
./configure --prefix=/usr
make -j$SNAPCRAFT_PARALLEL_BUILD_COUNT
DESTDIR=$SNAPCRAFT_PART_INSTALL make install
......@@ -249,6 +249,7 @@ parts:
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_PREFIX_PATH=$SNAPCRAFT_PART_INSTALL/usr \
-DENABLE_STATIC=true -DENABLE_LIBWRAP=true \
-DRING_BUILD_DIR=$SNAPCRAFT_PART_BUILD/daemon/src
make -j$SNAPCRAFT_PARALLEL_BUILD_COUNT
DESTDIR=$SNAPCRAFT_PART_INSTALL make install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment