Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 9ECF3E00993; Sun, 8 Feb 2015 03:58:56 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.217.182 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 20C40E00949 for ; Sun, 8 Feb 2015 03:58:51 -0800 (PST) Received: by mail-lb0-f182.google.com with SMTP id l4so25133612lbv.13 for ; Sun, 08 Feb 2015 03:58:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=+dUKW9H4gqM9a3pThzDZ7gEoqjx6QXnzQ8cgtnzNRd4=; b=e1/7g8OOQttlYyx9wJPtTWwF91FiweVgAfRSrHZrHGjmtgOyXLQTKavWGEF9fSzj7N waCzVjwxHky+i+qZTkBdh7rEDcKM1gEtvwXKny1IgttXN0RMR8/zBvCdd2Zul332FV9X qkGpC1RYg2qBrmXZCqrt7y0qbbClv5oljumDkYq9CAYrvpusWtXTRMJkHYEWyDFYmcFv Bwes0xbzqt3ABRSErl8kF/tZ5PkwIkh6l+LtqmsWWiP+Id6Hnb5fK6LS0V5F9TZCL/xp SCHMFmRAVtFKoxAkAwO2bdr5QMUvgmfVsm0RvIXtVCQ6BjuXUR/GJ4Bz2UvIGJOaX4uf BR8Q== X-Gm-Message-State: ALoCoQlwUIZTgcWOQijd8WyeDfagNR9AWyyKbBtSUh2nk5aYZzWECY3PQl801tZnx+LSh1J6FIa8 X-Received: by 10.112.185.101 with SMTP id fb5mr11697723lbc.12.1423396730807; Sun, 08 Feb 2015 03:58:50 -0800 (PST) Received: from otp-agherzan-l1.gjk.dk (dhcp-186-165.gjk.dk. [195.249.186.165]) by mx.google.com with ESMTPSA id f5sm1444085laf.9.2015.02.08.03.58.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Feb 2015 03:58:50 -0800 (PST) From: Andrei Gherzan To: yocto@yoctoproject.org Date: Sun, 8 Feb 2015 13:58:33 +0200 Message-Id: <1423396716-22626-2-git-send-email-andrei@gherzan.ro> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1423396716-22626-1-git-send-email-andrei@gherzan.ro> References: <1423396716-22626-1-git-send-email-andrei@gherzan.ro> Subject: [meta-raspberrypi][PATCH 2/5] omxplayer: Bump SRCREV X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 11:58:56 -0000 Add a patch to fix the pkg-config mechanism in ffmpeg. Change-Id: Ib506bb4e26a8a0c5c294ed55da0a0da8dc67a2d7 Signed-off-by: Andrei Gherzan --- .../omxplayer/omxplayer/use-native-pkg-config.patch | 19 +++++++++++++++++++ recipes-multimedia/omxplayer/omxplayer_git.bb | 7 ++++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch diff --git a/recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch b/recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch new file mode 100644 index 0000000..ed81999 --- /dev/null +++ b/recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch @@ -0,0 +1,19 @@ +Force the pkg-config native tool. Strangely ffmpeg prepends cross_prefix +to the default value which obviously is wrong. + +Signed-off-by: Andrei Gherzan + +Index: git/Makefile.ffmpeg +=================================================================== +--- git.orig/Makefile.ffmpeg ++++ git/Makefile.ffmpeg +@@ -245,7 +245,8 @@ configure: + --disable-decoder=idf \ + --enable-decoder=opus \ + --cross-prefix=$(HOST)- \ +- --disable-stripping ++ --disable-stripping \ ++ --pkg-config=pkg-config + + .PHONY : clean + clean: diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb index 41ef339..c71a743 100644 --- a/recipes-multimedia/omxplayer/omxplayer_git.bb +++ b/recipes-multimedia/omxplayer/omxplayer_git.bb @@ -7,22 +7,23 @@ SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl" +DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl samba libssh" PR = "r3" -SRCREV = "1817503430b8f195bef12bd7a3542bdd251f8389" +SRCREV = "18f051d64d9c837edbf718bc4935204583cfa030" SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \ file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \ file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \ file://0003-Remove-strip-step-in-Makefile.patch \ file://0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch \ file://fix-tar-command-with-DIST.patch \ + file://use-native-pkg-config.patch \ " S = "${WORKDIR}/git" COMPATIBLE_MACHINE = "raspberrypi" -inherit autotools-brokensep +inherit autotools-brokensep pkgconfig # Needed in ffmpeg configure export TEMPDIR = "${S}/tmp" -- 2.1.0