mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
guru/gui-apps: add 1.5.4
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
This commit is contained in:
2
gui-apps/darkman/Manifest
Normal file
2
gui-apps/darkman/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST darkman-1.5.4-vendor.tar.xz 384628 BLAKE2B 3af63f7e676e4ac8209fc490b6e6ea8717268c76917887a3a744926e000a4a9adfae63981376fe88ea0a0cd16273824b23c23f2a85e11f65c13292d921c92958 SHA512 31dfc7ef1005c2bf59b0df32820070b217c7243c5256fb743b1a152619dd57da1a72d5db7a34d8715e3a1f0aa622fd5ba005bfdb1a179d00438e77bc79a9d25e
|
||||
DIST darkman-v1.5.4.tar.bz2 21648 BLAKE2B b81f09f0e9cfaf21fca700314a68380672bfbf96b4db1ea9d878de7daf2e2470a83b99e829794384b853161b9ff3687a0587834e5d2a0f14ee6a5436a598fcfe SHA512 a8f687bdb8ca8233434919d0428c7899953f79e80eb1471bb28e695e73906c1577f6e6fb495ae67dee0a44ff9cefffd1eb5a1288d3dd0a33673646e408f02556
|
||||
50
gui-apps/darkman/darkman-1.5.4.ebuild
Normal file
50
gui-apps/darkman/darkman-1.5.4.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit systemd go-module
|
||||
|
||||
DESCRIPTION="Framework for dark and light mode transitions"
|
||||
HOMEPAGE="https://gitlab.com/WhyNotHugo/darkman"
|
||||
SRC_URI="https://gitlab.com/whynothugo/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
SRC_URI+=" https://files.levelnine.at/${P}-vendor.tar.xz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+man +examples"
|
||||
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
RDEPEND="app-misc/geoclue"
|
||||
BDEPEND="man? ( app-text/scdoc )"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
src_compile() {
|
||||
ego build -v -x -o ${PN} -ldflags="-X main.Version=${PV}" ./cmd/${PN}
|
||||
|
||||
if use man; then
|
||||
scdoc < ./${PN}.1.scd > ./${PN}.1 || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
|
||||
systemd_dounit ${PN}.service
|
||||
doman ${PN}.1
|
||||
|
||||
use examples && DOCS+=( examples/. )
|
||||
einstalldocs
|
||||
|
||||
insinto /usr/share/dbus-1/services
|
||||
doins contrib/dbus/*
|
||||
|
||||
insinto /usr/share/xdg-desktop-portal/portals/
|
||||
doins contrib/portal/darkman.portal
|
||||
|
||||
dodir /etc/env.d/
|
||||
echo "XDG_DATA_DIRS=\"~/.local/share/\"" >> "${ED}"/etc/env.d/99darkman || die
|
||||
}
|
||||
11
gui-apps/darkman/metadata.xml
Normal file
11
gui-apps/darkman/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mmk@levelnine.at</email>
|
||||
<name>Michael Mair-Keimberger</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">WhyNotHugo/darkman</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user