debian swirl logo

Back to the packages list librsvg

#!/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/rules/utils.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

ifeq ($(DEB_BUILD_ARCH),alpha)
   CFLAGS += -mieee
endif

DEB_DH_AUTORECONF_ARGS += --as-needed

LIBRSVG2_PKG := librsvg2-2
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed

DEB_CONFIGURE_EXTRA_FLAGS += \
		--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
		--enable-pixbuf-loader \
		--enable-introspection \
		--enable-vala \
		--enable-gtk-doc \
		$(NULL)

DEB_DH_MAKESHLIBS_ARGS_$(LIBRSVG2_PKG) += -V -- -c4
DEB_DH_MAKESHLIBS_ARGS_librsvg2-common = --no-act

binary-install/librsvg2-common::
		sed -e"s/#MULTIARCH#/$(DEB_HOST_MULTIARCH)/g" debian/$(cdbs_curpkg).postinst.in > \
			debian/$(cdbs_curpkg).postinst

clean::
		rm -f debian/librsvg2-common.postinst

Builds:

gir1.2-rsvg-2.0
gir files for renderer library for svg files
librsvg2-2
sax-based renderer library for svg files (runtime)
librsvg2-bin
command-line and graphical viewers for svg files
librsvg2-common
sax-based renderer library for svg files (extra runtime)
librsvg2-dbg
sax-based renderer library for svg files (debug)
librsvg2-dev
sax-based renderer library for svg files (development)
librsvg2-doc
sax-based renderer library for svg files (documentation)