summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-06-11 22:18:29 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2018-06-14 11:01:08 +0200
commit89c42194bc3c288dd15809d56393e415c436079e (patch)
treec9a8eb9f68b7c2c7ef4ddeb3f0eb3afd28976993 /x11-plugins
parentx11-plugins/wmCalClock: use HTTPS (diff)
downloadgentoo-89c42194bc3c288dd15809d56393e415c436079e.tar.gz
gentoo-89c42194bc3c288dd15809d56393e415c436079e.tar.bz2
gentoo-89c42194bc3c288dd15809d56393e415c436079e.zip
x11-plugins/wmCalClock: EAPI7, use HTTPS, improve ebuild
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch4
-rw-r--r--x11-plugins/wmCalClock/wmCalClock-1.25-r3.ebuild31
2 files changed, 33 insertions, 2 deletions
diff --git a/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch b/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch
index 64046c83f4be..68756636be27 100644
--- a/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch
+++ b/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch
@@ -1,5 +1,5 @@
---- Makefile.orig 1999-03-27 07:46:38.000000000 +0100
-+++ Makefile 2008-01-27 22:45:09.000000000 +0100
+--- a/Makefile 1999-03-27 07:46:38.000000000 +0100
++++ b/Makefile 2008-01-27 22:45:09.000000000 +0100
@@ -1,8 +1,8 @@
-CC = gcc
-CFLAGS = -O2 -Wall
diff --git a/x11-plugins/wmCalClock/wmCalClock-1.25-r3.ebuild b/x11-plugins/wmCalClock/wmCalClock-1.25-r3.ebuild
new file mode 100644
index 000000000000..b211b179bcfa
--- /dev/null
+++ b/x11-plugins/wmCalClock/wmCalClock-1.25-r3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="WMaker DockApp: A Calendar clock with antialiased text"
+HOMEPAGE="https://www.dockapps.net/wmcalclock"
+SRC_URI="https://www.dockapps.net/download/${P}.tar.gz"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+S="${WORKDIR}/${P}/Src"
+
+DOCS=( ../{BUGS,CHANGES,HINTS,README,TODO} )
+
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_compile() {
+ emake CC="$(tc-getCC)" LIBDIR="-L/usr/$(get_libdir)/"
+}