aports/testing/warpinator/APKBUILD

71 lines
1.4 KiB
Text

# Contributor: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
# Maintainer: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
pkgname=warpinator
pkgver=1.8.8
pkgrel=1
pkgdesc="Share files across the LAN"
url="https://github.com/linuxmint/warpinator"
arch="noarch"
license="GPL-3.0-or-later"
depends="
bubblewrap
py3-cairo
py3-cryptography
py3-google-api-core
py3-grpcio
py3-landlock
py3-netifaces
py3-pynacl
py3-qrcode
py3-setproctitle
py3-setuptools
py3-xapp
py3-zeroconf
xapp
"
makedepends="
appstream-dev
gettext-dev
gobject-introspection
grpc-dev
itstool
meson
polkit-dev
python3-dev
py3-protobuf
xapp-dev
"
subpackages="
$pkgname-lang
$pkgname-nemo
"
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/warpinator/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No upstream testsuite defined
build() {
meson setup \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
-Dbundle-grpc=false \
-Dbundle-landlock=false \
-Dbundle-zeroconf=false \
. output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
nemo() {
pkgdesc="$pkgdesc (nemo integration)"
install_if="$pkgname=$pkgver-r$pkgrel nemo"
amove usr/share/nemo
}
sha512sums="
3444d7cff7995f386cc9428f5cf158e1e6ccd2bc6e176295058be5b10e9b67e451c92df00b45ad5c00ae2570c17f762dd3d8da0944963021b6899810ceb19cf2 warpinator-1.8.8.tar.gz
"