app-misc/freediag: cmake-utils -> cmake

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Yury Martynov <email@linxon.ru>
This commit is contained in:
Yury Martynov 2020-07-19 19:19:37 +03:00
parent 87d3543ae8
commit 49915d3fa9
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors # Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
inherit cmake-utils inherit cmake
AVC=( $(ver_rs 1- ' ') ) AVC=( $(ver_rs 1- ' ') )
MY_PV="R${AVC[0]}_${AVC[1]}" MY_PV="R${AVC[0]}_${AVC[1]}"
@ -17,21 +17,21 @@ LICENSE="GPL-3"
SLOT="0" SLOT="0"
IUSE="gui" IUSE="gui"
DOCS=( AUTHORS CHANGES COPYING README doc )
DEPEND="gui? ( x11-libs/fltk:* )" DEPEND="gui? ( x11-libs/fltk:* )"
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}_fix_scangui_compiling.patch" )
DOCS=( AUTHORS CHANGES COPYING README doc )
S="${WORKDIR}/${PN}-${MY_PV}" S="${WORKDIR}/${PN}-${MY_PV}"
src_prepare() { src_prepare() {
eapply "${FILESDIR}/${P}_fix_scangui_compiling.patch"
sed -i \ sed -i \
-e 's:"README_v${PKGVERSIONMAJOR}_${PKGVERSIONMINOR}.txt"::g' \ -e 's:"README_v${PKGVERSIONMAJOR}_${PKGVERSIONMINOR}.txt"::g' \
CMakeLists.txt || die CMakeLists.txt || die
cmake-utils_src_prepare cmake_src_prepare
} }
src_configure() { src_configure() {
@ -41,5 +41,5 @@ src_configure() {
-DUSE_INIFILE=ON -DUSE_INIFILE=ON
) )
cmake-utils_src_configure cmake_src_configure
} }