forked from pool/appimaged
minor cleanup
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/appimaged?expand=0&rev=3
This commit is contained in:
parent
1254ce4a6f
commit
9a77971f3b
6
_service
6
_service
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user