From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B190A15806E for ; Tue, 6 Jun 2023 13:53:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB99AE087F; Tue, 6 Jun 2023 13:53:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CAC02E087F for ; Tue, 6 Jun 2023 13:53:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B91933E02F for ; Tue, 6 Jun 2023 13:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7C798DC for ; Tue, 6 Jun 2023 13:53:30 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1686059584.fdffdd90b1facd0445d9262c2a346be9a4ec6e11.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/openrc-settingsd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/openrc-settingsd/Manifest app-admin/openrc-settingsd/openrc-settingsd-1.4.0.ebuild X-VCS-Directories: app-admin/openrc-settingsd/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: fdffdd90b1facd0445d9262c2a346be9a4ec6e11 X-VCS-Branch: master Date: Tue, 6 Jun 2023 13:53:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b5e8dd5-2c7c-4a44-aa54-19fb75e838a9 X-Archives-Hash: 1c6ae6bfc416002e6b4b1f88044fd9ca commit: fdffdd90b1facd0445d9262c2a346be9a4ec6e11 Author: Matt Turner gentoo org> AuthorDate: Tue Jun 6 13:52:48 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue Jun 6 13:53:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdffdd90 app-admin/openrc-settingsd: Version bump to 1.4.0 Signed-off-by: Matt Turner gentoo.org> app-admin/openrc-settingsd/Manifest | 1 + .../openrc-settingsd/openrc-settingsd-1.4.0.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/app-admin/openrc-settingsd/Manifest b/app-admin/openrc-settingsd/Manifest index b068d72b2622..f1e5b6291925 100644 --- a/app-admin/openrc-settingsd/Manifest +++ b/app-admin/openrc-settingsd/Manifest @@ -1,2 +1,3 @@ DIST openrc-settingsd-v1.2.0.tar.bz2 41713 BLAKE2B e4630e934fc55549b3d81cc448adb35cb22cb99b898363a1113909a24acc0709d5693841a9c651b4ecf52044c3a45cc4b8207f9c9a3d0e1e8a4f85edefb23d65 SHA512 b1862e80454d3ca22d083f283f4ef3215dfad4da6d2aa495211fa31014c66fb6891ae87a3a1c6932944ed4c1e7100d247e80abc659f37868adcf5fce3b90385b DIST openrc-settingsd-v1.3.0.tar.bz2 41865 BLAKE2B 48dbb75bfd33a0e2b6cc99ccbea4cd22db7a0dca13c665c59c73dac9eb4b65554741fc3b45028fbbe81cc014059e896a1dac8b18bf166a8fa15e4df375927a31 SHA512 5ef93acd1f78aa6aa6af4b0702096a30fe2fdb0ff5a20e17d680bf48c8d995a09db390fda7e16a3098e9cb3e3ce1ff13d76471cf1f0c3ccf67d3f3929a5567bb +DIST openrc-settingsd-v1.4.0.tar.bz2 41420 BLAKE2B 3890c65e22f1cc55aa8f067ae7d8a46de25618c7ab98acb8e01f38662da4d73f3d0d16583a0526ded3331c4fb4d80bf0b6852917ed875adfa0035d19e19219e6 SHA512 aa5bd4d2afb1b959c4c2d532b30d369ee0bd637010ea75adc8ca7444cdb13bf651ae4c6946141d326c8460f23ba4482c1a3f639a0b48190009a88298a17c22e3 diff --git a/app-admin/openrc-settingsd/openrc-settingsd-1.4.0.ebuild b/app-admin/openrc-settingsd/openrc-settingsd-1.4.0.ebuild new file mode 100644 index 000000000000..f3ac7e0b4b11 --- /dev/null +++ b/app-admin/openrc-settingsd/openrc-settingsd-1.4.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="System settings D-Bus service for OpenRC" +HOMEPAGE="https://gitlab.com/postmarketOS/openrc-settingsd/" +SRC_URI="https://gitlab.com/postmarketOS/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="systemd" + +DEPEND=" + >=dev-libs/glib-2.30:2 + sys-apps/dbus + sys-auth/polkit + dev-libs/libdaemon:0= + sys-apps/openrc +" +RDEPEND=" + ${DEPEND} + systemd? ( >=sys-apps/systemd-197 ) + !systemd? ( sys-auth/nss-myhostname !sys-apps/systemd ) +" +BDEPEND=" + dev-util/gdbus-codegen + virtual/pkgconfig +" + +S="${WORKDIR}/${PN}-v${PV}" + +src_configure() { + local emesonargs=( + -Dopenrc=enabled + -Denv-update=/usr/bin/env-update + -Dhostname-style=gentoo + -Dlocale-style=gentoo + ) + meson_src_configure +} + +src_install() { + meson_src_install + if use systemd; then + # Avoid file collision with systemd + rm -vr "${ED}"/usr/share/{dbus-1,polkit-1} "${ED}"/etc/dbus-1 || die "rm failed" + fi +} + +pkg_postinst() { + if use systemd; then + elog "You installed ${PN} with USE=systemd. In this mode," + elog "${PN} will not start via simple dbus activation, so you" + elog "will have to manually enable it as an rc service:" + elog " # /etc/init.d/openrc-settingsd start" + elog " # rc-update add openrc-settingsd default" + fi +}