dev-libs/qhotkey - 9999 (mva)

Search

Install

Install this version:

emerge -a =dev-libs/qhotkey-9999

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

autounmask =dev-libs/qhotkey-9999

Or alternatively:

emerge --autounmask-write -a =dev-libs/qhotkey-9999

Package Information

Description:
A global shortcut/hotkey library for desktop Qt applications
Homepage:
https://github.com/Skycoder42/QHotkey
License:
BSD-with-attribution

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~arm ~x86 0
View Raw Ebuild
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License

EAPI=8

inherit cmake

DESCRIPTION="A global shortcut/hotkey library for desktop Qt applications"
HOMEPAGE="https://github.com/Skycoder42/QHotkey"

LICENSE="BSD-with-attribution"
SLOT="0"

MY_PN="QHotkey"

if [[ ${PV} == 9999 ]];then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/Skycoder42/${MY_PN}.git"
else
	SRC_URI="https://github.com/Skycoder42/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm ~x86"
	MY_P="${MY_PN}-${PV}"
	S="${WORKDIR}/${MY_P}"
fi

DEPEND="
	dev-qt/qtbase:6
	x11-libs/libX11
"
RDEPEND="${DEPEND}"

src_configure() {
	local mycmakeargs=(
		-DQT_DEFAULT_MAJOR_VERSION:STRING=6
	)
	cmake_src_configure
}

Inherited Eclasses

Dependencies

DEPEND

	dev-qt/qtbase:6
	x11-libs/libX11

RDEPEND

	dev-qt/qtbase:6
	x11-libs/libX11