public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Takuya Wakazono" <pastalian46@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hypridle/
Date: Sun, 26 May 2024 15:50:15 +0000 (UTC)	[thread overview]
Message-ID: <1716738565.b5f3c87acda2d15efe604d1432f1e60f2d9ae667.pastalian46@gentoo> (raw)

commit:     b5f3c87acda2d15efe604d1432f1e60f2d9ae667
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun May 26 15:48:09 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sun May 26 15:49:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b5f3c87a

gui-apps/hypridle: cleanup deps, phase

- it doesn't depend on hyprland (works with sway)
- CMAKE_BUILD_TYPE is controlled by eclass

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 ...le-0.1.2-r1.ebuild => hypridle-0.1.2-r2.ebuild} | 27 +++-------------------
 gui-apps/hypridle/hypridle-9999.ebuild             | 27 +++-------------------
 2 files changed, 6 insertions(+), 48 deletions(-)

diff --git a/gui-apps/hypridle/hypridle-0.1.2-r1.ebuild b/gui-apps/hypridle/hypridle-0.1.2-r2.ebuild
similarity index 62%
rename from gui-apps/hypridle/hypridle-0.1.2-r1.ebuild
rename to gui-apps/hypridle/hypridle-0.1.2-r2.ebuild
index 11e24b3e4..ff76295a1 100644
--- a/gui-apps/hypridle/hypridle-0.1.2-r1.ebuild
+++ b/gui-apps/hypridle/hypridle-0.1.2-r2.ebuild
@@ -5,7 +5,6 @@ EAPI=8
 
 inherit cmake
 
-COMMIT="158c52c4a76cff7a1635be8ec1a4a369bc8674ed"
 DESCRIPTION="Hyprland's idle daemon"
 HOMEPAGE="https://github.com/hyprwm/hypridle"
 
@@ -14,8 +13,6 @@ if [[ "${PV}" = *9999 ]]; then
 	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}.gh.tar.gz"
-	S="${WORKDIR}/${PN}-${PV}"
-
 	KEYWORDS="~amd64"
 fi
 
@@ -23,15 +20,9 @@ LICENSE="BSD"
 SLOT="0"
 
 RDEPEND="
-	dev-libs/wayland
-	gui-libs/egl-wayland
-	|| (
-		>=media-libs/mesa-24.1.0_rc1[opengl]
-		<media-libs/mesa-24.1.0_rc1[egl(+),gles2]
-	)
-	>=gui-wm/hyprland-0.35.0
-	dev-cpp/sdbus-c++
+	dev-cpp/sdbus-c++:=
 	>=dev-libs/hyprlang-0.4.0
+	dev-libs/wayland
 "
 DEPEND="
 	${RDEPEND}
@@ -39,22 +30,10 @@ DEPEND="
 "
 
 BDEPEND="
+	dev-util/wayland-scanner
 	virtual/pkgconfig
-	dev-build/cmake
 "
 
 PATCHES=(
 	"${FILESDIR}/0001-fix-CFLAGS-CXXFLAGS-hypridle.patch"
 )
-
-src_configure() {
-	local mycmakeargs=(
-		-DCMAKE_BUILD_TYPE:STRING=Release
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-}

diff --git a/gui-apps/hypridle/hypridle-9999.ebuild b/gui-apps/hypridle/hypridle-9999.ebuild
index 11e24b3e4..ff76295a1 100644
--- a/gui-apps/hypridle/hypridle-9999.ebuild
+++ b/gui-apps/hypridle/hypridle-9999.ebuild
@@ -5,7 +5,6 @@ EAPI=8
 
 inherit cmake
 
-COMMIT="158c52c4a76cff7a1635be8ec1a4a369bc8674ed"
 DESCRIPTION="Hyprland's idle daemon"
 HOMEPAGE="https://github.com/hyprwm/hypridle"
 
@@ -14,8 +13,6 @@ if [[ "${PV}" = *9999 ]]; then
 	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}.gh.tar.gz"
-	S="${WORKDIR}/${PN}-${PV}"
-
 	KEYWORDS="~amd64"
 fi
 
@@ -23,15 +20,9 @@ LICENSE="BSD"
 SLOT="0"
 
 RDEPEND="
-	dev-libs/wayland
-	gui-libs/egl-wayland
-	|| (
-		>=media-libs/mesa-24.1.0_rc1[opengl]
-		<media-libs/mesa-24.1.0_rc1[egl(+),gles2]
-	)
-	>=gui-wm/hyprland-0.35.0
-	dev-cpp/sdbus-c++
+	dev-cpp/sdbus-c++:=
 	>=dev-libs/hyprlang-0.4.0
+	dev-libs/wayland
 "
 DEPEND="
 	${RDEPEND}
@@ -39,22 +30,10 @@ DEPEND="
 "
 
 BDEPEND="
+	dev-util/wayland-scanner
 	virtual/pkgconfig
-	dev-build/cmake
 "
 
 PATCHES=(
 	"${FILESDIR}/0001-fix-CFLAGS-CXXFLAGS-hypridle.patch"
 )
-
-src_configure() {
-	local mycmakeargs=(
-		-DCMAKE_BUILD_TYPE:STRING=Release
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-}


             reply	other threads:[~2024-05-26 15:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-26 15:50 Takuya Wakazono [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-22 19:24 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hypridle/ Johannes Huber
2025-05-22 19:24 Johannes Huber
2025-05-04  8:39 Johannes Huber
2025-05-04  8:39 Johannes Huber
2024-12-30 15:43 Julien Roy
2024-12-07 15:09 Gonçalo Negrier Duarte
2024-11-22 16:51 David Roman
2024-10-31  2:49 John M. Harris, Jr.
2024-10-30  9:43 Anthony Ruhier
2024-05-25 11:34 Anthony Ruhier
2024-05-24 11:27 Anthony Ruhier
2024-05-24  6:28 Joe Kappus
2024-05-24  6:28 Joe Kappus
2024-05-23 17:45 Gonçalo Negrier Duarte
2024-04-10 12:45 Gonçalo Negrier Duarte
2024-03-19 23:55 Julien Roy
2024-02-21 11:46 Gonçalo Negrier Duarte
2024-02-20 23:31 Gonçalo Negrier Duarte

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=1716738565.b5f3c87acda2d15efe604d1432f1e60f2d9ae667.pastalian46@gentoo \
    --to=pastalian46@gmail.com \
    --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