All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Menzel <paulepanter@users.sourceforge.net>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH v2] libvalhalla: Add recipe for libvalhalla 1.0.1.
Date: Fri, 19 Mar 2010 16:27:05 +0100	[thread overview]
Message-ID: <1269012425.6119.5.camel@mattotaupa> (raw)
In-Reply-To: <1268784521.3893.15.camel@mattotaupa>

[-- Attachment #1: Type: text/plain, Size: 2531 bytes --]

1. `--enable-pic` is needed for non-x86 architectures.
2. Put test programs in separate package `${PN}-bin`. Manual pages are in `${PN}-doc` though.
3. Build tested with GCC 4.4.3 and Binutils 2.20.1 for `MACHINE = "beagleboard"`.
4. Depend on `libnfo` since it is recommended on upstream’s Web site.

`do_configure()` is based on the recipe of `ushare`.

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 recipes/libvalhalla/libvalhalla.inc      |   30 ++++++++++++++++++++++++++++++
 recipes/libvalhalla/libvalhalla_1.0.1.bb |    5 +++++
 2 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libvalhalla/libvalhalla.inc
 create mode 100644 recipes/libvalhalla/libvalhalla_1.0.1.bb

diff --git a/recipes/libvalhalla/libvalhalla.inc b/recipes/libvalhalla/libvalhalla.inc
new file mode 100644
index 0000000..03b7cfd
--- /dev/null
+++ b/recipes/libvalhalla/libvalhalla.inc
@@ -0,0 +1,30 @@
+DESCRIPTION = "libvalhalla is a library written in C. It is a media scanner, that stores various information in an SQLite database and relies on FFmpeg (libavformat and libavutil) and libcurl. It features many Internet grabbers that allows automatic download of covers, lyrics, informations on media files, tags retrival in video and music files and so on."
+HOMEPAGE = "http://libvalhalla.geexbox.org/"
+SECTION = "libs/multimedia"
+LICENSE = "LGPLv2.1"
+DEPENDS = "sqlite3 curl ffmpeg libnfo"
+
+INC_PR = "r0"
+
+SRC_URI = "http://libvalhalla.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 \
+		--with-lavf-inc=${STAGING_INCDIR} \
+		--with-lavf-lib=${STAGING_LIBDIR} \
+		--with-lavc-inc=${STAGING_INCDIR} \
+		--with-lavc-lib=${STAGING_LIBDIR} \
+		--cross-compile \
+		--enable-pic \
+                --enable-doc
+}
+
+PACKAGES =+ "${PN}-bin"
+
+FILES_${PN}-bin = "${bindir}/*"
diff --git a/recipes/libvalhalla/libvalhalla_1.0.1.bb b/recipes/libvalhalla/libvalhalla_1.0.1.bb
new file mode 100644
index 0000000..9fe1f5e
--- /dev/null
+++ b/recipes/libvalhalla/libvalhalla_1.0.1.bb
@@ -0,0 +1,5 @@
+require libvalhalla.inc
+PR = "${INC_PR}.0"
+
+SRC_URI[libvalhalla.md5sum] = "75d4a3383887c4c341eeba9ebe60d626"
+SRC_URI[libvalhalla.sha256sum] = "df78015e118c784e3ff3e8562bc96d287ac11997d3b9e45e2d8b67568b0600d3"
-- 
1.7.0

[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2010-03-19 15:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-16 16:45 [PATCH] libvalhalla: Add recipe for libvalhalla 1.0.1 Paul Menzel
2010-03-17  0:08 ` Paul Menzel
2010-03-19 15:27   ` Paul Menzel [this message]
2010-03-19 15:51     ` [PATCH v2] " Koen Kooi
2010-03-19 16:41       ` Paul Menzel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1269012425.6119.5.camel@mattotaupa \
    --to=paulepanter@users.sourceforge.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.