openbsd-ports/www/nextcloud_notify_push/Makefile
sthen 6781029335 bump REVISION for ports using rust, so that pkg_add -u for i386 users
updates to packages without -znotext (i.e. with text relocations disabled)
makes sense to phessler, semarie, tb
2022-10-28 10:00:45 +00:00

40 lines
955 B
Makefile

# ring-v0.16.20 does not support those archs
NOT_FOR_ARCHS = powerpc64 riscv64 sparc64
# 20220112 - build often fails due to out of memory
# memory allocation of 402653184 bytes failed
# error: could not compile `notify_push`
NOT_FOR_ARCHS+= i386
COMMENT = update notifications for nextcloud clients
GH_ACCOUNT = nextcloud
GH_PROJECT = notify_push
GH_TAGNAME = v0.5.0
REVISION = 1
CATEGORIES = www
# AGPLv3
PERMIT_PACKAGE = Yes
# a tarball is shipped on github, but without Cargo.lock, and contains linux binaries..
# MASTER_SITES = https://github.com/nextcloud/notify_push/releases/download/v0.1.7/
# as devel/cargo MODULES adds DISTFILES, GH_* didn't
DISTFILES += ${DISTNAME}${EXTRACT_SUFX}
COMPILER = base-clang ports-gcc
MODULES = devel/cargo
.include "crates.inc"
MODCARGO_CRATES_KEEP += libsqlite3-sys
PATCHORIG = .openbsd.orig
WANTLIB += c c++abi m pthread
CONFIGURE_STYLE = cargo
SEPARATE_BUILD = Yes
.include <bsd.port.mk>