void-packages/srcpkgs/nautilus-python/template

26 lines
903 B
Bash

# Template file for 'nautilus-python'
pkgname=nautilus-python
version=1.2.3
revision=6
build_style=gnu-configure
configure_args="$(vopt_enable gtk_doc gtk-doc) PYTHON=python3
PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/${py3_inc}
PYTHON_LIBS=-lpython${py3_ver}"
hostmakedepends="automake libtool pkg-config which python3
$(vopt_if gtk_doc gtk-doc)"
makedepends="python3-devel python3-gobject-devel nautilus-devel"
depends="nautilus python3-gobject"
short_desc="Python bindings for the Nautilus extension framework"
maintainer="Nafis <mnabid.25@outlook.com>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Projects/NautilusPython"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
CFLAGS="-fcommon"
build_options="gtk_doc"
if [ ! "$CROSS_BUILD" ]; then
build_options_default="gtk_doc"
fi