aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-02-05 14:06:58 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-21 20:57:03 +0200
commite34245c32051100b383b56b2c61f1ee5813b4455 (patch)
treec49ab06530f5a8dbea3f33c688ddbffe8b6d627f
parent34e808d3b9a322db3908454944c69c1373572f66 (diff)
downloadayatana-ido-e34245c32051100b383b56b2c61f1ee5813b4455.tar.gz
ayatana-ido-e34245c32051100b383b56b2c61f1ee5813b4455.tar.bz2
ayatana-ido-e34245c32051100b383b56b2c61f1ee5813b4455.zip
Add data/libayatana-ido3-0.4.pc.in
-rw-r--r--data/CMakeLists.txt7
-rw-r--r--data/libayatana-ido3-0.4.pc.in11
2 files changed, 18 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
new file mode 100644
index 0000000..d423718
--- /dev/null
+++ b/data/CMakeLists.txt
@@ -0,0 +1,7 @@
+# Create the .pc
+
+configure_file("${CMAKE_CURRENT_SOURCE_DIR}/libayatana-ido3-0.4.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libayatana-ido3-0.4.pc")
+
+# Install
+
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libayatana-ido3-0.4.pc" DESTINATION "${LIB_DIR_PATH}/pkgconfig/")
diff --git a/data/libayatana-ido3-0.4.pc.in b/data/libayatana-ido3-0.4.pc.in
new file mode 100644
index 0000000..b1da305
--- /dev/null
+++ b/data/libayatana-ido3-0.4.pc.in
@@ -0,0 +1,11 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+
+Name: libayatana-ido3
+Description: Ayatana Indicator Display Objects
+Version: @PROJECT_VERSION@
+Libs: -L${libdir} -layatana-ido3-0.4
+Cflags: -I${includedir}/libayatana-ido3-0.4
+Requires: gtk+-3.0