flatpak: add gir build_option
This commit is contained in:
parent
c44d10aaa7
commit
a614a248e6
1 changed files with 12 additions and 2 deletions
|
@ -1,9 +1,11 @@
|
||||||
# Template file for 'flatpak'
|
# Template file for 'flatpak'
|
||||||
pkgname=flatpak
|
pkgname=flatpak
|
||||||
version=1.2.0
|
version=1.2.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-documentation --with-system-bubblewrap"
|
build_helper="gir"
|
||||||
|
configure_args="--disable-documentation --with-system-bubblewrap
|
||||||
|
$(vopt_enable gir introspection)"
|
||||||
hostmakedepends="bubblewrap glib-devel libxslt pkg-config bison"
|
hostmakedepends="bubblewrap glib-devel libxslt pkg-config bison"
|
||||||
makedepends="appstream-glib-devel gpgme-devel json-glib-devel libcap-devel
|
makedepends="appstream-glib-devel gpgme-devel json-glib-devel libcap-devel
|
||||||
libostree-devel libseccomp-devel polkit-devel dconf-devel"
|
libostree-devel libseccomp-devel polkit-devel dconf-devel"
|
||||||
|
@ -17,6 +19,14 @@ changelog="https://github.com/flatpak/flatpak/blob/master/NEWS"
|
||||||
distfiles="https://github.com/flatpak/flatpak/releases/download/${version}/flatpak-${version}.tar.xz"
|
distfiles="https://github.com/flatpak/flatpak/releases/download/${version}/flatpak-${version}.tar.xz"
|
||||||
checksum=dbc5debba445621a5c753849aabc7042bdbc718a3af44204408df8ad2b36b3ad
|
checksum=dbc5debba445621a5c753849aabc7042bdbc718a3af44204408df8ad2b36b3ad
|
||||||
|
|
||||||
|
build_options="gir"
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
x86_64-musl) build_options_default+=" gir" ;;
|
||||||
|
*-musl) ;;
|
||||||
|
*) build_options_default+=" gir" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf $DESTDIR/usr/lib/systemd
|
rm -rf $DESTDIR/usr/lib/systemd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue