debian swirl logo

Back to the packages list libpeas

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

# To avoid running configure twice (because gnome-autogen.sh)
export NOCONFIGURE= yes

DEB_DH_AUTORECONF_ARGS = gnome-autogen.sh

DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc \
                             --enable-python2 \
                             --enable-python3

ifeq (,$(filter $(DEB_HOST_ARCH),mips powerpc s390x sparc))
DEB_CONFIGURE_EXTRA_FLAGS += --enable-seed
endif

DEB_MAKE_CHECK_TARGET = 

build/libpeas-1.0-0::
	HOME= $(CURDIR) xvfb-run $(MAKE) check

DEB_DH_MAKESHLIBS_ARGS_libpeas-1.0-0 += -X/usr/lib/libpeas-1.0/

binary-post-install/libpeas-doc::
	# remove compiled python and libtool .la files
		find debian/$(cdbs_curpkg) -name '*.pyo' -delete
		find debian/$(cdbs_curpkg) -name '*.pyc' -delete
		find debian/$(cdbs_curpkg) -name '__pycache__' -delete
		find debian/$(cdbs_curpkg) -name '*.la' -delete

Builds:

gir1.2-peas-1.0
application plugin library (introspection files)
libpeas-1.0-0
application plugin library
libpeas-common
application plugin library (common files)
libpeas-dev
application plugin library (development files)
libpeas-doc
application plugin library (documentation)