Pushes after holdiday

This commit is contained in:
none
2024-08-28 10:35:23 +02:00
parent 4f5d39dc0a
commit 26d1eae90d
20 changed files with 578 additions and 14 deletions
+26
View File
@@ -0,0 +1,26 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Workspace viewer for Hyprland"
HOMEPAGE="https://github.com/KZDKM/Hyprspace"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~mips ~sparc ~x86"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/KZDKM/Hyprspace.git"
else
SRC_URI="https://github.com/KZDKM/Hyprspace.git"
fi
# src_configure() {
# # econf --with-posix-regex
# }
src_install() {
emake all
}
@@ -70,10 +70,6 @@ src_configure() {
src_install() {
cargo_src_install --path ./crates/rglauncher-gtk
# TODO: look out for this in the future
# sed -i 's/Icon=io\.github\.dimtpap\.coppwr/Icon=coppwr/' assets/io.github.dimtpap.coppwr.desktop
# domenu assets/io.github.dimtpap.coppwr.desktop
mv data/logo.svg data/rglauncher.svg
doicon data/rglauncher.svg
}
+68
View File
@@ -0,0 +1,68 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cargo desktop xdg
DESCRIPTION="A screenshot annotation tool inspired by Swappy and Flameshot."
HOMEPAGE="https://github.com/gabm/satty"
if [[ "${PV}" == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/gabm/Satty.git"
else
SRC_URI="
https://github.com/gabm/Satty/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
M_PN=Satty
S="${WORKDIR}/${M_PN}-${PV}"
KEYWORDS="~amd64"
fi
LICENSE="MPL-2.0"
SLOT="0"
RDEPEND="
virtual/rust
dev-libs/glib:2
media-libs/libepoxy
media-libs/mesa[opengl]
media-libs/graphene
gui-libs/libadwaita
gui-libs/gtk:4
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/pango
"
QA_FLAGS_IGNORED="usr/bin/${PN}"
src_unpack() {
if [[ "${PV}" == 9999 ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_configure() {
cargo_src_configure --bin satty
}
src_install() {
dodoc README.md
# if use debug ; then
# cd target/debug || die
# else
# cd target/release || die
# fi
cargo_src_install
#Just add the icon and desktop file
doicon "${S}/assets/satty.svg"
domenu "${S}/satty.desktop"
}