summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/libplayer/libplayer.inc26
-rw-r--r--recipes/libplayer/libplayer_hg.bb9
2 files changed, 35 insertions, 0 deletions
diff --git a/recipes/libplayer/libplayer.inc b/recipes/libplayer/libplayer.inc
new file mode 100644
index 0000000000..a986a211ed
--- /dev/null
+++ b/recipes/libplayer/libplayer.inc
@@ -0,0 +1,26 @@
+DESCRIPTION = "libplayer is a multimedia A/V abstraction layer API. Its goal is to interact with Enna Media Center."
+HOMEPAGE = "http://libplayer.geexbox.org/"
+SECTION = "libs/multimedia"
+LICENSE = "LGPLv2.1+"
+DEPENDS = "mplayer gstreamer"
+
+INC_PR = "r0"
+
+SRC_URI = "http://libplayer.geexbox.org/releases/${P}.tar.bz2;name=${PN}"
+
+inherit autotools pkgconfig
+
+# the configure script is hand-crafted, it rejects some of the usual
+# configure arguments
+do_configure() {
+ ${S}/configure \
+ --prefix=${prefix} \
+ --disable-strip \
+ --cross-compile \
+ --enable-pic \
+ --enable-doc
+}
+
+PACKAGES =+ "${PN}-bin"
+
+FILES_${PN}-bin = "${bindir}/*"
diff --git a/recipes/libplayer/libplayer_hg.bb b/recipes/libplayer/libplayer_hg.bb
new file mode 100644
index 0000000000..cfe150b308
--- /dev/null
+++ b/recipes/libplayer/libplayer_hg.bb
@@ -0,0 +1,9 @@
+require libplayer.inc
+PV = "1.0.0+hg"
+PR = "${INC_PR}.0"
+
+SRCREV = "a628f49d952a"
+
+SRC_URI = "hg://hg.geexbox.org;module=${PN};rev=${SRCREV}"
+
+S = "${WORKDIR}/${PN}"