debian swirl logo

Back to the packages list gucharmap

#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2003 Colin Walters 

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

DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc \
				     --enable-vala \
				     --enable-introspection
UNICODE_DATA_VERSION := $(shell dpkg-query -W -f'$${Version}' unicode-data | sed -e's/-.*//')

post-patches:: debian/stamp-gen-unicode-tables

debian/stamp-gen-unicode-tables:
		cd gucharmap && ./gen-guch-unicode-tables.pl $(UNICODE_DATA_VERSION) /usr/share/unicode
		touch debian/stamp-gen-unicode-tables

clean::
		rm -f intltool-extract intltool-merge intltool-update
		rm -f po/.intltool-merge-cache
		rm -f gucharmap/unicode-*.h
		rm -f debian/stamp-gen-unicode-tables

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

Builds:

gir1.2-gucharmap-2.90
gobject introspection data for the unicode browser widget library
gucharmap
unicode character picker and font browser
libgucharmap-2-90-7
unicode browser widget library (shared library)
libgucharmap-2-90-dev
unicode browser widget library (development headers)