From 667418c44cef05d732e087cb42c097db0a8ac8a5 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Sun, 6 Jun 2010 13:19:16 +0900 Subject: [PATCH] Add .pc.in. --- TODO | 2 +- configure.ac | 5 ++++- eek/Makefile.am | 6 +++++- eek/eek-clutter.pc.in | 30 ++++++++++++++++++++++++++++++ eek/eek-xkb.pc.in | 30 ++++++++++++++++++++++++++++++ eek/eek.pc.in | 30 ++++++++++++++++++++++++++++++ 6 files changed, 100 insertions(+), 3 deletions(-) create mode 100644 eek/eek-clutter.pc.in create mode 100644 eek/eek-xkb.pc.in create mode 100644 eek/eek.pc.in diff --git a/TODO b/TODO index 4acf1d3f..9a24e9d9 100644 --- a/TODO +++ b/TODO @@ -4,4 +4,4 @@ - matchbox-keyboard layout engine - emit key events using libfakekey or xtest - .spec -- .pc + diff --git a/configure.ac b/configure.ac index 344d9472..93797a8f 100644 --- a/configure.ac +++ b/configure.ac @@ -49,5 +49,8 @@ examples/Makefile tests/Makefile docs/Makefile docs/reference/Makefile -docs/reference/eek/Makefile]) +docs/reference/eek/Makefile +eek/eek.pc +eek/eek-clutter.pc +eek/eek-xkb.pc]) AC_OUTPUT diff --git a/eek/Makefile.am b/eek/Makefile.am index 91e0d58b..284a1338 100644 --- a/eek/Makefile.am +++ b/eek/Makefile.am @@ -95,10 +95,14 @@ eek-unicode-keysym-labels.h: unicode-keysym-labels.txt eek-keyname-keysym-labels.h: keyname-keysym-labels.txt ./gen-keysym-labels.py keyname_keysym_labels < $< > $@ +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = eek.pc eek-clutter.pc eek-xkb.pc + DISTCLEANFILES = \ eek-special-keysym-labels.h \ eek-unicode-keysym-labels.h \ - eek-keyname-keysym-labels.h + eek-keyname-keysym-labels.h \ + $(pkgconfig_DATA) EXTRA_DIST = \ gen-keysym-labels.py \ diff --git a/eek/eek-clutter.pc.in b/eek/eek-clutter.pc.in new file mode 100644 index 00000000..d1a71ecc --- /dev/null +++ b/eek/eek-clutter.pc.in @@ -0,0 +1,30 @@ +# Copyright (C) 2010 Daiki Ueno +# Copyright (C) 2010 Red Hat, Inc. + +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# as published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. + +# This library is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: EEK-Clutter +Description: A Library to Create Keyboard-like UI (Clutter Support) +URL: http://github.com/ueno/eek +Version: @VERSION@ +Libs: -L${libdir} -leek -leek-clutter +Libs.private: @GOBJECT2_LIBS@ @CLUTTER_LIBS@ +Cflags: -I${includedir}/eek-@EEK_API_VERSION@ diff --git a/eek/eek-xkb.pc.in b/eek/eek-xkb.pc.in new file mode 100644 index 00000000..9dd84bcd --- /dev/null +++ b/eek/eek-xkb.pc.in @@ -0,0 +1,30 @@ +# Copyright (C) 2010 Daiki Ueno +# Copyright (C) 2010 Red Hat, Inc. + +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# as published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. + +# This library is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: EEK-XKB +Description: A Library to Create Keyboard-like UI (XKB Support) +URL: http://github.com/ueno/eek +Version: @VERSION@ +Libs: -L${libdir} -leek -leek-xkb +Libs.private: @XKB_LIBS@ +Cflags: -I${includedir}/eek-@EEK_API_VERSION@ diff --git a/eek/eek.pc.in b/eek/eek.pc.in new file mode 100644 index 00000000..0fc3d3b4 --- /dev/null +++ b/eek/eek.pc.in @@ -0,0 +1,30 @@ +# Copyright (C) 2010 Daiki Ueno +# Copyright (C) 2010 Red Hat, Inc. + +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# as published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. + +# This library is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: EEK +Description: A Library to Create Keyboard-like UI +URL: http://github.com/ueno/eek +Version: @VERSION@ +Libs: -L${libdir} -leek +Libs.private: @GOBJECT2_LIBS@ +Cflags: -I${includedir}/eek-@EEK_API_VERSION@