Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x11-plugins/wmcpuwatch: update ebuild #17641

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions x11-plugins/wmcpuwatch/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ It is a fork of wmmon. wmmon shows the load of up to 10 CPUs. With a little twea

wmcpuwatch now shows the load of all CPUs in the lower frame which allows 40 CPUs at max.
</longdescription>
<upstream>
<remote-id type="bitbucket">StarFire/wmcpuwatch</remote-id>
</upstream>
</pkgmetadata>
20 changes: 10 additions & 10 deletions x11-plugins/wmcpuwatch/wmcpuwatch-0.2-r1.ebuild
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
use doc && dodoc -r "${BUILD_DIR}"/doc/html
cmake_src_install
use doc && dodoc -r "${BUILD_DIR}/doc/html"
}