From patchwork Tue Oct 27 20:58:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 536863 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 15A4B141319 for ; Wed, 28 Oct 2015 07:58:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 162279477A; Tue, 27 Oct 2015 20:58:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QglSyWpB0Hsk; Tue, 27 Oct 2015 20:58:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 0BE6E9476C; Tue, 27 Oct 2015 20:58:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6DE9C1C1112 for ; Tue, 27 Oct 2015 20:58:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 680638D776 for ; Tue, 27 Oct 2015 20:58:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bolR3-DVmYLs for ; Tue, 27 Oct 2015 20:58:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by whitealder.osuosl.org (Postfix) with ESMTPS id 455378D76B for ; Tue, 27 Oct 2015 20:58:35 +0000 (UTC) Received: from linux.local ([178.2.27.37]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MEFlg-1ZkZbj33DU-00FS8F for ; Tue, 27 Oct 2015 21:58:31 +0100 From: Peter Seiderer To: buildroot@busybox.net Date: Tue, 27 Oct 2015 21:58:30 +0100 Message-Id: <1445979510-9276-1-git-send-email-ps.report@gmx.net> X-Mailer: git-send-email 2.1.4 X-Provags-ID: V03:K0:ItZHFgTSauaxBAegJWI6rIMjcd8JpcXLuRAcIpenFY6nvUnf7ga 5KZMqQuGp26mO/HpZNU7Haev//XLFrGJzOSv9TbHUh2Yyk8G8wgRxvngn5uJ2e5jI7R8bFB fzIhn6AdyzsKDh6M+ueFH2z86FRTUzKHSu+xCJzI3vLYVAfnFPBxJ0eKbaEaBE5cRbErzvd 8BNAuHgA0tUHv8DPlfzHA== X-UI-Out-Filterresults: notjunk:1; V01:K0:+JWKMnhcpeE=:x6NxJzBSpu6cYT7rmP8bNH P7lWLgZCX7HCL4p2XfR+oRYOIxvAzpC90kAa5varughxNWmgncdLuo+uEE1W0771Ex+0mm0CL V/UlH6DB6mdR9hQl066a0RYMcQOm+XkGEn2wa1niM1GtFz2tTx1IPsVjC/AlLN+hn7WctV+OC R0NFwDNiiZ0QbnR+HSEGBXi/QJSPA9JYyloBnagLUlKeo4a3DrzYHRBIqYrxOneJ5Ck8Ec8ci TT8Wf6iHUtuIz7D9WwcQBt7cDGaj0H76b/y26z5YHOYYE0LbSGthW9h0jjouP89SInxF0ogzv ZzUS1tH81zd8+F4lM2OXrz8FtMT4NkyUh2U2PkDpb+YuNkO6EuxaCvx/IXhPRmxMGYnbgu1Nj LroeF8FnITMRIwftbshEzNm6MudEM8dnxk93qsnuZtQ652Ho+4fsYrFgz2zxO2kSXa/8zm4WC QH59g40VvqTaI65Nzs5h2Q9Yx2CVD1fVkNbcBDFfs/JVa0Gd9fGokXBKObsf1YIeqHh741yjF 92VxDyRhFPO2wZA/ZsKFe12uAX+oA3bt+s6v12NuAGphzlqdBs06J+fi4ByriNkzB557qqthU UCovTkLbU0Ot+/f6l5FlcVSkvZFzDvxMoI0xjXyIqHJqaJrHJooVFUjcl5V214pKqrF4m7Jh+ SuTpl6o8DzFshVU+0B5dZTZF93xwoxaHnQJjrcIncVMjl3+pgGdKlsWUwD9qWoczTAM5MNXGz LvvH7U0NU1GoOT5xt2gLO7yLc9CADt09KcvX/6iveU0L8cT9qNrdE+CxwTM= Subject: [Buildroot] [PATCH v1] gst1-validate: fix compile with cairo support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" In case cairo support is (auto-)detected cairo PNG support is required. Fixes ([1]): ../gst-libs/gst/video/.libs/libgstvalidatevideo-1.0.so: undefined reference to `cairo_surface_write_to_png' ../gst-libs/gst/video/.libs/libgstvalidatevideo-1.0.so: undefined reference to `cairo_image_surface_create_from_png' collect2: error: ld returned 1 exit status [1] http://autobuild.buildroot.net/results/c5e/c5eb6cb12dba559226c67f5d258cc151aa8a8d3a Signed-off-by: Peter Seiderer --- package/gstreamer1/gst1-validate/Config.in | 3 +++ package/gstreamer1/gst1-validate/gst1-validate.mk | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/package/gstreamer1/gst1-validate/Config.in b/package/gstreamer1/gst1-validate/Config.in index 34ec85f..1b3b2f5 100644 --- a/package/gstreamer1/gst1-validate/Config.in +++ b/package/gstreamer1/gst1-validate/Config.in @@ -3,6 +3,8 @@ config BR2_PACKAGE_GST1_VALIDATE depends on BR2_PACKAGE_PYTHON select BR2_PACKAGE_GST1_PLUGINS_BASE select BR2_PACKAGE_PYTHON_PYEXPAT + # if package cairo is autodetected PNG support is needed + select BR2_PACKAGE_CAIRO_PNG if BR2_PACKAGE_CAIRO help GstValidate is a tool that allows GStreamer developers to check that the GstElements they write behave the way they @@ -12,3 +14,4 @@ config BR2_PACKAGE_GST1_VALIDATE comment "gst1-validate depends on python" depends on !BR2_PACKAGE_PYTHON + diff --git a/package/gstreamer1/gst1-validate/gst1-validate.mk b/package/gstreamer1/gst1-validate/gst1-validate.mk index b8b09da..a7d66be 100644 --- a/package/gstreamer1/gst1-validate/gst1-validate.mk +++ b/package/gstreamer1/gst1-validate/gst1-validate.mk @@ -12,6 +12,11 @@ GST1_VALIDATE_LICENSE_FILES = COPYING GST1_VALIDATE_CONF_OPTS = --disable-sphinx-doc -GST1_VALIDATE_DEPENDENCIES = gstreamer1 gst1-plugins-base host-python python +GST1_VALIDATE_DEPENDENCIES = \ + gstreamer1 \ + gst1-plugins-base \ + host-python \ + python \ + $(if $(BR2_PACKAGE_CAIRO),cairo) $(eval $(autotools-package))