diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-07-22 14:28:25 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2018-07-26 22:30:52 +0200 |
commit | 84b538f61550bf925d55d0b89b346746642f344a (patch) | |
tree | ff09a87bc3387b0851eae992b42957099918b843 /x11-plugins/wmfishtime/wmfishtime-1.24-r3.ebuild | |
parent | x11-plugins/wmfire: EAPI7, improve ebuild (diff) | |
download | gentoo-84b538f61550bf925d55d0b89b346746642f344a.tar.gz gentoo-84b538f61550bf925d55d0b89b346746642f344a.tar.bz2 gentoo-84b538f61550bf925d55d0b89b346746642f344a.zip |
x11-plugins/wmfishtime: EAPI7, improve ebuild
Diffstat (limited to 'x11-plugins/wmfishtime/wmfishtime-1.24-r3.ebuild')
-rw-r--r-- | x11-plugins/wmfishtime/wmfishtime-1.24-r3.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-plugins/wmfishtime/wmfishtime-1.24-r3.ebuild b/x11-plugins/wmfishtime/wmfishtime-1.24-r3.ebuild new file mode 100644 index 000000000000..05564bfd1885 --- /dev/null +++ b/x11-plugins/wmfishtime/wmfishtime-1.24-r3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="A fun clock applet for your desktop featuring swimming fish" +HOMEPAGE="http://www.ne.jp/asahi/linux/timecop" +SRC_URI="http://www.ne.jp/asahi/linux/timecop/software/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libX11" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${P}-gtk.patch + "${FILESDIR}"/${P}-no_display.patch ) + +DOCS=( ALL_I_GET_IS_A_GRAY_BOX AUTHORS ChangeLog CODING README ) + +src_prepare() { + default + sed -i -e "s/\$(CC)/& \$(LDFLAGS)/" Makefile || die #331891 +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + einstalldocs +} |