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="file">*.tar</param>
|
||||||
<param name="compression">xz</param>
|
<param name="compression">xz</param>
|
||||||
</service>
|
</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>
|
</services>
|
||||||
|
@ -31,7 +31,6 @@ BuildRequires: fuse-devel
|
|||||||
BuildRequires: xz-devel
|
BuildRequires: xz-devel
|
||||||
BuildRequires: libarchive-devel
|
BuildRequires: libarchive-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: squashfs
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -53,6 +52,7 @@ sed -i -e s,^version=.*,version=%version, build.sh
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export PATH=$PWD/bin:$PATH
|
export PATH=$PWD/bin:$PATH
|
||||||
|
# Upstream squashfuse is not providing a lib, so it gets patched to produce one here
|
||||||
cd squashfuse
|
cd squashfuse
|
||||||
patch -p1 < ../squashfuse.patch
|
patch -p1 < ../squashfuse.patch
|
||||||
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
|
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) \
|
$(pkg-config --cflags --libs cairo) \
|
||||||
-ldl -lpthread -lz -llzma
|
-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 \
|
$CC -o appimage.validate ./getsection.c ./validate.c -Wl,-Bdynamic -lssl -lcrypto \
|
||||||
-Wl,--as-needed $(pkg-config --cflags --libs glib-2.0) -lz -ldl
|
-Wl,--as-needed $(pkg-config --cflags --libs glib-2.0) -lz -ldl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user