public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 3/3] libid3tag: Addition of pkgconfig file
Date: Fri, 09 Apr 2021 21:10:22 +0200	[thread overview]
Message-ID: <20210409191022.2911348-3-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20210409191022.2911348-1-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 2054 bytes --]

- id3tag.pc pkgconfig file required for mpd-0.22.6 to find libid3tag
   library files
- Update of rootfile
- update lfs to install id3tag.pc file to /usr/lib/pkgconfig directory

Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
 config/libid3tag/id3tag.pc          | 8 ++++++++
 config/rootfiles/packages/libid3tag | 3 ++-
 lfs/libid3tag                       | 5 ++++-
 3 files changed, 14 insertions(+), 2 deletions(-)
 create mode 100644 config/libid3tag/id3tag.pc

diff --git a/config/libid3tag/id3tag.pc b/config/libid3tag/id3tag.pc
new file mode 100644
index 000000000..e03cc771e
--- /dev/null
+++ b/config/libid3tag/id3tag.pc
@@ -0,0 +1,8 @@
+prefix=/usr
+libdir=${prefix}/lib
+
+Name: ID3TAG
+Description: libid3tag - ID3 tag manipulation library
+Version: 0.15.1b
+Libs: -L${libdir} -lid3tag -lz
+Cflags:
diff --git a/config/rootfiles/packages/libid3tag b/config/rootfiles/packages/libid3tag
index 8963ab803..0899f8702 100644
--- a/config/rootfiles/packages/libid3tag
+++ b/config/rootfiles/packages/libid3tag
@@ -1,6 +1,7 @@
 #usr/include/id3tag.h
 #usr/lib/libid3tag.a
 #usr/lib/libid3tag.la
-usr/lib/libid3tag.so
+#usr/lib/libid3tag.so
 usr/lib/libid3tag.so.0
 usr/lib/libid3tag.so.0.3.0
+usr/lib/pkgconfig/id3tag.pc
diff --git a/lfs/libid3tag b/lfs/libid3tag
index 8c61c5157..9005ca94c 100644
--- a/lfs/libid3tag
+++ b/lfs/libid3tag
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = libid3tag
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       =
 
@@ -78,6 +78,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 	$(UPDATE_AUTOMAKE)
+	# install id3tag pkgconfig file
+	install -v -m 644 ${DIR_SRC}/config/libid3tag/id3tag.pc \
+			/usr/lib/pkgconfig/id3tag.pc
 	cd $(DIR_APP) && ./configure --prefix=/usr
 	cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
 	cd $(DIR_APP) && make install
-- 
2.31.1


      parent reply	other threads:[~2021-04-09 19:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-09 19:10 [PATCH 1/3] mpd: Update to 0.22.6 Adolf Belka
2021-04-09 19:10 ` [PATCH 2/3] libupnp: Update to 1.14.5 Adolf Belka
2021-04-12  9:53   ` Michael Tremer
2021-04-12 11:17     ` Adolf Belka
2021-04-12 16:30       ` Adolf Belka
2021-04-14  9:12         ` Michael Tremer
2021-04-09 19:10 ` Adolf Belka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210409191022.2911348-3-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox