From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprlock/
Date: Wed, 21 Feb 2024 01:36:58 +0000 (UTC) [thread overview]
Message-ID: <1708466119.980e311a7c483965cca193e16b84751d8e8bba68.julien@gentoo> (raw)
commit: 980e311a7c483965cca193e16b84751d8e8bba68
Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Feb 20 21:35:02 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Feb 20 21:55:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=980e311a
gui-apps/hyprlock: new package, add 0.0.1, 9999
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>
gui-apps/hyprlock/Manifest | 1 +
gui-apps/hyprlock/hyprlock-0.0.1.ebuild | 59 +++++++++++++++++++++++++++++++++
gui-apps/hyprlock/hyprlock-9999.ebuild | 59 +++++++++++++++++++++++++++++++++
gui-apps/hyprlock/metadata.xml | 18 ++++++++++
4 files changed, 137 insertions(+)
diff --git a/gui-apps/hyprlock/Manifest b/gui-apps/hyprlock/Manifest
new file mode 100644
index 0000000000..62516dd497
--- /dev/null
+++ b/gui-apps/hyprlock/Manifest
@@ -0,0 +1 @@
+DIST hyprlock-0.0.1.gh.tar.gz 33244 BLAKE2B 3acca1217274d1d6b05febaa6ef9988080f70bb58bdde87d51c906ea62b49f3a7eeb1e64cc43b0c6e6a0688ef2348c563cc788904274dd675248620c6cf1126d SHA512 e3baa476852329dbd1eea87ad1ddfcb0521d6c73797e2fd2e9ab17d4f8cebfae68ccf947cda44aeb8d32ceaf1a03c586fa77dd539f47713b8a64afd2ebbff3fa
diff --git a/gui-apps/hyprlock/hyprlock-0.0.1.ebuild b/gui-apps/hyprlock/hyprlock-0.0.1.ebuild
new file mode 100644
index 0000000000..f631571011
--- /dev/null
+++ b/gui-apps/hyprlock/hyprlock-0.0.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake toolchain-funcs
+
+COMMIT="7b15d34f0af9b1c8ef49279827eee47e4dca9afa"
+DESCRIPTION="Hyprland's GPU-accelerated screen locking utility"
+HOMEPAGE="https://github.com/hyprwm/hyprlock"
+
+if [[ "${PV}" = *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git"
+else
+ #When releases start to happen
+ #SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${P}.gh.tar.gz"
+ #S="${WORKDIR}/${PN}-source"
+
+ SRC_URI="https://github.com/hyprwm/${PN^}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+
+ KEYWORDS="~amd64 ~riscv"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="
+ dev-libs/wayland
+ gui-libs/egl-wayland
+ media-libs/mesa[egl(+),gles2]
+ sys-libs/pam
+ >=gui-wm/hyprland-0.35.0
+"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/wayland-protocols
+"
+
+BDEPEND="
+ >=dev-libs/hyprlang-0.4.0
+ x11-libs/libxkbcommon
+ x11-libs/cairo
+ dev-build/cmake
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_BUILD_TYPE:STRING=Release
+ )
+
+ meson_src_configure
+}
+
+src_install() {
+ cmake_src_install
+}
diff --git a/gui-apps/hyprlock/hyprlock-9999.ebuild b/gui-apps/hyprlock/hyprlock-9999.ebuild
new file mode 100644
index 0000000000..f631571011
--- /dev/null
+++ b/gui-apps/hyprlock/hyprlock-9999.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake toolchain-funcs
+
+COMMIT="7b15d34f0af9b1c8ef49279827eee47e4dca9afa"
+DESCRIPTION="Hyprland's GPU-accelerated screen locking utility"
+HOMEPAGE="https://github.com/hyprwm/hyprlock"
+
+if [[ "${PV}" = *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git"
+else
+ #When releases start to happen
+ #SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${P}.gh.tar.gz"
+ #S="${WORKDIR}/${PN}-source"
+
+ SRC_URI="https://github.com/hyprwm/${PN^}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+
+ KEYWORDS="~amd64 ~riscv"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="
+ dev-libs/wayland
+ gui-libs/egl-wayland
+ media-libs/mesa[egl(+),gles2]
+ sys-libs/pam
+ >=gui-wm/hyprland-0.35.0
+"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/wayland-protocols
+"
+
+BDEPEND="
+ >=dev-libs/hyprlang-0.4.0
+ x11-libs/libxkbcommon
+ x11-libs/cairo
+ dev-build/cmake
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_BUILD_TYPE:STRING=Release
+ )
+
+ meson_src_configure
+}
+
+src_install() {
+ cmake_src_install
+}
diff --git a/gui-apps/hyprlock/metadata.xml b/gui-apps/hyprlock/metadata.xml
new file mode 100644
index 0000000000..a095a38dcc
--- /dev/null
+++ b/gui-apps/hyprlock/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>julien@jroy.ca</email>
+ <name>Julien Roy</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>gonegrier.duarte@gmail.com</email>
+ <name>Gonçalo Negrier Duarte</name>
+ </maintainer>
+ <upstream>
+ <changelog>https://github.com/hyprwm/hyrlock/releases</changelog>
+ <doc>https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/</doc>
+ <bugs-to>https://github.com/hyprwm/hyrlock/issues</bugs-to>
+ <remote-id type="github">hyprwm/hyprlock</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2024-02-21 1:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 1:36 Julien Roy [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-21 1:36 [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprlock/ Julien Roy
2024-02-21 11:52 Julien Roy
2024-02-23 23:40 Julien Roy
2024-02-23 23:40 Julien Roy
2024-02-23 23:40 Julien Roy
2024-02-24 12:14 Haelwenn Monnier
2024-03-19 23:55 Julien Roy
2024-04-10 20:12 Julien Roy
2024-04-10 20:12 Julien Roy
2024-04-13 17:15 Julien Roy
2024-05-23 22:18 Haelwenn Monnier
2024-07-26 20:29 David Roman
2024-07-26 20:29 David Roman
2024-08-31 13:05 David Roman
2024-12-30 15:43 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-12-30 16:12 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-12-30 15:43 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-12-30 16:12 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2025-01-13 11:38 David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1708466119.980e311a7c483965cca193e16b84751d8e8bba68.julien@gentoo \
--to=julien@jroy.ca \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox