remove some ebuilds, update email & name, add arm64 hyprland

This commit is contained in:
Jared Allard 2023-05-15 09:54:06 -07:00
parent 0452ea8066
commit a0942d077a
Signed by: jaredallard
SSH key fingerprint: SHA256:wyRyyv28jBYw8Yp/oABNPUYvbGd6hyZj23XVXEm5G/U
14 changed files with 153 additions and 149 deletions

View file

@ -1,3 +0,0 @@
DIST 0.105.tar.gz 709165 BLAKE2B 5c3cf347b0cfc2cef57af559f1c63d6e2ef11afcc1245868bf0a298ca0cd2ba241666836535c4f9886c4b563b17f324dda9b9dfd830a512c98c2620cfe027e03 SHA512 ad3ce18b76be05048e65fb0685d47b3b78417805536505eb34bc28379a74174265b585320cbe0bb2ee117a40f49293b6a22f465be99ac0bef06b8d104a9e4b5b
EBUILD telepresence-0.105.ebuild 1073 BLAKE2B bdc6561d56c9ba61bd7632712b1fa450e93a0722f96899ab24a4106cf6e833ee00786b180504b971fbd277692c346cf115e713b961b6075ed3a0237d84b32587 SHA512 70a1d8241de6f9eb94a6627bf7cf14e6e6523206fda9db2c31880aa062e1ae7c426e8eb1311b90308cc6496b569efdcb379a9b755cad2bd5100d6a67f9df26a1
MISC telepresence.log 2956 BLAKE2B b43071cffe297b9cfa58d2214c32620d29c8293d414f7ccf6fb2b321003436f5992eaa24d7c47983c4f22490087bceada5c51c44c09cad701957158c05bee555 SHA512 a1d7c604330a6b4df14e145e7d450de61cea9e7838f48728d829278a5315946872b676c6f1a6990e469243fffd6b9feb36385c5ad774772917e9aa88b3eb5fe4

View file

@ -1,46 +0,0 @@
# Copyright 19992020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=(python3_{6,7,8})
inherit distutils-r1 readme.gentoo-r1
DESCRIPTION="Fast, local development for Kubernetes and OpenShift microservices"
HOMEPAGE="https://www.telepresence.io/"
LICENSE="Apache-2.0"
SLOT="0"
RESTRICT=network-sandbox
SRC_URI="https://github.com/telepresenceio/telepresence/archive/${PV}.tar.gz"
KEYWORDS="~amd64 ~x86"
RDEPEND="net-proxy/torsocks
net-firewall/conntrack-tools
net-fs/sshfs
<sys-fs/fuse-3
sys-cluster/kubernetes
app-admin/sudo
"
DEPEND="dev-python/virtualenv"
S="${WORKDIR}/${PN}-${PV}"
src_compile() {
python3 packaging/build-telepresence.py "tmp/telepresence"
python3 packaging/build-sshuttle.py "tmp/sshuttle-telepresence"
}
src_install() {
dodoc README.md
insinto "/usr/bin"
doins "tmp/telepresence"
chmod +x "$D/usr/bin/telepresence"
insinto "/usr/libexec"
doins "tmp/sshuttle-telepresence"
chmod +x "$D/usr/libexec/sshuttle-telepresence"
#distutils-r1_python_install_all
}

View file

@ -1,2 +0,0 @@
DIST GitKraken-v7.4.1.deb 80346530 BLAKE2B ac3c1f97a2756eff5cfdd4e4739e15a5f99211c8ba421b6e48e40ae667fa3959420e3caa3daeead99fa0e73a325286789770cad9ed45af74bcd464d216372042 SHA512 dbff0db49289ee537ab1c7e603ef242e65b89b887b1b140d0ee9a8ba2c6f2f25d554ed47c4e8bdc96bee069939f209842ee43c006109b50f9347964a24cc5c4f
EBUILD gitkraken-7.4.1.ebuild 588 BLAKE2B ff82ea3f02de740a2bb3ec579ad69f6e4095bf76e2027678af67027bd57b85c8db966e093eb7408f758374d843319fe3a352de6d1c4f8f36482bf20f0c98aef2 SHA512 731fcbccceac8bf0a3cfd6c8009d6a161e61ebf6c1bcf29c5a13913f5e8550ba39fca5c192a23f52bed27287e05cb22aa7d56f9319cf0313ad7caa9cbb2a3fac

View file

@ -1,35 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
inherit eutils
DESCRIPTION="cross-platform Git client"
HOMEPAGE="https://www.gitkraken.com"
SRC_URI="https://release.axocdn.com/linux/GitKraken-v${PV}.deb"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="strip"
S="${WORKDIR}"
RDEPEND="net-print/cups app-crypt/mit-krb5"
#TODO: ???
LICENSE="EULA"
src_prepare() {
unpack ./control.tar.gz
unpack ./data.tar.xz
default
}
src_install() {
doins -r usr
fperms 755 /usr/share/gitkraken/gitkraken
}

View file

@ -1,3 +0,0 @@
DIST parsec-linux.deb 3188156 BLAKE2B 89828ad8e5c7f04f825357204b45a89229eb344123e77a33b6a9b96a6df74f2f5f86b84eeb05dec9fe1e4d9fc83c43af6c2cd82318d5397b4f3be25e21eab437 SHA512 aeecb50d0470d6a8b16cc8ef20ea184d614833b86315d7542d045b36ef4ca96ed25f0c7c003b7f1f16e545b1eca6b320b699e7d734fc823fe3e9948c94a77a26
EBUILD parsec-150.11.ebuild 861 BLAKE2B c373641be1b28a70b0daecd9683437cddfaad77aedf18626503a97c7d3ca1eea191031038621e73e975408c0abb31b5428fdefdf9631e71dc41079ed40159dba SHA512 4306a57cdc0c9bf316dfbce954e501476a88a7647ea9819a99ece4c4424d20c6be794967d32792716425cf67b84f4d74741cf75f30a67516274330a3778f2af4
MISC metadata.xml 105 BLAKE2B e847209505fdd7de617a8e6f98be68531291d98cdec9b41ad5ca24a3b36091ab7e6897b276a7a9049a435b7687a31a8c5df83abcf735bb7ddbd205cc18bda976 SHA512 300b5076059f692da155030af1f5066b27efc8b8ea60e6ae304d193949aecd1e44a984de147636656be6b9094d730906b8eb0504f22ec1c64e9fe70b644d36f5

View file

@ -1,5 +0,0 @@
<pkgmetadata>
<upstream>
<remote-id type="web">https://parsec.app</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,48 +0,0 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit unpacker
DESCRIPTION="Simple, low-latency game streaming"
HOMEPAGE="https://parsecgaming.com/"
SRC_URI="https://builds.parsecgaming.com/package/parsec-linux.deb"
LICENSE="Parsec-EULA"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
dev-libs/expat
dev-libs/libbsd
media-libs/mesa
sys-devel/gcc[cxx]
sys-libs/glibc
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXxf86vm
x11-libs/libdrm
x11-libs/libxcb
x11-libs/libxcb
x11-libs/libxshmfence
"
RDEPEND="${DEPEND}"
BDEPEND=""
S=${WORKDIR}
QA_PREBUILT="usr/bin/parsecd usr/share/${PN}/skel/parsecd-150-11.so"
src_unpack() {
unpack_deb ${A}
}
src_install() {
cp -R usr/ "${D}/" || die "Could not copy."
}

View file

