lomiri-base/repowerd - 2026.06 (gentoo-lomiri)

Search

Install

Install this version:

emerge -a =lomiri-base/repowerd-2026.06

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =lomiri-base/repowerd-2026.06

Or alternatively:

emerge --autounmask-write -a =lomiri-base/repowerd-2026.06

Package Information

Description:
Power daemon to monitor and control system power state
Homepage:
https://gitlab.com/ubports/development/core/repowerd
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
2026.06 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

LOMIRI_PPA_COMMIT="2026.06-4"
inherit lomiri

if [[ ${PV} == 9999 ]]; then
    KEYWORDS=""
    EGIT_REPO_URI="https://gitlab.com/ubports/development/core/${PN}.git"
    inherit git-r3
else
    KEYWORDS="~amd64"
    SRC_URI="https://gitlab.com/ubports/development/core/${PN}/-/archive/${PV}/${P}.tar.gz
             ${LOMIRI_PPA_URI}"
fi

DESCRIPTION="Power daemon to monitor and control system power state"
HOMEPAGE="https://gitlab.com/ubports/development/core/${PN}"
LICENSE="GPL-3"
SLOT="0"
RESTRICT="test mirror"

DEPEND="
    dev-libs/deviceinfo
    dev-libs/glib:2
"
RDEPEND="${DEPEND}"

BDEPEND="
    dev-build/cmake
    dev-build/cmake-extras
    dev-build/samurai
    sys-apps/systemd
    virtual/pkgconfig
"

src_configure() {
    local mycmakeargs=(
        -DREPOWERD_BUILD_TESTS=OFF
        -DREPOWERD_ENABLE_HYBRIS=OFF
        -DREPOWERD_ENABLE_BINDER=OFF
        -DREPOWERD_ENABLE_LSC=OFF
    )

    lomiri_src_configure
}

pkg_postinst() {
    lomiri_pkg_postinst

    if [[ -z ${REPLACING_VERSIONS} ]]; then
        elog "Enable the power daemon with:"
        elog "  systemctl enable --now ${PN}.service"
    fi
}

Inherited Eclasses

Dependencies

DEPEND

    dev-libs/deviceinfo
    dev-libs/glib:2

RDEPEND

    dev-libs/deviceinfo
    dev-libs/glib:2

BDEPEND

    dev-build/cmake
    dev-build/cmake-extras
    dev-build/samurai
    sys-apps/systemd
    virtual/pkgconfig

Manifest for 2026.06

Type File Size Source URLs
DIST repowerd-2026.06.tar.gz 175860 bytes https://gitlab.com/ubports/development/core/repowerd/-/archive/2026.06/repowerd-2026.06.tar.gz