SHA256
1
0
forked from pool/appimaged
Adrian Schröter 2017-06-08 07:11:48 +00:00 committed by Git OBS Bridge
parent 1254ce4a6f
commit 9a77971f3b
2 changed files with 2 additions and 8 deletions

View File

@ -12,10 +12,4 @@
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="download_url" mode="disabled">
<param name="protocol">https</param>
<param name="host">raw.githubusercontent.com</param>
<param name="path">/mikix/deb2snap/master/src/preload.c</param>
</service>
</services>

View File

@ -31,7 +31,6 @@ BuildRequires: fuse-devel
BuildRequires: xz-devel
BuildRequires: libarchive-devel
BuildRequires: openssl-devel
BuildRequires: squashfs
BuildRequires: libtool
BuildRequires: autoconf
BuildRequires: automake
@ -53,6 +52,7 @@ sed -i -e s,^version=.*,version=%version, build.sh
%build
export PATH=$PWD/bin:$PATH
# Upstream squashfuse is not providing a lib, so it gets patched to produce one here
cd squashfuse
patch -p1 < ../squashfuse.patch
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
@ -78,7 +78,7 @@ $CC -std=gnu99 -o appimaged -I./squashfuse/ ./getsection.c ./notify.c ./elf.c ./
$(pkg-config --cflags --libs cairo) \
-ldl -lpthread -lz -llzma
# basic tool for validation
# basic tool for validation of downloaded appimage files
$CC -o appimage.validate ./getsection.c ./validate.c -Wl,-Bdynamic -lssl -lcrypto \
-Wl,--as-needed $(pkg-config --cflags --libs glib-2.0) -lz -ldl