43 lines
878 B
Bash
43 lines
878 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake xdg
|
|
|
|
DESCRIPTION="Qt-based LightScribe label editor and printing daemon"
|
|
HOMEPAGE="https://gitea.disconnected-by-peer.at/geos_one/qlscribe"
|
|
SRC_URI="https://gitea.disconnected-by-peer.at/geos_one/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
RDEPEND="
|
|
dev-libs/liblightscribe
|
|
dev-qt/qtbase:6[dbus,gui,widgets]
|
|
amd64? (
|
|
sys-apps/dbus[abi_x86_32]
|
|
sys-libs/glibc[multilib]
|
|
)
|
|
x86? ( sys-apps/dbus )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d
|
|
-DDBUS_SYSTEM_SERVICE_DIR=/usr/share/dbus-1/system-services
|
|
)
|
|
cmake_src_configure
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_pkg_postinst
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_pkg_postrm
|
|
}
|