Skip to content

Commit

Permalink
x11-wm/hypr: new package, add 9999
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldsrc233 committed Nov 3, 2023
1 parent 1b93237 commit 4064b53
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
36 changes: 36 additions & 0 deletions x11-wm/hypr/hypr-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake git-r3 toolchain-funcs

DESCRIPTION="A dynamic Linux tiling window manager for Xorg"
HOMEPAGE="https://github.com/hyprwm/Hypr"
EGIT_REPO_URI="https://github.com/hyprwm/Hypr.git"

LICENSE="BSD"
SLOT="0"

DEPEND="x11-libs/cairo
dev-util/ninja
x11-libs/libxcb
x11-base/xcb-proto
x11-libs/xcb-util
x11-libs/xcb-util-cursor
x11-libs/xcb-util-keysyms
x11-libs/xcb-util-wm
dev-cpp/gtkmm:3.0
gui-libs/gtk"

pkg_pretend() {
if ! tc-is-gcc; then
ewarn "Only GCC is officially supported as compiler"
ewarn "Proceed with your own caution"
fi
}

src_install() {
dobin "${BUILD_DIR}/Hypr"
dodoc "${S}/example/hypr.conf"
}
13 changes: 13 additions & 0 deletions x11-wm/hypr/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Goldsrc233</name>
</maintainer>
<upstream>
<changelog>https://github.com/hyprwm/Hypr/releases</changelog>
<bugs-to>https://github.com/hyprwm/Hypr/issues</bugs-to>
<remote-id type="github">hyprwm/Hypr</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 4064b53

Please sign in to comment.