summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/libid3tag/files/id3tag.pc11
-rw-r--r--meta/packages/libid3tag/libid3tag_0.15.0b.bb11
2 files changed, 19 insertions, 3 deletions
diff --git a/meta/packages/libid3tag/files/id3tag.pc b/meta/packages/libid3tag/files/id3tag.pc
new file mode 100644
index 0000000000..e686000689
--- /dev/null
+++ b/meta/packages/libid3tag/files/id3tag.pc
@@ -0,0 +1,11 @@
1prefix=/usr
2exec_prefix=${prefix}
3libdir=${exec_prefix}/lib
4includedir=${prefix}/include
5
6Name: id3tag
7Description: ID3 tag reading library
8Requires:
9Version: 0.15.0b
10Libs: -L${libdir} -lid3tag -lz
11Cflags: -I${includedir}
diff --git a/meta/packages/libid3tag/libid3tag_0.15.0b.bb b/meta/packages/libid3tag/libid3tag_0.15.0b.bb
index 840c7f8ae7..8b078d63e7 100644
--- a/meta/packages/libid3tag/libid3tag_0.15.0b.bb
+++ b/meta/packages/libid3tag/libid3tag_0.15.0b.bb
@@ -3,15 +3,20 @@ PRIORITY = "optional"
3DEPENDS = "zlib" 3DEPENDS = "zlib"
4DESCRIPTION = "Library for interacting with ID3 tags." 4DESCRIPTION = "Library for interacting with ID3 tags."
5LICENSE = "GPL" 5LICENSE = "GPL"
6PR = "r2" 6PR = "r3"
7
8SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \
9 file://id3tag.pc"
7 10
8SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz "
9S = "${WORKDIR}/libid3tag-${PV}" 11S = "${WORKDIR}/libid3tag-${PV}"
10 12
11inherit autotools 13inherit autotools pkgconfig
12 14
13EXTRA_OECONF = "-enable-speed" 15EXTRA_OECONF = "-enable-speed"
14 16
17do_configure_prepend() {
18 install -m 0644 ${WORKDIR}/id3tag.pc ${S}
19}
15do_stage() { 20do_stage() {
16 oe_libinstall -so libid3tag ${STAGING_LIBDIR} 21 oe_libinstall -so libid3tag ${STAGING_LIBDIR}
17 install -m 0644 id3tag.h ${STAGING_INCDIR} 22 install -m 0644 id3tag.h ${STAGING_INCDIR}