diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmCalClock |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmCalClock')
-rw-r--r-- | x11-plugins/wmCalClock/Manifest | 6 | ||||
-rw-r--r-- | x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch | 35 | ||||
-rw-r--r-- | x11-plugins/wmCalClock/metadata.xml | 14 | ||||
-rw-r--r-- | x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild | 38 |
4 files changed, 93 insertions, 0 deletions
diff --git a/x11-plugins/wmCalClock/Manifest b/x11-plugins/wmCalClock/Manifest new file mode 100644 index 000000000000..de132771e883 --- /dev/null +++ b/x11-plugins/wmCalClock/Manifest @@ -0,0 +1,6 @@ +AUX wmCalClock-1.25-makefile.patch 1055 SHA256 a7661ae9c454cc8e6910ae22884b6f216615355629659c2216b963986eca292d SHA512 8d03d109cddd2c095d388ab9a91d34ab94b31b534cd66de8d6fe00e97244dcf7af16c75354ede4ce08e7d197cc78659b22891bcbea3a84ac6a97b427dacf90f8 WHIRLPOOL c349b5e09644dde776ddb328c5c05dd596002f638e995c6691b78df0700f4f3e6da0d82c2cccb7c580a0e85d170192bd776ee0e74a974a29c6e134e67ee3b3f4 +DIST wmCalClock-1.25.tar.gz 71574 SHA256 4b42b55bb7c1d7c58b5ee1f0058c683d3e4f3e3380d3a69c54a50b983c7c1b3f SHA512 499f91856e79fee4fb776b3fa8cbcc70cae2e28a1e9ea5d2c1dbf5a7684cff4be4e5e9362d672aa7cf459d0bfe14f68ec51a10376558a9635d77e5e6ce7f149f WHIRLPOOL 40229d12f861e164aacb8625326fb671a4bd35a77c4138b99e30200c5763fda1ba01e60806ddf50fdc7adc158992ad6a4dc65aaa8e0fa3aef91f4c8db81c4fae +EBUILD wmCalClock-1.25-r2.ebuild 877 SHA256 c984c3b068a64e57a1249f43a424dd780d02bb0518f6c4db8c86df6d1f907a6f SHA512 3225817854bedb82e3da04ead3c039f00817c9c2fd7d576077f1551b48db91af27b1fa6f0d9d71164616e249e667b2aa242c188382d004b5bac58e94a28ba553 WHIRLPOOL 58106726a907b97ac27864c3eb89381793045aa9f757f884aa29e635a74451daa9192c0ebb111a284f2529ea8db4faf37c904851a945e87cb26d80b6bc30dd03 +MISC ChangeLog 2942 SHA256 48360ea39308dd3a35544f1abcc3cb07546febefdc8bcdf75be76756c24151cb SHA512 469718055d7d09fd67e20ebb04c9079452d7b1d116837fbbe5a6be05e9a037776e3a07eac8ae7dad8c223e17613721a49955c12a4612642ad661ef93d9838382 WHIRLPOOL 5f7b96ffc65fe846d922f6d15a57040ecda27ef1cb0734c21016f695950da1e9e5fc7342dab1504b147ce716f009105ab016d02ac8fd5827cdda8b56063499e5 +MISC ChangeLog-2015 3168 SHA256 ea01365b6a681d458d8855c435b0f550562aa7c279837596757ecb6b009c04b9 SHA512 f7ecd7107f79d23ab83189466b1a0db4d24d30c966dc983233de72a038e10d55c2d2f4a9799f0a4000c7e1ec1a2610547ee35e493fbe3c66490cd355d658af82 WHIRLPOOL 930e3849350a4b4e66b131168865d8ed31d6e4f2d3e170a48e3227b5fdeaea88bdd052634d01d637aadc2daf844094fb4727573c67551b54f41224aefa79ec54 +MISC metadata.xml 476 SHA256 cc1775ed617b23779b4e762262335d62467a1835df0cae5f89d96cfc40c71591 SHA512 2281d53175fc5377c916eed033127c71d17b572982fb0c0c9264349866f9c0cc784771fb9d34b7542972b623e784c4bb76c0c4524db160884ad1d1e08e29aa43 WHIRLPOOL 0ea1a3a3d1a90c761103e490b6ea283a35cecb612af729d6d3ae07513aedc7c574a304534d2e64be99955f5f1acb50586ae5ae40f4352eef41a7d2e879f39709 diff --git a/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch b/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch new file mode 100644 index 000000000000..64046c83f4be --- /dev/null +++ b/x11-plugins/wmCalClock/files/wmCalClock-1.25-makefile.patch @@ -0,0 +1,35 @@ +--- Makefile.orig 1999-03-27 07:46:38.000000000 +0100 ++++ Makefile 2008-01-27 22:45:09.000000000 +0100 +@@ -1,8 +1,8 @@ +-CC = gcc +-CFLAGS = -O2 -Wall +-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include +-DESTDIR= /usr/X11R6 +-LIBDIR = -L/usr/X11R6/lib ++CC ?= gcc ++CFLAGS += -Wall ++INCDIR = -I/usr/include/X11 -I/usr/include ++PREFIX ?= /usr ++LIBDIR ?= /usr/lib + + # for Linux + LIBS = -lXpm -lX11 -lXext +@@ -22,7 +22,7 @@ + + wmCalClock.o: wmCalClock_master.xpm wmCalClock_mask.xbm + wmCalClock: $(OBJS) +- $(CC) $(COPTS) $(SYSTEM) -o wmCalClock $^ $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) -o wmCalClock $^ $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS) + + clean: + for i in $(OBJS) ; do \ +@@ -31,6 +31,7 @@ + rm -f wmCalClock + + install:: wmCalClock +- install -c -s -m 0755 wmCalClock $(DESTDIR)/bin +- install -c -m 0644 wmCalClock.1 $(DESTDIR)/man/man1 ++ install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 ++ install -m 0755 wmCalClock $(DESTDIR)$(PREFIX)/bin ++ install -m 0644 wmCalClock.1 $(DESTDIR)$(PREFIX)/share/man/man1 + diff --git a/x11-plugins/wmCalClock/metadata.xml b/x11-plugins/wmCalClock/metadata.xml new file mode 100644 index 000000000000..c060f31f653f --- /dev/null +++ b/x11-plugins/wmCalClock/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> + +<longdescription> +wmCalClock is a calendar clock with anti-aliased text and drop shadows. Colors +and fonts in the time field are user configurable. It displays local time, +universal time and sidereal time. +</longdescription> +</pkgmetadata> diff --git a/x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild b/x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild new file mode 100644 index 000000000000..14619bf27d90 --- /dev/null +++ b/x11-plugins/wmCalClock/wmCalClock-1.25-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="WMaker DockApp: A Calendar clock with antialiased text" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/16/${P}.tar.gz" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/9" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86" +IUSE="" + +S="${WORKDIR}/${P}/Src" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "Compilation failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + dodoc ../{BUGS,CHANGES,HINTS,README,TODO} +} |