docker-1.5-r2.ebuild 714 Bytes
Newer Older
1
# Copyright 1999-2021 Gentoo Authors
Palica's avatar
Palica committed
2 3 4
# Distributed under the terms of the GNU General Public License v2

EAPI=7
5

Palica's avatar
Palica committed
6 7 8 9 10 11 12 13
inherit toolchain-funcs

DESCRIPTION="Openbox app which acts as a system tray for KDE and GNOME2"
HOMEPAGE="https://icculus.org/openbox/2/docker/"
SRC_URI="https://icculus.org/openbox/2/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
14
KEYWORDS="~alpha amd64 ppc ~ppc64 ~sparc x86"
Palica's avatar
Palica committed
15 16 17

RDEPEND=">=dev-libs/glib-2.0.4
	x11-libs/libX11"
18 19
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
Palica's avatar
Palica committed
20

21 22 23
PATCHES=(
	"${FILESDIR}"/${P}-makefile_rename.patch
)
Palica's avatar
Palica committed
24 25

src_compile() {
26
	tc-export PKG_CONFIG
Palica's avatar
Palica committed
27 28 29 30 31 32
	emake CC="$(tc-getCC)"
}

pkg_postinst() {
	einfo "To avoid collision with app-emulation/docker, binary was renamed to wmdocker"
}