* [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/hyprland-contrib/
@ 2023-05-02 11:00 Pascal Jäger
0 siblings, 0 replies; 5+ messages in thread
From: Pascal Jäger @ 2023-05-02 11:00 UTC (permalink / raw
To: gentoo-commits
commit: 2c645e6cca94a4e26317ed8303699975780e8031
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Tue May 2 10:59:41 2023 +0000
Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Tue May 2 10:59:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c645e6c
gui-wm/hyprland-contrib: new package, add 0.1
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
gui-wm/hyprland-contrib/Manifest | 1 +
.../hyprland-contrib/hyprland-contrib-0.1.ebuild | 38 ++++++++++++++++++++++
gui-wm/hyprland-contrib/metadata.xml | 11 +++++++
3 files changed, 50 insertions(+)
diff --git a/gui-wm/hyprland-contrib/Manifest b/gui-wm/hyprland-contrib/Manifest
new file mode 100644
index 000000000..1ef117679
--- /dev/null
+++ b/gui-wm/hyprland-contrib/Manifest
@@ -0,0 +1 @@
+DIST hyprland-contrib-0.1.tar.gz 13608 BLAKE2B 6cd69792a0a96b1df47039d33ea5fe4aa286a37359cd855042c6bd52c81f83d42f119d2ddd2fb5215695d8b8f03ebd907d05e0eae98495164a1c0f59d9cdd4b8 SHA512 f258711b1f35bd2c913a19d98282c3cc257413916e5727986e4cfb1922aa256ec361aef840013e6acbe084746d69271b78a5043ab11044ef074baabc9d5e9ed7
diff --git a/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild b/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
new file mode 100644
index 000000000..3769f05a6
--- /dev/null
+++ b/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Community-maintained extensions for hyprland"
+HOMEPAGE="https://hyprland.org/"
+SRC_URI="https://github.com/hyprwm/contrib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ app-shells/bash
+"
+DEPEND="${RDEPEND}
+"
+
+S="${WORKDIR}/contrib-${PV}"
+src_install() {
+ pushd grimblast || die
+ PREFIX="${D}/usr" emake install
+ popd || die
+ pushd hyprprop || die
+ PREFIX="${D}/usr" emake install
+ popd || die
+ pushd scratchpad || die
+ PREFIX="${D}/usr" emake install
+ popd || die
+ pushd shellevents || die
+ PREFIX="${D}/usr" emake install
+ popd || die
+ pushd try_swap_workspace || die
+ PREFIX="${D}/usr" emake install
+ popd || die
+}
diff --git a/gui-wm/hyprland-contrib/metadata.xml b/gui-wm/hyprland-contrib/metadata.xml
new file mode 100644
index 000000000..cc162a507
--- /dev/null
+++ b/gui-wm/hyprland-contrib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Pascal Jaeger</name>
+ <email>pascal.jaeger@leimstift.de</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">hyprwm/contrib</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/hyprland-contrib/
@ 2023-05-02 17:15 Pascal Jäger
0 siblings, 0 replies; 5+ messages in thread
From: Pascal Jäger @ 2023-05-02 17:15 UTC (permalink / raw
To: gentoo-commits
commit: 50ec94daa96109fb5346f5f864b23c242ded2934
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Tue May 2 17:14:30 2023 +0000
Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Tue May 2 17:15:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50ec94da
gui-wm/hyprland-contrib: add USE flags
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
.../hyprland-contrib/hyprland-contrib-0.1.ebuild | 77 +++++++++++++++++-----
1 file changed, 60 insertions(+), 17 deletions(-)
diff --git a/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild b/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
index 3769f05a6..3f381d5a7 100644
--- a/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
+++ b/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit optfeature
+
DESCRIPTION="Community-maintained extensions for hyprland"
HOMEPAGE="https://hyprland.org/"
SRC_URI="https://github.com/hyprwm/contrib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -10,29 +12,70 @@ SRC_URI="https://github.com/hyprwm/contrib/archive/refs/tags/v${PV}.tar.gz -> ${
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
+IUSE="+grimblast +hyprprop +scratchpad +shellevents +swap"
RDEPEND="
app-shells/bash
+ gui-wm/hyprland
+ grimblast? (
+ gui-apps/wl-clipboard
+ gui-apps/grim
+ app-misc/jq
+ gui-apps/slurp
+ app-misc/jq
+ )
+ hyprprop? (
+ app-misc/jq
+ gui-apps/slurp
+ )
+ scratchpad? (
+ sys-apps/sed
+ app-misc/jq
+ gui-apps/slurp
+ app-misc/jq
+ )
"
-DEPEND="${RDEPEND}
+BDEPEND="
+ grimblast? (
+ app-text/scdoc
+ )
+ hyprprop? (
+ app-text/scdoc
+ )
"
+DEPEND="${RDEPEND}"
S="${WORKDIR}/contrib-${PV}"
src_install() {
- pushd grimblast || die
- PREFIX="${D}/usr" emake install
- popd || die
- pushd hyprprop || die
- PREFIX="${D}/usr" emake install
- popd || die
- pushd scratchpad || die
- PREFIX="${D}/usr" emake install
- popd || die
- pushd shellevents || die
- PREFIX="${D}/usr" emake install
- popd || die
- pushd try_swap_workspace || die
- PREFIX="${D}/usr" emake install
- popd || die
+ if use grimblast; then
+ pushd grimblast || die
+ PREFIX="${D}/usr" emake install
+ popd || die
+ fi
+ if use hyprprop; then
+ pushd hyprprop || die
+ PREFIX="${D}/usr" emake install
+ popd || die
+ fi
+ if use scratchpad; then
+ pushd scratchpad || die
+ PREFIX="${D}/usr" emake install
+ popd || die
+ fi
+ if use shellevents; then
+ pushd shellevents || die
+ PREFIX="${D}/usr" emake install
+ popd || die
+ fi
+ if use swap; then
+ pushd try_swap_workspace || die
+ PREFIX="${D}/usr" emake install
+ popd || die
+ fi
+}
+
+pkg_postinst() {
+ if use grimblast || use hyprprop || use scratchpad || use swap; then
+ optfeature "GUI notifications during dependency checks" x11-libs/libnotify
+ fi
}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/hyprland-contrib/
@ 2023-05-02 17:24 Pascal Jäger
0 siblings, 0 replies; 5+ messages in thread
From: Pascal Jäger @ 2023-05-02 17:24 UTC (permalink / raw
To: gentoo-commits
commit: 291b54af1c15962d694c1237e1b2033a472b9110
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Tue May 2 17:23:43 2023 +0000
Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Tue May 2 17:23:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=291b54af
gui-wm/hyprland-contrib: update metadata
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
gui-wm/hyprland-contrib/metadata.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gui-wm/hyprland-contrib/metadata.xml b/gui-wm/hyprland-contrib/metadata.xml
index cc162a507..080d8933c 100644
--- a/gui-wm/hyprland-contrib/metadata.xml
+++ b/gui-wm/hyprland-contrib/metadata.xml
@@ -5,6 +5,13 @@
<name>Pascal Jaeger</name>
<email>pascal.jaeger@leimstift.de</email>
</maintainer>
+ <use>
+ <flag name="grimblast">Install grimblast, a hyprland version of grimshot</flag>
+ <flag name="hyprprop">Install hyprprop, a xprop replacement for hyprland</flag>
+ <flag name="scratchpad">Install scratchpad script</flag>
+ <flag name="shellevents">Install shellevents, invoke hell functions in response to Hyprland socket events</flag>
+ <flag name="swap">Install try_swap_workspace, a script to emulate monitor-workspace agnostic behavior of other window managers</flag>
+ </use>
<upstream>
<remote-id type="github">hyprwm/contrib</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/hyprland-contrib/
@ 2024-01-02 11:40 Gonçalo Negrier Duarte
0 siblings, 0 replies; 5+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-01-02 11:40 UTC (permalink / raw
To: gentoo-commits
commit: 9d70430aee4c496fb5cb4f712a9e19b33702b8df
Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Jan 2 11:02:27 2024 +0000
Commit: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Tue Jan 2 11:28:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d70430a
gui-wm/hyprland-contrib: add 9999
* add me as Proxy Mantainer
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>
gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild | 10 ++++++++--
...trib-0.1.ebuild => hyprland-contrib-9999.ebuild} | 21 ++++++++++++++++-----
gui-wm/hyprland-contrib/metadata.xml | 1 +
3 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild b/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
index 3f381d5a79..687cfd39d2 100644
--- a/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
+++ b/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
@@ -7,11 +7,17 @@ inherit optfeature
DESCRIPTION="Community-maintained extensions for hyprland"
HOMEPAGE="https://hyprland.org/"
-SRC_URI="https://github.com/hyprwm/contrib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/hyprwm/contrib.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/hyprwm/contrib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/contrib-${PV}"
+ KEYWORDS="~amd64"
+fi
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
IUSE="+grimblast +hyprprop +scratchpad +shellevents +swap"
RDEPEND="
diff --git a/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild b/gui-wm/hyprland-contrib/hyprland-contrib-9999.ebuild
similarity index 69%
copy from gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
copy to gui-wm/hyprland-contrib/hyprland-contrib-9999.ebuild
index 3f381d5a79..1634a6bf60 100644
--- a/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
+++ b/gui-wm/hyprland-contrib/hyprland-contrib-9999.ebuild
@@ -7,12 +7,18 @@ inherit optfeature
DESCRIPTION="Community-maintained extensions for hyprland"
HOMEPAGE="https://hyprland.org/"
-SRC_URI="https://github.com/hyprwm/contrib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/hyprwm/contrib.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/hyprwm/contrib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/contrib-${PV}"
+ KEYWORDS="~amd64"
+fi
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+grimblast +hyprprop +scratchpad +shellevents +swap"
+IUSE="+grimblast +hyprprop +hdrop +scratchpad +shellevents +swap"
RDEPEND="
app-shells/bash
@@ -45,7 +51,6 @@ BDEPEND="
"
DEPEND="${RDEPEND}"
-S="${WORKDIR}/contrib-${PV}"
src_install() {
if use grimblast; then
pushd grimblast || die
@@ -57,6 +62,12 @@ src_install() {
PREFIX="${D}/usr" emake install
popd || die
fi
+ if use hdrop; then
+ pushd hdrop || die
+ PREFIX="${D}/usr" emake hdrop.1 #PR:80 will fix this
+ PREFIX="${D}/usr" emake install
+ popd || die
+ fi
if use scratchpad; then
pushd scratchpad || die
PREFIX="${D}/usr" emake install
@@ -75,7 +86,7 @@ src_install() {
}
pkg_postinst() {
- if use grimblast || use hyprprop || use scratchpad || use swap; then
+ if use grimblast || use hyprprop || use hdrop || use scratchpad || use swap; then
optfeature "GUI notifications during dependency checks" x11-libs/libnotify
fi
}
diff --git a/gui-wm/hyprland-contrib/metadata.xml b/gui-wm/hyprland-contrib/metadata.xml
index 080d8933c9..4bb94f0727 100644
--- a/gui-wm/hyprland-contrib/metadata.xml
+++ b/gui-wm/hyprland-contrib/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="grimblast">Install grimblast, a hyprland version of grimshot</flag>
<flag name="hyprprop">Install hyprprop, a xprop replacement for hyprland</flag>
+ <flag name="hdrop">Install hdrop, a tdrop replacement for Hyprland</flag>
<flag name="scratchpad">Install scratchpad script</flag>
<flag name="shellevents">Install shellevents, invoke hell functions in response to Hyprland socket events</flag>
<flag name="swap">Install try_swap_workspace, a script to emulate monitor-workspace agnostic behavior of other window managers</flag>
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/hyprland-contrib/
@ 2024-01-03 12:35 Gonçalo Negrier Duarte
0 siblings, 0 replies; 5+ messages in thread
From: Gonçalo Negrier Duarte @ 2024-01-03 12:35 UTC (permalink / raw
To: gentoo-commits
commit: 23a2094c24aa7d310b26ec965db6a1a41598fd57
Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Jan 3 12:28:29 2024 +0000
Commit: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Wed Jan 3 12:35:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23a2094c
gui-wm/hyprland-contrib: add 0.1-r1, remove 0.1
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>
.../{hyprland-contrib-0.1.ebuild => hyprland-contrib-0.1-r1.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild b/gui-wm/hyprland-contrib/hyprland-contrib-0.1-r1.ebuild
similarity index 100%
rename from gui-wm/hyprland-contrib/hyprland-contrib-0.1.ebuild
rename to gui-wm/hyprland-contrib/hyprland-contrib-0.1-r1.ebuild
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-01-03 12:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-03 12:35 [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/hyprland-contrib/ Gonçalo Negrier Duarte
-- strict thread matches above, loose matches on Subject: below --
2024-01-02 11:40 Gonçalo Negrier Duarte
2023-05-02 17:24 Pascal Jäger
2023-05-02 17:15 Pascal Jäger
2023-05-02 11:00 Pascal Jäger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox