commit b3c0e34d28384f8aa7c6756f0d12ad9c8ab496f2
parent 9dab9a02c38541cf59b8137ea6df72f273711fb8
Author: Plat <plat@stellar-nexus.ru>
Date: Wed, 28 Aug 2024 15:22:59 +0000
Added x11-misc/bgs. Added longdescription to spt
Diffstat:
4 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/x11-misc/bgs/Manifest b/x11-misc/bgs/Manifest
@@ -0,0 +1 @@
+DIST bgs-0.8.tar.gz 4991 BLAKE2B 37f4bfe703b52f7f5e0f80ae56152bfec062958368845a1288e6a9b1f626993b3c1c29f637d8ecaba8530bdbe8b8676e11adfdef7e143a7bbc3f7e7cb757178a SHA512 30c806c097a6fdf2afd9a17a2cc1c2a27cce65df17a33921952ac68946b2a0efbcabcff00fab67013989478844e00c17899b4036bbd69dd7a110789ee4b2622c
diff --git a/x11-misc/bgs/bgs-0.8.ebuild b/x11-misc/bgs/bgs-0.8.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="extremely fast and small background setter for X."
+HOMEPAGE="https://github.com/Gottox/bgs"
+SRC_URI="https://github.com/Gottox/bgs/archive/refs/heads/master.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${PN}-master"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="xinerama"
+
+DEPEND="
+ media-libs/imlib2
+ x11-libs/libX11
+ xinerama? ( x11-libs/libXinerama )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "/^\(LDFLAGS\|CFLAGS\|CPPFLAGS\)/{s| = | += |g;s|-s ||g}" \
+ config.mk
+}
+
+src_compile() {
+ if use xinerama; then
+ emake CC="$(tc-getCC)" bgs
+ else
+ emake CC="$(tc-getCC)" XINERAMAFLAGS="" XINERAMALIBS="" bgs
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+}
diff --git a/x11-misc/bgs/metadata.xml b/x11-misc/bgs/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<upstream>
+<remote-id type="github">Gottox/bgs</remote-id>
+</upstream>
+<maintainer type="person">
+<email>plat@stellar-nexus.ru</email>
+<name>Plat</name>
+</maintainer>
+<longdescription>
+bgs - back ground setter
+========================
+bgs is an extremely fast and small background setter for X.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/spt/metadata.xml b/x11-misc/spt/metadata.xml
@@ -8,4 +8,7 @@
<email>plat@stellar-nexus.ru</email>
<name>Plat</name>
</maintainer>
+<longdescription>
+spt is a simple timer that uses the pomodoro technique that doubles your efficiency.
+</longdescription>
</pkgmetadata>