From 137716df3f197a7184c1fba88fcb30480dafd6e0 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 8 Jun 2020 22:00:04 +0200 Subject: pkgconfig: Correctly rename libplist*.pc to libplist*-2.0.pc --- configure.ac | 4 ++-- src/Makefile.am | 2 +- src/libplist++-2.0.pc.in | 11 +++++++++++ src/libplist++.pc.in | 11 ----------- src/libplist-2.0.pc.in | 10 ++++++++++ src/libplist.pc.in | 10 ---------- 6 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 src/libplist++-2.0.pc.in delete mode 100644 src/libplist++.pc.in create mode 100644 src/libplist-2.0.pc.in delete mode 100644 src/libplist.pc.in diff --git a/configure.ac b/configure.ac index 7b19844..b928e0a 100644 --- a/configure.ac +++ b/configure.ac @@ -284,8 +284,8 @@ AC_OUTPUT([ Makefile libcnary/Makefile src/Makefile -src/libplist.pc -src/libplist++.pc +src/libplist-2.0.pc +src/libplist++-2.0.pc include/Makefile tools/Makefile docs/Makefile diff --git a/src/Makefile.am b/src/Makefile.am index 995bddd..7fe500a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -49,4 +49,4 @@ libplist___la_LDFLAGS += -avoid-version -static-libgcc endif pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libplist.pc libplist++.pc +pkgconfig_DATA = libplist-2.0.pc libplist++-2.0.pc diff --git a/src/libplist++-2.0.pc.in b/src/libplist++-2.0.pc.in new file mode 100644 index 0000000..0fce9d1 --- /dev/null +++ b/src/libplist++-2.0.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: @PACKAGE_NAME@++ +Description: C++ binding for @PACKAGE_NAME@ +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lplist++ +Cflags: -I${includedir} +Requires.private: libplist >= @PACKAGE_VERSION@ diff --git a/src/libplist++.pc.in b/src/libplist++.pc.in deleted file mode 100644 index 0fce9d1..0000000 --- a/src/libplist++.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: @PACKAGE_NAME@++ -Description: C++ binding for @PACKAGE_NAME@ -Version: @PACKAGE_VERSION@ -Libs: -L${libdir} -lplist++ -Cflags: -I${includedir} -Requires.private: libplist >= @PACKAGE_VERSION@ diff --git a/src/libplist-2.0.pc.in b/src/libplist-2.0.pc.in new file mode 100644 index 0000000..0bd6932 --- /dev/null +++ b/src/libplist-2.0.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: @PACKAGE_NAME@ +Description: A library to handle Apple Property Lists whereas they are binary or XML +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lplist +Cflags: -I${includedir} diff --git a/src/libplist.pc.in b/src/libplist.pc.in deleted file mode 100644 index 0bd6932..0000000 --- a/src/libplist.pc.in +++ /dev/null @@ -1,10 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: @PACKAGE_NAME@ -Description: A library to handle Apple Property Lists whereas they are binary or XML -Version: @PACKAGE_VERSION@ -Libs: -L${libdir} -lplist -Cflags: -I${includedir} -- cgit v1.1-32-gdbae