-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11-plugins/wmcpuwatch: update ebuild
Updated SRC_URI and HOMEPAGE, migrated to EAPI=7 and cmake.eclass. Closes: https://bugs.gentoo.org/739810 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: #17641 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
- Loading branch information
1 parent
308c787
commit 4f0fbba
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
inherit cmake-utils | ||
EAPI=7 | ||
inherit cmake | ||
|
||
DESCRIPTION="dockapp showing the load of every logical CPU on the system" | ||
HOMEPAGE="https://bitbucket.org/StarFire/wmcpuwatch" | ||
SRC_URI="https://bitbucket.org/StarFire/${PN}/downloads/${P}.tar.bz2" | ||
HOMEPAGE="https://bitbucket-archive.softwareheritage.org/projects/st/StarFire/wmcpuwatch.html" | ||
SRC_URI="https://bitbucket-archive.softwareheritage.org/static/83/8395d160-de4b-42d6-a7d9-939eade4f58a/attachments/${P}.tar.bz2" | ||
|
||
LICENSE="GPL-3+" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="doc" | ||
|
||
RDEPEND=">=x11-libs/libdockapp-0.7:=" | ||
DEPEND="${RDEPEND} | ||
doc? ( app-doc/doxygen[dot] )" | ||
DEPEND="${RDEPEND}" | ||
BDEPEND="doc? ( app-doc/doxygen[dot] )" | ||
|
||
DOCS=( ChangeLog README.md ) | ||
PATCHES=( "${FILESDIR}"/${P}-cmake.patch ) | ||
|
||
src_prepare() { | ||
cmake-utils_src_prepare | ||
cmake_src_prepare | ||
use doc || sed -e "s/add_subdirectory(doc)//" -i CMakeLists.txt || die | ||
} | ||
|
||
src_install() { | ||
cmake-utils_src_install | ||
cmake_src_install | ||
use doc && dodoc -r "${BUILD_DIR}"/doc/html | ||
} |