44 lines
720 B
Bash
44 lines
720 B
Bash
# Copyright 2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="RESTinio is a C++17 library that gives you an embedded HTTP/Websocket server"
|
|
HOMEPAGE="https://stiffstream.com"
|
|
|
|
if [[ "${PV}" == 9999* ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/stdware/qwindowkit/${PN}"
|
|
else
|
|
SRC_URI="https://github.com/stdware/qwindowkit/archive/refs/tags/${PV}.tar.gz"
|
|
KEYWORDS="amd64 x86"
|
|
fi
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
DEPEND="
|
|
dev-qt/qmsetup
|
|
"
|
|
|
|
RDEPEND="
|
|
${DEPEND}
|
|
"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DQWINDOWKIT_BUILD_QUICK=ON
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
)
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
cmake_src_install
|
|
}
|