From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 3/3] libid3tag: Addition of pkgconfig file Date: Fri, 09 Apr 2021 21:10:22 +0200 Message-ID: <20210409191022.2911348-3-adolf.belka@ipfire.org> In-Reply-To: <20210409191022.2911348-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6750554579709903381==" List-Id: --===============6750554579709903381== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - 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 --- 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=3D/usr +libdir=3D${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 =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) PROG =3D libid3tag -PAK_VER =3D 1 +PAK_VER =3D 2 =20 DEPS =3D =20 @@ -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=3D/usr cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) cd $(DIR_APP) && make install --=20 2.31.1 --===============6750554579709903381==--