Add .pc.in.

This commit is contained in:
Daiki Ueno
2010-06-06 13:19:16 +09:00
parent 4447dca695
commit 667418c44c
6 changed files with 100 additions and 3 deletions

2
TODO
View File

@ -4,4 +4,4 @@
- matchbox-keyboard layout engine - matchbox-keyboard layout engine
- emit key events using libfakekey or xtest - emit key events using libfakekey or xtest
- .spec - .spec
- .pc

View File

@ -49,5 +49,8 @@ examples/Makefile
tests/Makefile tests/Makefile
docs/Makefile docs/Makefile
docs/reference/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 AC_OUTPUT

View File

@ -95,10 +95,14 @@ eek-unicode-keysym-labels.h: unicode-keysym-labels.txt
eek-keyname-keysym-labels.h: keyname-keysym-labels.txt eek-keyname-keysym-labels.h: keyname-keysym-labels.txt
./gen-keysym-labels.py keyname_keysym_labels < $< > $@ ./gen-keysym-labels.py keyname_keysym_labels < $< > $@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = eek.pc eek-clutter.pc eek-xkb.pc
DISTCLEANFILES = \ DISTCLEANFILES = \
eek-special-keysym-labels.h \ eek-special-keysym-labels.h \
eek-unicode-keysym-labels.h \ eek-unicode-keysym-labels.h \
eek-keyname-keysym-labels.h eek-keyname-keysym-labels.h \
$(pkgconfig_DATA)
EXTRA_DIST = \ EXTRA_DIST = \
gen-keysym-labels.py \ gen-keysym-labels.py \

30
eek/eek-clutter.pc.in Normal file
View File

@ -0,0 +1,30 @@
# Copyright (C) 2010 Daiki Ueno <ueno@unixuser.org>
# 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@

30
eek/eek-xkb.pc.in Normal file
View File

@ -0,0 +1,30 @@
# Copyright (C) 2010 Daiki Ueno <ueno@unixuser.org>
# 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@

30
eek/eek.pc.in Normal file
View File

@ -0,0 +1,30 @@
# Copyright (C) 2010 Daiki Ueno <ueno@unixuser.org>
# 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@