mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-19 07:48:56 -04:00
41 lines
811 B
Bash
41 lines
811 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
if [[ ${PV} == 9999* ]] ; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/cutefishos/fishui.git"
|
|
EGIT_CHECKOUT_DIR=${PN}-${PV}
|
|
KEYWORDS=""
|
|
else
|
|
SRC_URI="https://github.com/cutefishos/fishui/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64 ~arm64 ~riscv"
|
|
S="${WORKDIR}/${PN}-${PV}"
|
|
fi
|
|
|
|
DESCRIPTION="GUI library based on QQC2 for Cutefish applications"
|
|
HOMEPAGE="https://github.com/cutefishos/fishui"
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
IUSE=""
|
|
RDEPEND=""
|
|
DEPEND="
|
|
dev-qt/qtcore
|
|
dev-qt/qtwidgets
|
|
dev-qt/qtquickcontrols2
|
|
dev-qt/qtdbus
|
|
"
|
|
BDEPEND="${DEPEND}
|
|
dev-util/ninja
|
|
"
|
|
|
|
src_configure(){
|
|
mycmakeargs=(
|
|
-DCMAKE_INSTALL_PREFIX="/usr"
|
|
)
|
|
cmake_src_configure
|
|
}
|