25 lines
1.0 KiB
Bash
25 lines
1.0 KiB
Bash
# Template file for 'flatpak-builder'
|
|
pkgname=flatpak-builder
|
|
version=1.4.2
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config xmlto debugedit AppStream-compose"
|
|
makedepends="flatpak-devel json-glib-devel libcap-devel
|
|
libyaml-devel libcurl-devel libxml2-devel"
|
|
depends="elfutils debugedit AppStream-compose"
|
|
short_desc="Tool to build flatpaks from source"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/flatpak/flatpak-builder"
|
|
changelog="https://github.com/flatpak/flatpak-builder/raw/main/NEWS"
|
|
#distfiles="https://github.com/flatpak/flatpak-builder/releases/download/${version}/flatpak-builder-${version}.tar.xz"
|
|
distfiles="https://github.com/flatpak/flatpak-builder/releases/download/${version}/flatpak-builder-${version}-fixed-libglnx.tar.xz"
|
|
checksum=c041b974e03a2c2d3cda88a0efe1ecf69f9adf42a1758eac341d555e779d0596
|
|
make_check=no # Can't run bubblewrap inside the container
|
|
|
|
post_patch() {
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
patch -Np1 < $FILESDIR/hard-disable-rofiles-fuse.patch
|
|
fi
|
|
}
|