debian swirl logo

Back to the packages list gtkmm3.0

#!/usr/bin/make -f

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

GNOME_MODULE := gtkmm

SHARED_PKG := $(shell sed -rn 's/^Package:[[:space:]]*(libgtkmm-[[:digit:]\.]+-[[:digit:]][[:alnum:]]*)[[:space:]]*$$/\1/p' debian/control)
DOC_PKG := $(shell sed -rn 's/^Package:[[:space:]]*(libgtkmm-[[:digit:]\.]+-doc)[[:space:]]*$$/\1/p' debian/control)
SHVER := 3.12.0

LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed

DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

DEB_COMPRESS_EXCLUDE_libgtkmm-3-doc = examples
DEB_DH_MAKESHLIBS_ARGS_$(SHARED_PKG) += -V"$(SHARED_PKG) (>= $(SHVER))"

# Don't compress doxygen tag files
DEB_COMPRESS_EXCLUDE = .tag

# Use xz compression
DEB_DH_BUILDDEB_ARGS ?= -- -Zxz

Builds:

libgtkmm-3.0-1
c++ wrappers for gtk+ (shared libraries)
libgtkmm-3.0-dbg
c++ wrappers for gtk+ (debug symbols)
libgtkmm-3.0-dev
c++ wrappers for gtk+ (development files)
libgtkmm-3.0-doc
c++ wrappers for gtk+ (documentation)