From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2609F15807B for ; Wed, 30 Oct 2024 12:43:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCAA6E088F; Wed, 30 Oct 2024 10:15:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A3662E088F for ; Wed, 30 Oct 2024 10:15:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D46A6346FA2 for ; Wed, 30 Oct 2024 10:15:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38BC31626 for ; Wed, 30 Oct 2024 10:15:15 +0000 (UTC) From: "Anthony Ruhier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony Ruhier" Message-ID: <1730283307.fa37442d892ce8b6a5540febc640df5a64d1af0d.aruhier@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hyprlock/files/, gui-apps/hyprlock/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-apps/hyprlock/Manifest gui-apps/hyprlock/files/hyprlock-0.5.0-fix-CFLAGS-CXXFLAGS.patch gui-apps/hyprlock/hyprlock-0.5.0.ebuild X-VCS-Directories: gui-apps/hyprlock/ gui-apps/hyprlock/files/ X-VCS-Committer: aruhier X-VCS-Committer-Name: Anthony Ruhier X-VCS-Revision: fa37442d892ce8b6a5540febc640df5a64d1af0d X-VCS-Branch: dev Date: Wed, 30 Oct 2024 10:15:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 412c7941-8597-4d26-b9ce-cb3a6397043d X-Archives-Hash: bca68514cfd58ea41f3e9202e1b77515 commit: fa37442d892ce8b6a5540febc640df5a64d1af0d Author: Anthony Ruhier mailbox org> AuthorDate: Wed Oct 30 10:15:07 2024 +0000 Commit: Anthony Ruhier mailbox org> CommitDate: Wed Oct 30 10:15:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa37442d gui-apps/hyprlock: add 0.5.0 Signed-off-by: Anthony Ruhier mailbox.org> gui-apps/hyprlock/Manifest | 1 + .../files/hyprlock-0.5.0-fix-CFLAGS-CXXFLAGS.patch | 12 +++++ gui-apps/hyprlock/hyprlock-0.5.0.ebuild | 51 ++++++++++++++++++++++ 3 files changed, 64 insertions(+) diff --git a/gui-apps/hyprlock/Manifest b/gui-apps/hyprlock/Manifest index 79be81f6e..961093723 100644 --- a/gui-apps/hyprlock/Manifest +++ b/gui-apps/hyprlock/Manifest @@ -1 +1,2 @@ DIST hyprlock-0.4.1.tar.gz 64302 BLAKE2B c6c745b6efa453aa2eff71d65e25c26499ada675c983d62c36c72f1a2ef8e6e4415cf7d53a7e405971366470149a8b40e855923ae7dc86e01e32ff1d257353b5 SHA512 f3831f51a18907e400ba8ab17e16aec7edc25eff207da6cb70b1a06eb1b8312d3061b077cc6ff59d5475bc17322a3f1e47bd9e6adc9041617b8797366eb6d7b5 +DIST hyprlock-0.5.0.tar.gz 67016 BLAKE2B c15491e00c0b3ea04e9d99c399d6803271849f75432ed34b516cbe059582371de357e67077e356eb7d71a7490e010ff2a5333444410023a73598d5ee185f2346 SHA512 c9fc30e20889dc694294ad9ec03c39c7e47fada4972139822b9f9275d04f2de6a9105918eca1369a4c6a3e4f5c6a956675beebbbab688f0d8f13bffccedb5a03 diff --git a/gui-apps/hyprlock/files/hyprlock-0.5.0-fix-CFLAGS-CXXFLAGS.patch b/gui-apps/hyprlock/files/hyprlock-0.5.0-fix-CFLAGS-CXXFLAGS.patch new file mode 100644 index 000000000..cfde5df93 --- /dev/null +++ b/gui-apps/hyprlock/files/hyprlock-0.5.0-fix-CFLAGS-CXXFLAGS.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c2dfd6c..96f34b0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -15,7 +15,6 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG) + message(STATUS "Configuring hyprlock in Debug with CMake") + add_compile_definitions(HYPRLAND_DEBUG) + else() +- add_compile_options(-O3) + message(STATUS "Configuring hyprlock in Release with CMake") + endif() + diff --git a/gui-apps/hyprlock/hyprlock-0.5.0.ebuild b/gui-apps/hyprlock/hyprlock-0.5.0.ebuild new file mode 100644 index 000000000..d800d0089 --- /dev/null +++ b/gui-apps/hyprlock/hyprlock-0.5.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +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 + SRC_URI="https://github.com/hyprwm/${PN^}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" + +RDEPEND=" + dev-cpp/sdbus-c++:0/2 + >=dev-libs/hyprlang-0.4.0 + >=gui-libs/hyprutils-0.2.0 + dev-libs/date + dev-libs/glib:2 + dev-libs/wayland + media-libs/libglvnd + media-libs/libjpeg-turbo:= + media-libs/libwebp:= + media-libs/mesa[opengl] + sys-libs/pam + x11-libs/cairo + x11-libs/libxkbcommon + x11-libs/libdrm + x11-libs/pango +" +DEPEND=" + ${RDEPEND} + dev-libs/wayland-protocols +" + +BDEPEND=" + dev-util/wayland-scanner + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/hyprlock-0.4.1-fix-CFLAGS-CXXFLAGS.patch" +)