logo

overlay

My own overlay for experimentations, use with caution, no support is provided

seatd-0.1.0.ebuild (749B)


      1 # Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
      2 # Distributed under the terms of the GNU General Public License v2
      3 
      4 EAPI=7
      5 
      6 inherit meson
      7 
      8 DESCRIPTION="Minimal seat management daemon and universal library"
      9 HOMEPAGE="https://git.sr.ht/~kennylevinsen/seatd"
     10 if [[ ${PV} == 9999 ]]; then
     11 	inherit git-r3
     12 
     13 	EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd"
     14 else
     15 	KEYWORDS="~amd64"
     16 	SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz"
     17 fi
     18 LICENSE="MIT"
     19 SLOT="0"
     20 IUSE="logind"
     21 
     22 DEPEND="logind? ( || ( sys-auth/elogind sys-apps/systemd ) )"
     23 RDEPEND="${DEPEND}"
     24 BDEPEND="app-text/scdoc"
     25 
     26 src_configure() {
     27 	local emesonargs=(
     28 		-Dman-pages=enabled
     29 		$(meson_feature logind)
     30 	)
     31 
     32 	meson_src_configure
     33 }