summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/libid3tag/files/id3tag.pc11
-rw-r--r--meta/packages/libid3tag/libid3tag_0.15.1b.bb10
2 files changed, 19 insertions, 2 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.1b.bb b/meta/packages/libid3tag/libid3tag_0.15.1b.bb
index 21f2c0f41d..c9f4a0c0ba 100644
--- a/meta/packages/libid3tag/libid3tag_0.15.1b.bb
+++ b/meta/packages/libid3tag/libid3tag_0.15.1b.bb
@@ -3,14 +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 = "r1"
7
8SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \
9 file://id3tag.pc"
6 10
7SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz"
8S = "${WORKDIR}/libid3tag-${PV}" 11S = "${WORKDIR}/libid3tag-${PV}"
9 12
10inherit autotools 13inherit autotools pkgconfig
11 14
12EXTRA_OECONF = "-enable-speed" 15EXTRA_OECONF = "-enable-speed"
13 16
17do_configure_prepend() {
18 install -m 0644 ${WORKDIR}/id3tag.pc ${S}
19}
14do_stage() { 20do_stage() {
15 oe_libinstall -so libid3tag ${STAGING_LIBDIR} 21 oe_libinstall -so libid3tag ${STAGING_LIBDIR}
16 install -m 0644 id3tag.h ${STAGING_INCDIR} 22 install -m 0644 id3tag.h ${STAGING_INCDIR}