Martin Jansa 93c1285008 enjoy: remove SHR override and add autopoint
* autopoint was removed in e.bbclass because most stuff works without it and it was breaking elementary
  but here it's still needed
* without it fails with:
  Making all in po
  make[2]: Entering directory `/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/enjoy-0.0+svnr65808-r4/enjoy/po'
  make enjoy.pot-update
  make[3]: Entering directory `/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/enjoy-0.0+svnr65808-r4/enjoy/po'
  make[3]: *** No rule to make target `remove-potcdate.sed', needed by `enjoy.pot-update'.  Stop.
  make[3]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/enjoy-0.0+svnr65808-r4/enjoy/po'
  make[2]: *** [enjoy.pot] Error 2
  make[2]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/enjoy-0.0+svnr65808-r4/enjoy/po'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/enjoy-0.0+svnr65808-r4/enjoy'
  make: *** [all] Error 2

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-12-06 13:08:30 +01:00

45 lines
1.5 KiB
BlitzBasic

DESCRIPTION = "Enjoy music player"
LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=0f507c68d42d1cc0fcb507d007112bf2"
DEPENDS = "evas ecore edje elementary emotion lightmediascanner"
SRCREV = "${EFL_SRCREV}"
PV = "0.0+svnr${SRCPV}"
PR = "r4"
DEPENDS += "gst-plugins-good ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugins-ugly', d)}"
#1st needed for all formats
#2nd needed for mp3 playback
#3d needed for ogg playback
#4th needed for flac playback
#5th needed binary to create db
RDEPENDS += "\
gst-plugins-base-typefindfunctions gst-plugins-base-playbin gst-plugins-base-volume gst-plugins-base-decodebin2 gst-plugins-good-autodetect \
${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugins-ugly-mad gst-plugins-good-id3demux', d)} \
gst-plugins-base-ogg gst-plugins-base-ivorbisdec \
gst-plugins-good-flac \
lightmediascanner-test \
"
inherit e gettext
SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};proto=http;scmdata=keep"
S = "${WORKDIR}/${SRCNAME}"
FILES_${PN} += "${datadir}/icons/"
EXTRA_OECONF = "\
--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \
"
do_configure_prepend() {
autopoint || touch config.rpath
}
pkg_postinst_${PN} () {
echo "enjoy: SCAN and LIBRARY MANAGER are not implemeted yet!"
echo "enjoy: Meanwhile please run:"
echo "enjoy: test-lms -m mono -p id3 -i 5000 -s /path/to/your/music/dir /home/root/.config/enjoy/media.db"
echo "enjoy:"
echo "enjoy: Use test-lms -P to see available formats that can be scanned"
}