wok-current view libsoup/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents 5d79829fa876
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsoup"
4 VERSION="2.74.2"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Soup Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://live.gnome.org/LibSoup/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glib glibc-base libffi libgio libxml2 pcre \
15 libpsl zlib"
16 BUILD_DEPENDS="glib-networking meson libgio-dev \
17 libxml2-dev libgcrypt-dev libtasn1-dev gnutls-dev zlib-dev \
18 libgnome-keyring-dev sqlite-dev dbus-dev libpsl-dev"
20 # Handle cross compilation.
21 case "$ARCH" in
22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
23 esac
25 current_version()
26 {
27 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
28 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
29 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 meson build \
36 --prefix=/usr \
37 --libdir=lib \
38 --bindir=/usr/bin \
39 --sbindir=/usr/sbin \
40 --buildtype=release &&
41 ninja -C build &&
42 ninja -C build install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 # move to libsoup-gnome package
52 rm -f $fs/usr/lib/libsoup-gnome*
53 }