-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11-wm/hypr: new package, add 1.1.3, 9999
- Loading branch information
1 parent
a9c792d
commit 142d315
Showing
5 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST hypr-1.1.3.tar.gz 62774 BLAKE2B 6335746316d7b39ece6814852c007865b9ca4b5c478b3e1cb1e080f7b6a7c05d6e05991ffb6cab84131374eafdfb522f792e058b936f0c5047b25d4c010bd8f2 SHA512 310751b37b9393a9c1916950b69d0d45b095ee20888270498fe42f4012e3a6bbd65b596d231ec03c141dc52ab4ad481cf1378bbc4fee4272a97170291d82c6e0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/src/utilities/Util.hpp b/src/utilities/Util.hpp | ||
index 73f9a3f..d52ec05 100644 | ||
--- a/src/utilities/Util.hpp | ||
+++ b/src/utilities/Util.hpp | ||
@@ -3,6 +3,7 @@ | ||
#include "../defines.hpp" | ||
#include <fstream> | ||
#include <math.h> | ||
+#include <array> | ||
|
||
// For precise colors | ||
class CFloatingColor { | ||
@@ -62,4 +63,4 @@ CFloatingColor parabolicColor(CFloatingColor from, CFloatingColor to, double inc | ||
|
||
double parabolic(double from, double to, double incline); | ||
|
||
-std::vector<std::string> splitString(std::string, char); | ||
\ No newline at end of file | ||
+std::vector<std::string> splitString(std::string, char); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit cmake toolchain-funcs | ||
|
||
DESCRIPTION="A dynamic Linux tiling window manager for Xorg" | ||
HOMEPAGE="https://github.com/hyprwm/Hypr" | ||
SRC_URI="https://github.com/hyprwm/Hypr/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
S="${WORKDIR}/Hypr-${PV}" | ||
|
||
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" | ||
|
||
PATCHES=( | ||
"${FILESDIR}/fix-build.patch" | ||
) | ||
|
||
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |