logo

overlay

My (experimental) gentoo overlay
commit: 5138533f8f63fc3c847fbd8ac6074ae8bbef5cc4
parent: e97e669a2f0a7ba1c54289d781b4a42021914f00
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  1 Jul 2019 07:10:51 +0200

gui-wm/inaban: New Package

Diffstat:

Agui-wm/inaban/inaban-9999.ebuild53+++++++++++++++++++++++++++++++++++++++++++++++++++++
Agui-wm/inaban/metadata.xml8++++++++
2 files changed, 61 insertions(+), 0 deletions(-)

diff --git a/gui-wm/inaban/inaban-9999.ebuild b/gui-wm/inaban/inaban-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://hacktivis.me/git/inaban.git" + EGIT_MIN_CLONE_TYPE="single+tags" +else + KEYWORDS="~amd64" +fi + +DESCRIPTION="Distrustful Tiling Wayland Compositor" +HOMEPAGE="https://hacktivis.me/git/inaban" +LICENSE="BSD" +SLOT="0" +IUSE="suid" + +# dev-libs/wayland provides wayland-server +DEPEND=" + >=gui-libs/wlroots-0.6.0:= + dev-libs/wayland-protocols:= + x11-libs/libxkbcommon:= + dev-libs/wayland:= +" +RDEPEND="${DEPEND}" + +src_configure() { + restore_config config.h + default +} + +src_compile() { + emake \ + CC="${CC:-cc}" \ + CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \ + LDFLAGS="${LDFLAGS}" \ + PREFIX="/usr" +} + +src_install() { + use suid && chmod +s inaban + emake \ + DESTDIR="${D}" \ + PREFIX="/usr" \ + install + + save_config config.h + einstalldocs +} diff --git a/gui-wm/inaban/metadata.xml b/gui-wm/inaban/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> +</pkgmetadata>