summaryrefslogtreecommitdiffstats
path: root/meta-efl/recipes-multimedia
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2017-08-21 09:24:05 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-31 10:18:33 +0200
commit52fd2575798d9f8b24ca8b7182b09b1cc698a203 (patch)
tree8a5a9bd95534e3a89c442e4b93dc3b42c9f3b57b /meta-efl/recipes-multimedia
parent6e7c9636d276ac02f64aa48fb4fb36f9ee8f3076 (diff)
downloadmeta-openembedded-52fd2575798d9f8b24ca8b7182b09b1cc698a203.tar.gz
meta-efl: remove this now pretty empty layer
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-efl/recipes-multimedia')
-rw-r--r--meta-efl/recipes-multimedia/lightmediascanner/files/0001-Define-comparison_fn_t-for-non-glibc-systems.patch33
-rw-r--r--meta-efl/recipes-multimedia/lightmediascanner/files/id3-plugin-support-out-of-tree-build.patch11
-rw-r--r--meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.5.1.bb63
3 files changed, 0 insertions, 107 deletions
diff --git a/meta-efl/recipes-multimedia/lightmediascanner/files/0001-Define-comparison_fn_t-for-non-glibc-systems.patch b/meta-efl/recipes-multimedia/lightmediascanner/files/0001-Define-comparison_fn_t-for-non-glibc-systems.patch
deleted file mode 100644
index 15d4b3f0e..000000000
--- a/meta-efl/recipes-multimedia/lightmediascanner/files/0001-Define-comparison_fn_t-for-non-glibc-systems.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 5bc5b8c5dad3edec6736fd7e7ce61250c4ce3725 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 12 Jul 2017 17:13:19 -0700
4Subject: [PATCH] Define comparison_fn_t for non-glibc systems
5
6lightmediascanner.c:324:12: error: 'comparison_fn_t' undeclared (first use in this function)
7 (comparison_fn_t)_plugin_sort);
8 ^~~~~~~~~~~~~~~
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/lib/lightmediascanner.c | 5 +++++
13 1 file changed, 5 insertions(+)
14
15diff --git a/src/lib/lightmediascanner.c b/src/lib/lightmediascanner.c
16index 344b247..b866883 100644
17--- a/src/lib/lightmediascanner.c
18+++ b/src/lib/lightmediascanner.c
19@@ -37,6 +37,11 @@
20 #define DEFAULT_SLAVE_TIMEOUT 1000
21 #define DEFAULT_COMMIT_INTERVAL 100
22
23+#if !defined(__GLIBC__)
24+typedef int (*__compar_fn_t) (const void*, const void*);
25+typedef __compar_fn_t comparison_fn_t;
26+#endif
27+
28 #ifdef HAVE_MAGIC_H
29 static magic_t _magic_handle;
30
31--
322.13.2
33
diff --git a/meta-efl/recipes-multimedia/lightmediascanner/files/id3-plugin-support-out-of-tree-build.patch b/meta-efl/recipes-multimedia/lightmediascanner/files/id3-plugin-support-out-of-tree-build.patch
deleted file mode 100644
index 9528bec79..000000000
--- a/meta-efl/recipes-multimedia/lightmediascanner/files/id3-plugin-support-out-of-tree-build.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- a/src/plugins/Makefile.am 2015-10-25 16:12:29.331415823 +0000
2+++ b/src/plugins/Makefile.am 2015-10-25 16:14:37.593415808 +0000
3@@ -93,7 +93,7 @@
4 id3_id3_la_SOURCES = id3/id3.c id3/id3v1_genres.c
5 id3_id3_la_LIBADD = $(PLUGINS_LIBADD)
6
7-id3/id3v1_genres.c: $(srcdir)/id3/id3v1_genres.def $(srcdir)/id3/id3v1_genres_gen.awk
8+$(srcdir)/id3/id3v1_genres.c: $(srcdir)/id3/id3v1_genres.def $(srcdir)/id3/id3v1_genres_gen.awk
9 $(AWK) -f $(srcdir)/id3/id3v1_genres_gen.awk $(srcdir)/id3/id3v1_genres.def > $@
10
11 EXTRA_DIST += id3/id3v1_genres.def id3/id3v1_genres_gen.awk
diff --git a/meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.5.1.bb b/meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.5.1.bb
deleted file mode 100644
index f2158760f..000000000
--- a/meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.5.1.bb
+++ /dev/null
@@ -1,63 +0,0 @@
1SUMMARY = "Lightweight media scanner"
2DESCRIPTION = "Lightweight media scanner meant to be used in not-so-powerful devices, like embedded systems or old machines."
3SECTION = "libs/multimedia"
4
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
7 file://src/lib/lightmediascanner.c;endline=21;md5=6d8889bccb4c6c27e8b786342a3eb267"
8
9DEPENDS = "file gawk glib-2.0 sqlite3"
10
11PV = "0.5.1+git${SRCPV}"
12SRCREV = "adfddb3486276a5ed2f5008c9e43a811e1271cc9"
13SRC_URI = "git://github.com/profusion/lightmediascanner.git \
14 file://id3-plugin-support-out-of-tree-build.patch \
15 file://0001-Define-comparison_fn_t-for-non-glibc-systems.patch \
16 "
17
18S = "${WORKDIR}/git"
19
20inherit autotools pkgconfig
21
22EXTRA_OECONF = "--enable-static --disable-mp4"
23
24PACKAGECONFIG ??= "ogg flac wave id3 m3u pls asf rm jpeg png"
25PACKAGECONFIG[generic] = "--enable-generic,--disable-generic,libav"
26PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg libvorbis libtheora"
27PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac"
28PACKAGECONFIG[wave] = "--enable-wave,--disable-wave"
29PACKAGECONFIG[id3] = "--enable-id3,--disable-id3"
30PACKAGECONFIG[m3u] = "--enable-m3u,--disable-m3u"
31PACKAGECONFIG[pls] = "--enable-pls,--disable-pls"
32PACKAGECONFIG[asf] = "--enable-asf,--disable-asf"
33PACKAGECONFIG[rm] = "--enable-rm,--disable-rm"
34PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg"
35PACKAGECONFIG[png] = "--enable-png,--disable-png"
36
37do_install_append() {
38 # Install "test" binary for corresponding package
39 install -d ${D}/${bindir}
40 install -m 755 ${B}/src/bin/.libs/test ${D}/${bindir}/test-lms
41 # Remove .la files for loadable modules
42 rm -f ${D}/${libdir}/${PN}/plugins/*.la
43}
44
45FILES_${PN} += "${datadir}/dbus-1"
46FILES_${PN}-dbg += "${libdir}/${PN}/plugins/.debug"
47
48PACKAGES_prepend = "${PN}-test "
49FILES_${PN}-test_prepend = "${bindir}/test-lms "
50
51PACKAGES += "${PN}-meta"
52ALLOW_EMPTY_${PN}-meta = "1"
53
54PACKAGES_DYNAMIC = "${PN}-plugin-*"
55
56python populate_packages_prepend () {
57 lms_libdir = d.expand('${libdir}/${PN}')
58 pkgs = []
59
60 pkgs += do_split_packages(d, oe.path.join(lms_libdir, "plugins"), '^(.*)\.so$', d.expand('${PN}-plugin-%s'), 'LightMediaScanner plugin for %s', prepend=True, extra_depends=d.expand('${PN}'))
61 metapkg = d.getVar('PN') + '-meta'
62 d.setVar('RDEPENDS_' + metapkg, ' '.join(pkgs))
63}