From patchwork Thu Dec 12 19:40:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Ferland X-Patchwork-Id: 54018 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E7B1E7717F for ; Thu, 12 Dec 2024 19:40:58 +0000 (UTC) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.web11.47.1734032455067061460 for ; Thu, 12 Dec 2024 11:40:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fxV0PTra; spf=pass (domain: gmail.com, ip: 209.85.128.41, mailfrom: marc.ferland@gmail.com) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4361815b96cso7181095e9.1 for ; Thu, 12 Dec 2024 11:40:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734032453; x=1734637253; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Gj96IO2Lc5C1pEdbruEQOfuchEMWIer5n9PjJEnMrxM=; b=fxV0PTraUHm2E9Pbp7UOLGb1p0IxQiLAgNfsmM0q54idH3CqFTr79tKMbo1JanY9AG +SDmgDlxgJAh74cwbu2ByXtRHlj3fxJy5Ytc+SFQqkYjIO7dA+jmlHjPdHiISDtYg2Zn g+9TS0GYP0ELfPiINUb2/kPzpwisFAlDNRSuLh35Xv2HRkVDKWCN/tpkYymBRR5IQK4h WQaIEsM/mnbi85I2tQYsPX+LmlwfaL8GAaYuTxvk1GmAuc52U2aK3/SNLxbfkuzolsnQ ThVGHMJ6FZvtWr6/aP5Hsz2c5qclkUxRapmsCFjMpcW8l6BDqgSlUtvbkH+jQjvOTVf1 GGBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734032453; x=1734637253; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Gj96IO2Lc5C1pEdbruEQOfuchEMWIer5n9PjJEnMrxM=; b=IcD/LDnBfV7Dof5GkjhnKNaKzFs+Go1phtqwdLeyaL0DUZ2qmZgPNRZZzzhZjGEaxn f5BAqqjL6gkvYhRQPVdc4ZvY+9VfzHLZeOLxKHfSQlf0cR0D45qTLSKBaMSi3IFRnfi6 9cLb0OV/7etFhtBGygNWwJVT2wVSumhptl0CC8bSBmeEKZiyFNHvGfibsa/STXDpTWIa XNroUYT1thnXZgX32pesgb1PmOzyLolBbgSTakSEKoMLkyngbfZfXqpSTgr9Xd/K7PJC fjfeMUrLbb/UKXU/+5ArjNnVq7R5QPTmRKg0y84dblV5Gjd5rAhpIdpNbS+shJRKhT0l 9aQQ== X-Gm-Message-State: AOJu0YzffL+QxQTardAKZfLR6h9mF/pd4M15CSVj8nD1AcPUhuEDWw5P hzLCpA4FNwZeKXYau5EViNLpCYsUfSXPah2cjAdcxR2fVpIO5GtqwezQAg== X-Gm-Gg: ASbGncvHcIGQ0cCoGst+CoOq4cwTJQ6i2h0bA3PPyVuUwB3tGlKKQj78da2qikhw6ur B+rfl3JoGdoAifOR/urlvAQThsoq6Xc2puKmINGjHhE8jhkQE8VDzRjsyE190wupJUcQOtcfIQt ZqxXJcieoIuIzkwmZxA1TMZ7LJWHbXd+xggkmkgXZAEmsbXo5yTc8Xp2KGlyvjFDBv0E4dJnR4z 3vMbQdOGjuR6anOwE2atNowiFXhxIgXrd+3Xs3NIJGk2tHJxEGInyCNE+v+Hrf5JJ/3iuFPBqcE X8IggM9NvyqoMr9YTesviic5YbucXe1hB+foTOkCZMUMZnqy6uqJAMb2qX8Y2BwSHZD6UdzNxZJ 0x9Aq X-Google-Smtp-Source: AGHT+IHFCMjhDZ8RMmU1ohVW1OrsmQOIi3Vl1wl3S6GQYQG7EeY/KW8ZYYzn24S38SuF1ETko7n3yw== X-Received: by 2002:a05:600c:5101:b0:434:a1d3:a331 with SMTP id 5b1f17b1804b1-4361c3e2350mr58140425e9.22.1734032452587; Thu, 12 Dec 2024 11:40:52 -0800 (PST) Received: from mfe-desktop.Sonatest.net (ipagstaticip-d73c7528-4de5-0861-800b-03d8b15e3869.sdsl.bell.ca. [174.94.156.236]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4362571765dsm25788735e9.39.2024.12.12.11.40.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 11:40:52 -0800 (PST) From: marc.ferland@gmail.com X-Google-Original-From: marc.ferland@sonatest.com To: openembedded-devel@lists.openembedded.org Cc: Marc Ferland Subject: [meta-oe][PATCH 1/3] upower: use archive file in SRC_URI and fix UPSTREAM_CHECK_URI Date: Thu, 12 Dec 2024 14:40:44 -0500 Message-Id: <20241212194046.874645-1-marc.ferland@sonatest.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 12 Dec 2024 19:40:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114295 From: Marc Ferland upower releases are available as tar.bz2 archives let's use them instead off cloning the whole repo. Also, fix the UPSTREAM_CHECK regex that changed after revision 0.99.13. The format went from: UPOWER_0_99_13 to v0.99.14 Signed-off-by: Marc Ferland --- meta-oe/recipes-support/upower/upower_0.99.17.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-support/upower/upower_0.99.17.bb b/meta-oe/recipes-support/upower/upower_0.99.17.bb index 0572cc801..5e2f04f31 100644 --- a/meta-oe/recipes-support/upower/upower_0.99.17.bb +++ b/meta-oe/recipes-support/upower/upower_0.99.17.bb @@ -11,11 +11,12 @@ DEPENDS = " \ dbus-glib \ " -SRC_URI = "git://gitlab.freedesktop.org/upower/upower.git;protocol=https;branch=master" -SRCREV = "c889154ec8e3e2239db9260d48b2e198d72ba002" -S = "${WORKDIR}/git" +SRC_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/archive/v${PV}/${BPN}-v${PV}.tar.bz2" +SRC_URI[sha256sum] = "de7177deb2ee23d9c505046c74a856564acab8fd1d39aa1541d123af5a99ca8d" +S = "${WORKDIR}/${BPN}-v${PV}" -UPSTREAM_CHECK_GITTAGREGEX = "UPOWER_(?P\d+(\_\d+)+)" +UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/tags" +UPSTREAM_CHECK_REGEX = "v(?P\d+(\.\d+)+)" GIR_MESON_ENABLE_FLAG = "enabled" GIR_MESON_DISABLE_FLAG = "disabled" From patchwork Thu Dec 12 19:40:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Ferland X-Patchwork-Id: 54019 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 210A0E77180 for ; Thu, 12 Dec 2024 19:40:58 +0000 (UTC) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mx.groups.io with SMTP id smtpd.web10.46.1734032457158783551 for ; Thu, 12 Dec 2024 11:40:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JaIuiipA; spf=pass (domain: gmail.com, ip: 209.85.128.50, mailfrom: marc.ferland@gmail.com) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-43621d27adeso7339685e9.2 for ; Thu, 12 Dec 2024 11:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734032455; x=1734637255; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xqUnhnPm3NqRWLvcJ3OHV8n2n+aqGQeks/yu6FSsBNU=; b=JaIuiipArweRt0EHKgQ+s80CBFD0IXFR1eAz1x7031XMm/dp7hGJIe21px3nrdGIPC 46vrpG7C9uygg9py5BDN3Ul6SFmjD8T7tPMblQUXivhczptPXss2g62PIwVLJvia0cVY iWknAqP9kijB4+1j1sSbbj5JJ7aLrj/xZr3TRcWqOlTl4TyDsVBowIwvoyCXgs0N2+d9 fxA2x6kma7zZF8nU51yp/7KSQqN0DJMkkZREHk5zJqVqFD84St9zC6Pcq/s7o6SuJHen m1HTQnuN0tCT4gB4usrixJ0uFcqGowP/Bet0la2i1v2DKPbYjI2ZRuAuYo6x6PcEJ8Kf 6aOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734032455; x=1734637255; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xqUnhnPm3NqRWLvcJ3OHV8n2n+aqGQeks/yu6FSsBNU=; b=WjcJjBWe51zsLbOarPdXTOB97JYqw5ugyPWvcoiJTe0YiMKDhBpY4zhC47Ap6KXmiC AD/FsqbisJi1jwq5YWs1s80JwzeQEMkzaRoXS7kw0BIhtNdSMe87663rKOqXfkS9ms2n Gf2Lc9ThC47qR09uJ2cGCBzjMq0EwYVOkLSCaC1lw1Pu+vyCQStj8aPFg70CjmBtA01i srhJ03uhhnYj8sawumbb4Lic6v8dNWkUs0Eu5nOilzfBvidneDoSAfUZmUghVU5Dwfv8 W5MJiN3O6rUABftgC4+XuvqbFZePLhd1Dq6fuUzhVNHcQbUn07HgNLDphBsq33QNSDc1 WhqQ== X-Gm-Message-State: AOJu0Yxal5k8ymS5TGnIGcVaTDOkp7lgeNoDaRLRTaDTkBxvGaCj2RPq i2/8zjXx0uHJIWCP6LVgDTF5azxqTFXggsmXlPEFVQzXaYDtI/FoK1z3LQ== X-Gm-Gg: ASbGnctpaIOmoskKzg/F8G3M0Rhbo/Y8Vq3Gvp9b9p1x/xO59O+mFM5/kRGM7GtFLcr Gg2nCtePWAT//MqpTvl6UEZmZuhEqBt8LF7X93zZpYtwRgkqnSeVH0ymOFI++oWSqfU1H/tYNmB KZNi2Da/Zh1xe02KEh0euKvVQM1Y8VccMgjKCDHQ+Jh84aXjydFzx0ORph9+B9j9Ir8os6JtN5j b6Jxc2lZJLiK13jvUjaoOhVomEmh863I1/oWAQlHjJfpDRVrWfNVn/32OvgcM8r8/ChFIMqL8O3 mxs3ombl9MGghVciSHioksqNE5ITZUmyAwahViXCBjtSvvcNzKlYXvG+oVLZ+n78RF9cdhVuCBQ 45FZH X-Google-Smtp-Source: AGHT+IEXgUiaTseCXt5nK1DK+Ts07JwI893n3OS3GITKATC0UZL5S97r6zpZsm4kBDwjc+q2cdDbig== X-Received: by 2002:a05:600c:468d:b0:434:feb1:adae with SMTP id 5b1f17b1804b1-4361c396ba4mr73976475e9.3.1734032454562; Thu, 12 Dec 2024 11:40:54 -0800 (PST) Received: from mfe-desktop.Sonatest.net (ipagstaticip-d73c7528-4de5-0861-800b-03d8b15e3869.sdsl.bell.ca. [174.94.156.236]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4362571765dsm25788735e9.39.2024.12.12.11.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 11:40:54 -0800 (PST) From: marc.ferland@gmail.com X-Google-Original-From: marc.ferland@sonatest.com To: openembedded-devel@lists.openembedded.org Cc: Marc Ferland Subject: [meta-oe][PATCH 2/3] upower: bump to 1.90.6 Date: Thu, 12 Dec 2024 14:40:45 -0500 Message-Id: <20241212194046.874645-2-marc.ferland@sonatest.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241212194046.874645-1-marc.ferland@sonatest.com> References: <20241212194046.874645-1-marc.ferland@sonatest.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 12 Dec 2024 19:40:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114296 From: Marc Ferland Signed-off-by: Marc Ferland --- .../upower/{upower_0.99.17.bb => upower_1.90.6.bb} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename meta-oe/recipes-support/upower/{upower_0.99.17.bb => upower_1.90.6.bb} (86%) diff --git a/meta-oe/recipes-support/upower/upower_0.99.17.bb b/meta-oe/recipes-support/upower/upower_1.90.6.bb similarity index 86% rename from meta-oe/recipes-support/upower/upower_0.99.17.bb rename to meta-oe/recipes-support/upower/upower_1.90.6.bb index 5e2f04f31..2cffdc14f 100644 --- a/meta-oe/recipes-support/upower/upower_0.99.17.bb +++ b/meta-oe/recipes-support/upower/upower_1.90.6.bb @@ -12,7 +12,7 @@ DEPENDS = " \ " SRC_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/archive/v${PV}/${BPN}-v${PV}.tar.bz2" -SRC_URI[sha256sum] = "de7177deb2ee23d9c505046c74a856564acab8fd1d39aa1541d123af5a99ca8d" +SRC_URI[sha256sum] = "aed4e42a21307512ad236ad58d7ee4e0196670c8524a168a0edccdc32964ea0c" S = "${WORKDIR}/${BPN}-v${PV}" UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/tags" @@ -43,3 +43,9 @@ FILES:${PN} += " \ ${datadir}/dbus-1/ \ ${base_libdir}/udev/* \ " + +do_install:append() { + # remove integration tests scripts + rm -rf ${D}${datadir}/installed-tests + rm -rf ${D}${libexecdir}/upower +} From patchwork Thu Dec 12 19:40:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Ferland X-Patchwork-Id: 54020 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BBA6E7717F for ; Thu, 12 Dec 2024 19:41:08 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web11.51.1734032459280263318 for ; Thu, 12 Dec 2024 11:40:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aL9j28LD; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: marc.ferland@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-43624b2d453so12905555e9.2 for ; Thu, 12 Dec 2024 11:40:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734032457; x=1734637257; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/ZBwQVWipFlYY2PL8SsC1ak5uoiPmbOvT9Ed7l2luxM=; b=aL9j28LDMSdHtL3htR+SVf6jc8Kx9T7xPPYugXQGuJK1ynS61YCHdPlyp0Keue+rtl 65beMWz7NrlCOnaN6c7Xo327YhHPlD2F3iIuZwkgY2SMM4KAvq/FerzTfNpcCSqGTcFP 3BntEbVuwAVLAa2kep+tSa1kOzzF7DrBnVMQ0eeHtWsUZ9xhhe2E6+CvzeXkbbg49inr Wt49ASnIe4fYWyMpdbTGbA/0OtZbPMwQrZ7u34DrvX2kVSdVco3Vb0jaIgK0pLzbzNi7 AoTFL/uaFTeXcqGm7nHSDvXqcyxdob3WuwAG5fvW8evrMCoZ2SzHGfr3QQKDknjwiJgN 4fNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734032457; x=1734637257; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/ZBwQVWipFlYY2PL8SsC1ak5uoiPmbOvT9Ed7l2luxM=; b=eRuCdmbvJxriCRQeluHlZu1LY0hJ+kSVgEgw/r0MDNbPl1if4MJ3IOpKwjUxe/8yG1 mGIKx1+OfFUjeZnPM8qm3XG2LyWmGDJAMvREUPbgojciGo5pPpEhAIVUII/z9JLq95NQ 3WQDDqbP88ZMFmpcPcqfY2WARnibHmGfTT3uONFPSYRDyhwL92XU0YX9xDTDt1asl8tg LqcDkmwIHpiudAXCGuSwjUEB/n/P60ZGxsqwrmynLEybLAWTvCzbQWL8r6X5KpgzPQnR cIG0X41S0by9lfqSqEtINIDJf6u8rXUAezZmdo+Fa6//aC2QhYjpoLZb51XQyuKDDOm7 rfPA== X-Gm-Message-State: AOJu0Yz8aQ8N095eKb+iIDOzq9/OPyCghQ4WfKZD0MChR/NoQsIfTmjQ P4p+iIg1aVaHT5aFKLFfy4OmnBqGYDtYwmxZFBXe7d7wSMtvDcH9WoD06g== X-Gm-Gg: ASbGncvdRejLTjT22eF3qxk9T4BgL5GumqsokuIABCqiSTAPyNokwXsScoVs8V5HqMu i30yFY3sHr4XL+raGU7YVFuaR4ebc3AlmbirHvBhkI7Lpbuh6DEFUM8L6YDjpCIuyGrFD7JdnqL 7o2YdEtczMDXE1TeQt1uV5ZuU8/TR2GvnbdMXtAT/aRCCvywFKinDZ5VQQzvURd5+2DWJ/S3m/L AApzZ8zBM/OXEmy6Ob3zwxsAgjj9qhKfy9LOjeHVywll6TjNUFv7z6sFJfp1nnieYGgSxazS9O6 OrhUjw4UDTomuy34usdnPq8gIL37kEoRpIBWF6TH0rCHB0vjGAXRtRAJsoNQWUsNEkGjMlPZqFF kaQ2S X-Google-Smtp-Source: AGHT+IEA5cMMyfBW9+1P2OqKkfGmVIw6I6ybm1yz6EWey1pOPrcXpvb9rGLZGE2+shr2cqTRsCwOfw== X-Received: by 2002:a05:600c:1c01:b0:434:f0df:9fd with SMTP id 5b1f17b1804b1-4361c393cb6mr86399885e9.2.1734032456833; Thu, 12 Dec 2024 11:40:56 -0800 (PST) Received: from mfe-desktop.Sonatest.net (ipagstaticip-d73c7528-4de5-0861-800b-03d8b15e3869.sdsl.bell.ca. [174.94.156.236]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4362571765dsm25788735e9.39.2024.12.12.11.40.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 11:40:56 -0800 (PST) From: marc.ferland@gmail.com X-Google-Original-From: marc.ferland@sonatest.com To: openembedded-devel@lists.openembedded.org Cc: Marc Ferland Subject: [meta-oe][PATCH 3/3] upower: add polkit PACKAGECONFIG option Date: Thu, 12 Dec 2024 14:40:46 -0500 Message-Id: <20241212194046.874645-3-marc.ferland@sonatest.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241212194046.874645-1-marc.ferland@sonatest.com> References: <20241212194046.874645-1-marc.ferland@sonatest.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 12 Dec 2024 19:41:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114297 From: Marc Ferland Add a PACKAGECONFIG option for polkit. Activate it when DISTRO_FEATURES contains 'polkit'. Signed-off-by: Marc Ferland --- meta-oe/recipes-support/upower/upower_1.90.6.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/upower/upower_1.90.6.bb b/meta-oe/recipes-support/upower/upower_1.90.6.bb index 2cffdc14f..6d5fa7016 100644 --- a/meta-oe/recipes-support/upower/upower_1.90.6.bb +++ b/meta-oe/recipes-support/upower/upower_1.90.6.bb @@ -24,9 +24,10 @@ GTKDOC_MESON_OPTION = "gtk-doc" inherit meson pkgconfig gtk-doc gettext gobject-introspection systemd -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)}" PACKAGECONFIG[idevice] = "-Didevice=enabled,-Didevice=disabled,libimobiledevice libplist" PACKAGECONFIG[systemd] = "-Dsystemdsystemunitdir=${systemd_system_unitdir},-Dsystemdsystemunitdir=no -Dudevrulesdir=${base_libdir}/udev/rules.d,systemd" +PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit" EXTRA_OEMESON = " \ -Dos_backend=linux \ @@ -41,6 +42,7 @@ RDEPENDS:${PN} += "dbus" RRECOMMENDS:${PN} += "pm-utils" FILES:${PN} += " \ ${datadir}/dbus-1/ \ + ${datadir}/polkit-1/ \ ${base_libdir}/udev/* \ "