Install this version:
emerge -a =dev-libs/singleapplication-3.5.6
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/singleapplication-3.5.6
Or alternatively:
emerge --autounmask-write -a =dev-libs/singleapplication-3.5.6
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.5.6 | 8 | ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Replacement of QtSingleApplication support for inter-instance communication"
HOMEPAGE="https://itay-grudev.github.io/SingleApplication/"
SRC_URI="https://github.com/itay-grudev/SingleApplication/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/SingleApplication-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
DEPEND="dev-qt/qtbase:6[network]"
RDEPEND="${DEPEND}"
BDEPEND="doc? ( app-text/doxygen )"
PATCHES=(
# https://github.com/itay-grudev/SingleApplication/issues/190
"${FILESDIR}/singleapplication-3.5.2_p20250124-fix-single-instance-with-qt6.patch"
"${FILESDIR}/singleapplication-3.5.6-cmake-3.10.patch"
)
src_configure() {
local mycmakeargs=(
-DQT_DEFAULT_MAJOR_VERSION=6
-DQAPPLICATION_CLASS=FreeStandingSingleApplication
-DSINGLEAPPLICATION_INSTALL=ON
-DSINGLEAPPLICATION_DOCUMENTATION=$(usex doc)
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p dev-libs/singleapplication |
euse -E <flag> -p dev-libs/singleapplication |
euse -D <flag> -p dev-libs/singleapplication
dev-qt/qtbase:6[network]
dev-qt/qtbase:6[network]
doc? ( app-text/doxygen )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | singleapplication-3.5.6.tar.gz | 28003 bytes | https://github.com/itay-grudev/SingleApplication/archive/refs/tags/v3.5.6.tar.gz |