From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by mail.openembedded.org (Postfix) with ESMTP id F02F26CDB6 for ; Thu, 17 Oct 2013 23:12:25 +0000 (UTC) Received: by mail-pd0-f179.google.com with SMTP id y10so721096pdj.38 for ; Thu, 17 Oct 2013 16:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TemGViNNfk4S267Uqfel8bpuYHmTU43VBAzDkejgVkc=; b=TeAaeX3D7iiL2UMl1F/J/RPmE21vko0UcbSzcNV4Jg/OB4ekeluKzS+DYunsDMrPyi uvRLP5eFhk41I7m1lWJ3cLxXjAsppRd1Yx775lediv2i8m/kOuY5t0PbwTmDYMFPBNix orfrV8ILTOKmoYF/45oVX8g2MsDuQKxZXrtx1dcSRswUhYAHiqZRWHnNNHoX0tDd7Xbb VPDIQoLG2LLbLxak+cjcF0S2GO4HROjymA+ZtajcHULvedFwgmjMu+pvQ422QGjKNSub ooQwTXXgMoi8UON5qQj7km/ioZuSfXR1XqriTWbqDVOou6w+Lbh92XEwFzg0/ityIxIE NUiA== X-Received: by 10.66.65.108 with SMTP id w12mr16827pas.183.1382051548081; Thu, 17 Oct 2013 16:12:28 -0700 (PDT) Received: from haswell.gateway.2wire.net (99-57-140-209.lightspeed.sntcca.sbcglobal.net. [99.57.140.209]) by mx.google.com with ESMTPSA id fa4sm117337667pab.17.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Oct 2013 16:12:27 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 17 Oct 2013 16:11:59 -0700 Message-Id: <1382051520-1562-2-git-send-email-raj.khem@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1382051520-1562-1-git-send-email-raj.khem@gmail.com> References: <1382051520-1562-1-git-send-email-raj.khem@gmail.com> Cc: Cliff Brake Subject: [meta-multimedia][PATCHv2 2/3] coriander: add recipe X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 23:12:26 -0000 From: Cliff Brake Initial recipe created by Khem Raj Signed-off-by: Cliff Brake Signed-off-by: Khem Raj --- .../coriander/coriander/cross-compile.patch | 17 +++++++++++++++++ .../recipes-multimedia/coriander/coriander_2.0.2.bb | 15 +++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/coriander/coriander/cross-compile.patch create mode 100755 meta-multimedia/recipes-multimedia/coriander/coriander_2.0.2.bb diff --git a/meta-multimedia/recipes-multimedia/coriander/coriander/cross-compile.patch b/meta-multimedia/recipes-multimedia/coriander/coriander/cross-compile.patch new file mode 100644 index 0000000..49350fe --- /dev/null +++ b/meta-multimedia/recipes-multimedia/coriander/coriander/cross-compile.patch @@ -0,0 +1,17 @@ +In a cross compile environment adding paths like /usr are not correct. +With this patch we make it so that its relative to sysroot if the compiler +defines one. + +Upstream-Status: Pending +Signed-off-by: Khem Raj +Index: a/src/Makefile.am +=================================================================== +--- a/src/Makefile.am 2013-02-08 22:35:08.000000000 -0800 ++++ b/src/Makefile.am 2013-10-13 01:31:38.812869080 -0700 +@@ -33,5 +33,5 @@ + video_encode.c video_encode.h \ + subtitles.c subtitles.h + +-coriander_LDADD = -L/usr/X11R6/lib/ @PACKAGE_LIBS@ $(INTLLIBS) $(LIBTIFF_LIBS) $(FTPLIB_LIBS) $(SDLLIB_LIBS) $(LIBDC_LIBS) $(LIBRAW_LIBS) $(XV_LIBS) $(COR_LFS_LDFLAGS) -lgthread-2.0 $(FFMPEG_LIBS) $(X11_LIBS) ++coriander_LDADD = -L=/usr/X11R6/lib/ @PACKAGE_LIBS@ $(INTLLIBS) $(LIBTIFF_LIBS) $(FTPLIB_LIBS) $(SDLLIB_LIBS) $(LIBDC_LIBS) $(LIBRAW_LIBS) $(XV_LIBS) $(COR_LFS_LDFLAGS) -lgthread-2.0 $(FFMPEG_LIBS) $(X11_LIBS) + diff --git a/meta-multimedia/recipes-multimedia/coriander/coriander_2.0.2.bb b/meta-multimedia/recipes-multimedia/coriander/coriander_2.0.2.bb new file mode 100755 index 0000000..587055d --- /dev/null +++ b/meta-multimedia/recipes-multimedia/coriander/coriander_2.0.2.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Control and capture GUI for IIDC compliant cameras" +HOMEPAGE = "http://damien.douxchamps.net/ieee1394/coriander/" +SECTION = "applications" +LICENSE = "GPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +DEPENDS = "gtk+ libgnomeui libraw1394 libdc1394 libxv" + +SRC_URI = "${SOURCEFORGE_MIRROR}/project/${PN}/coriander-2/${PV}/${P}.tar.gz \ + file://cross-compile.patch \ + " + +SRC_URI[md5sum] = "431d98fb013217681f97ade168201fb8" +SRC_URI[sha256sum] = "5c7fd31cb58d398e2742352bf1ffbd2ca22e06686c6668ecfd437735c2b79123" + +inherit autotools gettext sdl -- 1.8.3.2