x11-misc/xsuspender - 1.3 (haarp)

Search

Install

Install this version:

emerge -a =x11-misc/xsuspender-1.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =x11-misc/xsuspender-1.3

Or alternatively:

emerge --autounmask-write -a =x11-misc/xsuspender-1.3

Package Information

Description:
Automatically suspend inactive X11 applications
Homepage:
https://kernc.github.io/xsuspender/
License:
WTFPL-2

Ebuild Details

Version EAPI Keywords Slot
1.3 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Automatically suspend inactive X11 applications"
HOMEPAGE="https://kernc.github.io/xsuspender/"
SRC_URI="https://github.com/kernc/${PN}/archive/refs/tags/${PV}.tar.gz -> $P.tar.gz"

LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="
	dev-libs/glib
	sys-process/procps
	x11-libs/libwnck
"
DEPEND="${RDEPEND}"

src_prepare() {
	sed -i -e "s:PROJECT_VERSION 1.1:PROJECT_VERSION $PV:" CMakeLists.txt
	sed -i -e 's:example_dir "share/doc/${PROJECT_NAME}/examples":example_dir "share/doc/${PROJECT_NAME}-${PROJECT_VERSION}/examples":' CMakeLists.txt
	eapply_user
	cmake_src_prepare
}

src_configure() {
	local mycmakeargs=(
		-DCMAKE_INSTALL_PREFIX=/usr
		-DCMAKE_INSTALL_SYSCONFDIR=/etc
	)
	cmake_src_configure
}

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/glib
	sys-process/procps
	x11-libs/libwnck

RDEPEND

	dev-libs/glib
	sys-process/procps
	x11-libs/libwnck

Manifest for 1.3

Type File Size Source URLs
DIST xsuspender-1.3.tar.gz 26357 bytes https://github.com/kernc/xsuspender/archive/refs/tags/1.3.tar.gz