summaryrefslogtreecommitdiff
path: root/libslab
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-29 16:50:04 +0100
committerStefano Karapetsas <[email protected]>2012-11-29 16:50:04 +0100
commit443a918bd4735e674bdec300f6b8eabe8cda24e0 (patch)
treedaa1698493d2fa780e7bebaa83b4224a45556bbb /libslab
parent12129854c64a6104ad15c96aace53b08edf64d2b (diff)
downloadmate-control-center-443a918bd4735e674bdec300f6b8eabe8cda24e0.tar.bz2
mate-control-center-443a918bd4735e674bdec300f6b8eabe8cda24e0.tar.xz
install libslab library and headers
gnome libslab is no more available, so we can ship it
Diffstat (limited to 'libslab')
-rw-r--r--libslab/Makefile.am13
-rw-r--r--libslab/libslab.pc.in12
2 files changed, 15 insertions, 10 deletions
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