From 443a918bd4735e674bdec300f6b8eabe8cda24e0 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 29 Nov 2012 16:50:04 +0100 Subject: install libslab library and headers gnome libslab is no more available, so we can ship it --- libslab/Makefile.am | 13 +++---------- libslab/libslab.pc.in | 12 ++++++++++++ 2 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 libslab/libslab.pc.in (limited to 'libslab') diff --git a/libslab/Makefile.am b/libslab/Makefile.am index 181d9604..f9c844fd 100644 --- a/libslab/Makefile.am +++ b/libslab/Makefile.am @@ -1,9 +1,11 @@ +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libslab.pc + INCLUDES = \ -I$(top_srcdir) \ $(LIBSLAB_CFLAGS) \ $(WARN_CFLAGS) - HEADER_FILES= \ $(BUILT_SOURCES) \ app-resizer.h \ @@ -24,11 +26,7 @@ HEADER_FILES= \ system-tile.h \ tile.h -if !LIBSLAB_FOR_INTERNAL_USE lib_LTLIBRARIES = libslab.la -else -noinst_LTLIBRARIES = libslab.la -endif libslab_la_SOURCES = \ $(MARSHAL_GENERATED) \ @@ -53,13 +51,8 @@ libslab_la_SOURCES = \ tile-action.c \ tile.c -if !LIBSLAB_FOR_INTERNAL_USE libslab_includedir = $(includedir)/libslab libslab_include_HEADERS = $(HEADER_FILES) - -libslab_la_LDFLAGS = -version-info $(LT_VERSION) -endif - libslab_la_LIBADD = $(LIBSLAB_LIBS) search-entry-watermark.h: search-entry-watermark.svg diff --git a/libslab/libslab.pc.in b/libslab/libslab.pc.in new file mode 100644 index 00000000..bbc8371c --- /dev/null +++ b/libslab/libslab.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libslab +Description: Beautiful App Slab +Requires: glib-2.0 gobject-2.0 gio-2.0 gtk+-2.0 mate-desktop-2.0 libmate-menu +Requires.private: gdk-2.0 librsvg-2.0 +Version: @VERSION@ +Libs: -L${libdir} -lslab +Cflags: -I${includedir}/libslab -- cgit v1.2.1