From 4b2a7223f1549b7acd279f5a5b2fde4c4642dbf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me>
Date: Sun, 18 Dec 2022 16:05:36 +0100
Subject: [PATCH 1/3] packaging: set correct Version: in pkg-config file

---
 packaging/portSMF.pc.in | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Forwarded: https://codeberg.org/tenacityteam/portsmf/pulls/11

diff --git a/packaging/portSMF.pc.in b/packaging/portSMF.pc.in
index 7cdca36..756698f 100644
--- a/packaging/portSMF.pc.in
+++ b/packaging/portSMF.pc.in
@@ -1,12 +1,12 @@
-prefix=@CMAKE_INSTALL_PREFIX@
-includedir=${prefix}/include
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
-
-Name: portSMF
-Description: Portmedia Simple Midi File library
-Requires: 
-Version: 0.1
-URL: https://github.com/tenacityteam/portsmf
-
-Libs: -L${libdir} -lportSMF
-Cflags: -I${includedir}
+prefix=@CMAKE_INSTALL_PREFIX@
+includedir=${prefix}/include
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
+
+Name: portSMF
+Description: Portmedia Simple Midi File library
+Requires: 
+Version: @LIBRARY_VERSION@
+URL: https://github.com/tenacityteam/portsmf
+
+Libs: -L${libdir} -lportSMF
+Cflags: -I${includedir}
-- 
2.39.0

