diff options
Diffstat (limited to 'meta-efl/recipes-efl/e17/enjoy_git.bb')
-rw-r--r-- | meta-efl/recipes-efl/e17/enjoy_git.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-efl/recipes-efl/e17/enjoy_git.bb b/meta-efl/recipes-efl/e17/enjoy_git.bb new file mode 100644 index 000000000..bc3168e6a --- /dev/null +++ b/meta-efl/recipes-efl/e17/enjoy_git.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | SUMMARY = "Enjoy music player" | ||
2 | LICENSE = "LGPLv3" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" | ||
4 | DEPENDS = "evas ecore edje elementary emotion lightmediascanner eldbus gst-plugins-good" | ||
5 | |||
6 | SRCREV = "aa8fec69e885eec048a849c2b34059ec58404e02" | ||
7 | PV = "0.1.0+gitr${SRCPV}" | ||
8 | |||
9 | #1st needed for all formats | ||
10 | #2nd needed for mp3 playback | ||
11 | #3d needed for ogg playback | ||
12 | #4th needed for flac playback | ||
13 | #5th needed binary to create db | ||
14 | RDEPENDS_${PN} += "\ | ||
15 | gst-plugins-base-typefindfunctions gst-plugins-base-playbin gst-plugins-base-volume gst-plugins-base-decodebin2 gst-plugins-good-autodetect \ | ||
16 | gst-plugins-base-ogg gst-plugins-base-ivorbisdec \ | ||
17 | gst-plugins-good-flac \ | ||
18 | lightmediascanner-test \ | ||
19 | " | ||
20 | |||
21 | inherit e gettext | ||
22 | SRC_URI = " \ | ||
23 | git://git.enlightenment.org/apps/enjoy.git \ | ||
24 | file://0001-always-use-position-as-percent-and-define-a-1-second.patch \ | ||
25 | " | ||
26 | S = "${WORKDIR}/git" | ||
27 | |||
28 | FILES_${PN} += "${datadir}/icons/" | ||
29 | |||
30 | EXTRA_OECONF = "\ | ||
31 | --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ | ||
32 | " | ||
33 | |||
34 | PACKAGECONFIG[mad] = ",,gst-plugins-ugly,gst-plugins-ugly-mad" | ||
35 | PACKAGECONFIG[id3demux] = ",,,gst-plugins-good-id3demux" | ||
36 | |||
37 | do_configure_prepend() { | ||
38 | autopoint || touch config.rpath | ||
39 | } | ||
40 | |||
41 | pkg_postinst_${PN} () { | ||
42 | echo "enjoy: SCAN and LIBRARY MANAGER are not implemeted yet!" | ||
43 | echo "enjoy: Meanwhile please run:" | ||
44 | echo "enjoy: test-lms -m mono -p id3 -i 5000 -s /path/to/your/music/dir /home/root/.config/enjoy/media.db" | ||
45 | echo "enjoy:" | ||
46 | echo "enjoy: Use test-lms -P to see available formats that can be scanned" | ||
47 | } | ||