@ -0,0 +1,43 @@
# From https://github.com/hyprwm/Hyprland/issues/2239#issuecomment-1536725235
# This patch is recommended by the developer on systems running and Nvidia GPu
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c
index 6a86b183..823fc318 100644
--- a/render/gles2/renderer.c
+++ b/render/gles2/renderer.c
@@ -165,7 +165,7 @@ static bool gles2_bind_buffer(struct wlr_renderer *wlr_renderer,
assert(wlr_egl_is_current(renderer->egl));
push_gles2_debug(renderer);
- glFlush();
+ glFinish();
glBindFramebuffer(GL_FRAMEBUFFER, 0);
pop_gles2_debug(renderer);
diff --git a/types/output/render.c b/types/output/render.c
index ed1afa4a..ddc730c7 100644
--- a/types/output/render.c
+++ b/types/output/render.c
@@ -225,22 +225,7 @@ struct wlr_drm_format *output_pick_format(struct wlr_output *output,
}
uint32_t wlr_output_preferred_read_format(struct wlr_output *output) {
- struct wlr_renderer *renderer = output->renderer;
- assert(renderer != NULL);
-
- if (!renderer->impl->preferred_read_format || !renderer->impl->read_pixels) {
- return DRM_FORMAT_INVALID;
- }
-
- if (!output_attach_back_buffer(output, &output->pending, NULL)) {
- return false;
- }
-
- uint32_t fmt = renderer->impl->preferred_read_format(renderer);
-
- output_clear_back_buffer(output);
-
- return fmt;
+ return DRM_FORMAT_XRGB8888;
}
bool output_is_direct_scanout(struct wlr_output *output,

View file

@ -0,0 +1,86 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# shellcheck shell=bash
EAPI=8
inherit meson toolchain-funcs
DESCRIPTION="A dynamic tiling Wayland compositor that doesn't sacrifice on its looks"
HOMEPAGE="https://github.com/hyprwm/Hyprland/releases"
SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${PF}.gh.tar.gz"
S="${WORKDIR}/${PN}-source"
KEYWORDS="~amd64 ~arm64"
LICENSE="BSD"
SLOT="0"
IUSE="X legacy-renderer systemd video_cards_nvidia"
RDEPEND="
app-misc/jq
dev-libs/libevdev
dev-libs/libinput
dev-libs/wayland
dev-libs/wayland-protocols
dev-util/glslang
dev-util/vulkan-headers
gui-libs/gtk-layer-shell
media-libs/libdisplay-info
media-libs/libglvnd[X?]
media-libs/mesa[gles2,wayland,X?]
media-libs/vulkan-loader
x11-base/xcb-proto
x11-libs/cairo
x11-libs/libdrm
x11-libs/libxkbcommon
x11-libs/pixman
x11-misc/xkeyboard-config
virtual/libudev
X? (
gui-libs/wlroots[x11-backend]
x11-base/xwayland
x11-libs/libxcb
x11-libs/xcb-util-image
x11-libs/xcb-util-renderutil
x11-libs/xcb-util-wm
)
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-libs/hyprland-protocols
dev-libs/libliftoff
>=dev-libs/wayland-1.22.0
dev-vcs/git
>=gui-libs/wlroots-0.16.0[X?]
"
src_prepare() {
STDLIBVER=$(echo '#include <string>' | $(tc-getCXX) -x c++ -dM -E - |
grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/')
if ! [[ ${STDLIBVER} -ge 12 ]]; then
die "Hyprland requires >=sys-devel/gcc-12.1.0 to build"
fi
if use video_cards_nvidia; then
cd "${S}/subprojects/wlroots" || die
eapply "${FILESDIR}/nvidia-0.25.0.patch"
cd "${S}" || die
fi
eapply_user
}
src_configure() {
local emesonargs=(
$(meson_feature legacy-renderer legacy_renderer)
$(meson_feature X xwayland)
$(meson_feature systemd)
)
meson_src_configure
}
src_install() {
meson_src_install --skip-subprojects wlroots
}

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>jared@rgst.io</email>
<name>Jared Allard</name>
</maintainer>
<upstream>
<changelog>https://github.com/hyprwm/Hyprland/releases</changelog>
<doc>https://wiki.hyprland.org/</doc>
<bugs-to>https://github.com/hyprwm/Hyprland/issues</bugs-to>
<remote-id type="github">hyprwm/Hyprland</remote-id>
</upstream>
<use>
<flag name="legacy-renderer">Enable legacy renderer</flag>
</use>
</pkgmetadata>

View file

@ -1,6 +1,6 @@
<pkgmetadata>
<maintainer type="person">
<email>jaredallard@outlook.com</email>
<name>jaredallard</name>
<email>jared@rgst.io</email>
<name>Jared Allard</name>
</maintainer>
</pkgmetadata>

View file

@ -1,7 +1,7 @@
<pkgmetadata>
<maintainer type="person">
<email>jaredallard@outlook.com</email>
<name>jaredallard</name>
<email>jared@rgst.io</email>
<name>Jared Allard</name>
</maintainer>
<use>
<flag name="pcf"> Install pcf files instead of bdf </flag>

View file

@ -1,7 +1,7 @@
<pkgmetadata>
<maintainer type="person">
<email>jaredallard@outlook.com</email>
<name>jaredallard</name>
<email>jared@rgst.io</email>
<name>Jared Allard</name>
</maintainer>
<use>
<flag name="pcf"> Install pcf files instead of bdf </flag>

View file

@ -4,7 +4,7 @@
<description>Jared Allard's personal overlay</description>
<homepage>https://github.com/jaredallard/overlay</homepage>
<owner>
<email>jaredallard@outlook.com</email>
<email>jared@rgst.io</email>
<name>Jared Allard</name>
</owner>
<source type="git">https://github.com/jaredallard/overlay.git</source>