From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 08617E00C09; Tue, 7 Aug 2018 08:57:41 -0700 (PDT) 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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [104.47.2.58 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0058.outbound.protection.outlook.com [104.47.2.58]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F37A1E00DBD for ; Tue, 7 Aug 2018 08:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RpKC64aIN6fWD8x6n0W9jpLeUDNtXyuho9BX57DvQdY=; b=AMxfC1JVmp96lrC5adaKtGPNN1vJx9zSl1mJvZnmUjl7rqK01CCO4fRzHKyZrDZqIiRzRcXOXYmuxGkH9pN99oUZUWplB4CXHS5JXTESZS9IzSitDqsmThrHkYgzanfdmlihTMtOL2OGCYEyhg0OA9ZFfA5Pb2glnntzgvec7UU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=tom.hochstein@nxp.com; Received: from tx30imx-01.am.freescale.net (64.157.242.222) by VI1PR04MB5245.eurprd04.prod.outlook.com (2603:10a6:803:5f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Tue, 7 Aug 2018 15:42:35 +0000 From: Tom Hochstein To: meta-freescale@yoctoproject.org Date: Tue, 7 Aug 2018 10:41:58 -0500 Message-Id: <1533656555-8038-7-git-send-email-tom.hochstein@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533656555-8038-1-git-send-email-tom.hochstein@nxp.com> References: <1533656555-8038-1-git-send-email-tom.hochstein@nxp.com> MIME-Version: 1.0 X-Originating-IP: [64.157.242.222] X-ClientProxiedBy: SN4PR0501CA0074.namprd05.prod.outlook.com (2603:10b6:803:22::12) To VI1PR04MB5245.eurprd04.prod.outlook.com (2603:10a6:803:5f::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e7727a2b-3e36-4557-1670-08d5fc7c65f7 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5245; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB5245; 3:kJJn5UR0vOFNnNxBvkXoXeM5C0rPgJ1878FwJZtT/AEQeH/WhDVn6s4SlztMdCe2D9pBrxsJn5nyj8pu2mPJDiNJzCj7FcQIhVfnBa3PBTwX+zh0YfSNaD8xZZJT+yj3BvS5tg+iS6YX6jmpWmZoxfO0oPuc44wWqUc+mN/uuq34MKgWlkUf4KFYrpt6rGfUbY+hbGYUe+BxkKAEfvhpaSE4pQv5J0xqCThPtJv3/36aDlSuvTkd94zGTcxcu3jC; 25:d2L5q5vyzT7qgRamB2Hm7xTtmRt3lZNbKDLPzCIeOMws6ql+NOlnymyWj3KIVxf2tfJF0wAW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ADVusS0qQ9n+9pV5hLtFw7PcqZ555n3; 4:RDCf/CRbEzK+pdN7vXvhNZ/7Y1i9lxz5gNXECJApqesLJLPnLBhK5CJ4Df8oXBeRVcZO2fQi1d51x2Fq4VZQ2210VINEzijvx94cQFS6YNLzw5XwwH9A4V2zoSQWVjgjoF5Ag0onykGz388ls/w4EFxr+NYcqy8hiW5XvzJ9IIgwnOYM5HnBs5bzA8tFVdu7uHVYI8ZIgh2aNI9rkQoHAvQ998Xmg18+hhNy4rEIUeNATAifV+iafVsbJ3jXc3QnQ9ZNqIW4cmaAqTPTYKeC2bvLXm+kgZVIbNlHHgx687bpJyAxPo27XaJ1AqIFoLA1lTqBww/n72VokG2UEN2ybGH5Ks1cy295EmzSejE1OxBsu+8oihkOXud9nmJNJ1LJ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(158342451672863)(185117386973197)(217544274631240); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:VI1PR04MB5245; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB5245; X-Forefront-PRVS: 0757EEBDCA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(136003)(366004)(39860400002)(396003)(346002)(189003)(199004)(6506007)(105586002)(2906002)(106356001)(2351001)(478600001)(966005)(3846002)(6116002)(47776003)(66066001)(2361001)(50466002)(48376002)(68736007)(8936002)(50226002)(386003)(1857600001)(7736002)(4326008)(25786009)(97736004)(14444005)(8676002)(316002)(186003)(36756003)(26005)(16586007)(305945005)(6916009)(16526019)(5660300001)(575784001)(446003)(11346002)(6306002)(86362001)(6512007)(486006)(44832011)(81166006)(2616005)(53936002)(956004)(476003)(81156014)(52116002)(51416003)(6666003)(6486002)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5245; H:tx30imx-01.am.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR04MB5245; 23:p781k+BfTqb2C6G8gefTjvM8fA0UJx4sBRxKmRZHl?= =?us-ascii?Q?qti4ofDoixx/XutGeFYrB3sKDqx4YS8OhEOx6BPlQTps6FNrHAQ0444Sq4IJ?= =?us-ascii?Q?A6ZZolb8fW8WvvKASZIISnpeTxB4PzFjm45lROIE9dYOOVnk0KYnqgGZMAYf?= =?us-ascii?Q?vh7YR7atMqoCUHMm+zmll2GkAHq6Fm2P0l85GMpxcltMQkCI9cXA3q6mqHta?= =?us-ascii?Q?aXqHw82FzniWl6m7alCsiCDiaIeNTu0AL5l68F470+ZSaw+CDA9HnGG4GgWu?= =?us-ascii?Q?7bFQZYtKMJdgl8dYcvIYD8VW79EwLhWBQt7LucLw42V6djZOpFaNXdz7WTFh?= =?us-ascii?Q?8cjnPEWwQ9qu0xhLD2/ZNXs6cKfmozZWKgpNWi8quibmYusc6UfBWGOk8mL1?= =?us-ascii?Q?T5rsuau56x5k75C9VxOs8guAMy+Jyqp7CDP+OfhM+As5Zt1RSf9jwnlm4TAz?= =?us-ascii?Q?m7M78ILeqDZcAYs71PqhrovRBpJIhGsR5uLSS5+8od7IRj8iCJhS2iwWk2QJ?= =?us-ascii?Q?p2sdx5otLAtKrOtC9pKsdTvRbkEpgFcGU46zmhD4UMifgaDo5R0loZM2PUj4?= =?us-ascii?Q?xJcI1B1vcXjwZJB/FMJ+45TRHZSqTCKQ7kEQCmv3E2pVSL02vkL4S7Z3i6bJ?= =?us-ascii?Q?AV66y+oKpWVjQvO1lTQYOwlzTaEVoch8bcTypwSV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 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2018 15:42:35.3848 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e7727a2b-3e36-4557-1670-08d5fc7c65f7 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5245 Subject: [PATCH v3 06/43] wayland-protocols: Add HDR10 metadata and alpha compositing protocols X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2018 15:58:26 -0000 Content-Type: text/plain Signed-off-by: Tom Hochstein --- ...1-unstable-Add-alpha-compositing-protocol.patch | 195 +++++++++++++++++++++ ...0002-unstable-Add-hdr10-metadata-protocol.patch | 134 ++++++++++++++ recipes-graphics/wayland/wayland-protocols_1.13.bb | 3 +- 3 files changed, 331 insertions(+), 1 deletion(-) create mode 100644 recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch create mode 100644 recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch diff --git a/recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch b/recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch new file mode 100644 index 0000000..10dc219 --- /dev/null +++ b/recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch @@ -0,0 +1,195 @@ +From b4be5e338be2301f83f4dfdc0cbb740f0a783464 Mon Sep 17 00:00:00 2001 +From: Haihua Hu +Date: Thu, 14 Jun 2018 13:54:08 +0800 +Subject: [PATCH 1/2] unstable: Add alpha-compositing protocol + +It's based on the Chromium Wayland protocol of the same name ([1]) +and Alexandros's modified version ([2])with a few changes +made to the blending_equation enumeration. + +Add one more blending_equation "src_alpha / src_alpha" + +[1] https://chromium.googlesource.com/chromium/src/+/master/third_party/wayland-protocols/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml +[2] https://lists.freedesktop.org/archives/wayland-devel/2017-August/034741.html + +Upstream-Status: Inappropriate [i.MX specific] + +Signed-off-by: Haihua Hu +--- + Makefile.am | 1 + + unstable/alpha-compositing/README | 6 + + .../alpha-compositing-unstable-v1.xml | 136 +++++++++++++++++++++ + 3 files changed, 143 insertions(+) + create mode 100644 unstable/alpha-compositing/README + create mode 100644 unstable/alpha-compositing/alpha-compositing-unstable-v1.xml + +diff --git a/Makefile.am b/Makefile.am +index 4b9a901..e6c44ec 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -17,6 +17,7 @@ unstable_protocols = \ + unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml \ + unstable/xdg-output/xdg-output-unstable-v1.xml \ + unstable/input-timestamps/input-timestamps-unstable-v1.xml \ ++ unstable/alpha-compositing/alpha-compositing-unstable-v1.xml \ + $(NULL) + + stable_protocols = \ +diff --git a/unstable/alpha-compositing/README b/unstable/alpha-compositing/README +new file mode 100644 +index 0000000..d874156 +--- /dev/null ++++ b/unstable/alpha-compositing/README +@@ -0,0 +1,6 @@ ++Alpha compositing protocol ++ ++Maintainers: ++David Reveman ++Alexandros Frantzis ++Jared Hu +diff --git a/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml b/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml +new file mode 100644 +index 0000000..0844b3f +--- /dev/null ++++ b/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml +@@ -0,0 +1,136 @@ ++ ++ ++ ++ ++ Copyright 2016 The Chromium Authors. ++ Copyright 2017 Collabora Ltd ++ Copyright 2018 NXP ++ ++ Permission is hereby granted, free of charge, to any person obtaining a ++ copy of this software and associated documentation files (the "Software"), ++ to deal in the Software without restriction, including without limitation ++ the rights to use, copy, modify, merge, publish, distribute, sublicense, ++ and/or sell copies of the Software, and to permit persons to whom the ++ Software is furnished to do so, subject to the following conditions: ++ ++ The above copyright notice and this permission notice (including the next ++ paragraph) shall be included in all copies or substantial portions of the ++ Software. ++ ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ++ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ++ DEALINGS IN THE SOFTWARE. ++ ++ ++ ++ This protocol specifies a set of interfaces used to control the alpha ++ compositing and blending of surface contents. ++ ++ Warning! The protocol described in this file is experimental and backward ++ incompatible changes may be made. Backward compatible changes may be added ++ together with the corresponding interface version bump. Backward ++ incompatible changes are done by bumping the version number in the protocol ++ and interface names and resetting the interface version. Once the protocol ++ is to be declared stable, the 'z' prefix and the version number in the ++ protocol and interface names are removed and the interface version number is ++ reset. ++ ++ ++ ++ ++ The global interface exposing compositing and blending capabilities is ++ used to instantiate an interface extension for a wl_surface object. ++ This extended interface will then allow the client to specify the ++ blending equation and alpha value used for compositing the wl_surface. ++ ++ ++ ++ ++ Informs the server that the client will not be using this ++ protocol object anymore. This does not affect any other objects, ++ blending objects included. ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ Instantiate an interface extension for the given wl_surface to ++ provide surface blending. If the given wl_surface already has ++ a blending object associated, the blending_exists protocol error ++ is raised. ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ An additional interface to a wl_surface object, which allows the ++ client to specify the blending equation used for compositing and ++ an alpha value applied to the whole surface. ++ ++ When the blending object is created its blending equation is ++ 'none' and its alpha is 1.0, i.e., it's inactive by default. Clients ++ can activate it by setting the blending equation and alpha value. ++ ++ If the wl_surface associated with the blending object is destroyed, ++ the blending object becomes inert. ++ ++ If the blending object is destroyed, the blending state is removed ++ from the wl_surface. The change will be applied on the next ++ wl_surface.commit. ++ ++ ++ ++ ++ The associated wl_surface's blending state is removed. ++ The change is applied on the next wl_surface.commit. ++ ++ ++ ++ ++ ++ Blending equations that can be used when compositing a surface. ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ Set the blending equation for compositing the wl_surface. ++ ++ The blending equation state is double-buffered state, ++ and will be applied on the next wl_surface.commit. ++ ++ ++ ++ ++ ++ ++ Set the alpha value applied to the whole surface for compositing. ++ ++ The alpha value state is double-buffered state, ++ and will be applied on the next wl_surface.commit. ++ ++ ++ ++ ++ ++ +\ No newline at end of file +-- +2.7.4 + diff --git a/recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch b/recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch new file mode 100644 index 0000000..654e8b0 --- /dev/null +++ b/recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch @@ -0,0 +1,134 @@ +From 54e847c10a75ec7bd6fbb8fbdd700d085145cdce Mon Sep 17 00:00:00 2001 +From: Haihua Hu +Date: Tue, 26 Jun 2018 15:30:18 +0800 +Subject: [PATCH 2/2] unstable: Add hdr10-metadata protocol + +this protocol is used to support hdr10 video playback. +HDR10 metadata is passed to compositor via this interface + +Upstream-Status: Inappropriate [i.MX specific] + +Signed-off-by: Haihua Hu +--- + Makefile.am | 1 + + unstable/hdr10-metadata/README | 4 ++ + .../hdr10-metadata/hdr10-metadata-unstable-v1.xml | 84 ++++++++++++++++++++++ + 3 files changed, 89 insertions(+) + create mode 100644 unstable/hdr10-metadata/README + create mode 100644 unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml + +diff --git a/Makefile.am b/Makefile.am +index e6c44ec..b8206c7 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -18,6 +18,7 @@ unstable_protocols = \ + unstable/xdg-output/xdg-output-unstable-v1.xml \ + unstable/input-timestamps/input-timestamps-unstable-v1.xml \ + unstable/alpha-compositing/alpha-compositing-unstable-v1.xml \ ++ unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml \ + $(NULL) + + stable_protocols = \ +diff --git a/unstable/hdr10-metadata/README b/unstable/hdr10-metadata/README +new file mode 100644 +index 0000000..58a82f8 +--- /dev/null ++++ b/unstable/hdr10-metadata/README +@@ -0,0 +1,4 @@ ++hdr10 metadata protocol ++ ++Maintainers: ++Jared Hu +diff --git a/unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml b/unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml +new file mode 100644 +index 0000000..5b1bac4 +--- /dev/null ++++ b/unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml +@@ -0,0 +1,84 @@ ++ ++ ++ ++ ++ Copyright 2018 NXP ++ ++ Permission is hereby granted, free of charge, to any person obtaining a ++ copy of this software and associated documentation files (the "Software"), ++ to deal in the Software without restriction, including without limitation ++ the rights to use, copy, modify, merge, publish, distribute, sublicense, ++ and/or sell copies of the Software, and to permit persons to whom the ++ Software is furnished to do so, subject to the following conditions: ++ ++ The above copyright notice and this permission notice (including the next ++ paragraph) shall be included in all copies or substantial portions of the ++ Software. ++ ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ++ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ++ DEALINGS IN THE SOFTWARE. ++ ++ ++ ++ This protocol specifies a set of interfaces used to set and control ++ hdr10 metadata of video contents. ++ ++ Warning! The protocol described in this file is experimental and backward ++ incompatible changes may be made. Backward compatible changes may be added ++ together with the corresponding interface version bump. Backward ++ incompatible changes are done by bumping the version number in the protocol ++ and interface names and resetting the interface version. Once the protocol ++ is to be declared stable, the 'z' prefix and the version number in the ++ protocol and interface names are removed and the interface version number is ++ reset. ++ ++ ++ ++ ++ The global interface exposing hdr10 metadata capabilities is ++ used to instantiate an interface extension for compositor. ++ This extended interface will then allow the client to pass hdr10 metadata ++ to compositor and send to display driver if supported. ++ ++ ++ ++ ++ Informs the server that the client will not be using this ++ protocol object anymore. This does not affect any other objects. ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ client can use this interface pass hdr10 metadata to server. Server need ++ use the recived metadata to enable hdr mode. ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +-- +2.7.4 + diff --git a/recipes-graphics/wayland/wayland-protocols_1.13.bb b/recipes-graphics/wayland/wayland-protocols_1.13.bb index 1ef1ee1..ef8fd73 100644 --- a/recipes-graphics/wayland/wayland-protocols_1.13.bb +++ b/recipes-graphics/wayland/wayland-protocols_1.13.bb @@ -10,7 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \ file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53" SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ - " + file://0001-unstable-Add-alpha-compositing-protocol.patch \ + file://0002-unstable-Add-hdr10-metadata-protocol.patch" SRC_URI[md5sum] = "29312149dafcd4a0e739ba94995a574d" SRC_URI[sha256sum] = "0758bc8008d5332f431b2a84fea7de64d971ce270ed208206a098ff2ebc68f38" -- 2.7.4