summaryrefslogtreecommitdiff
path: root/x11-plugins/wmdots
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-04 08:53:53 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-04 08:53:53 +0100
commite3872864be25f7421015bef2732fa57c0c9fb726 (patch)
tree9cb29a544215119b5c5538e37211b994ce1c87ae /x11-plugins/wmdots
parent480486b52ea64765faf696c88b2c6a26a5a454d4 (diff)
gentoo resync : 04.08.2018
Diffstat (limited to 'x11-plugins/wmdots')
-rw-r--r--x11-plugins/wmdots/Manifest1
-rw-r--r--x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/x11-plugins/wmdots/Manifest b/x11-plugins/wmdots/Manifest
index 5b03202fe62d..d2398facc3f0 100644
--- a/x11-plugins/wmdots/Manifest
+++ b/x11-plugins/wmdots/Manifest
@@ -1,4 +1,5 @@
AUX wmdots-0.2_beta-stringh.patch 325 BLAKE2B fdd3cc86c6eab458926bdb1a33f6050c36716e9840e2d20b60e4835a4895cd3083760c0f01953ab9470691b23fda40e7001f135dfa994d16aee3253205d6e741 SHA512 b2da0950f0b74f6a25bb57d5fd27e315e5e4a1cca41c5cf413bbcf5a7d50ff5312a8d2903a646b2ba7c79007b8804e6518fb9a14b25fdd1028104d7800726f60
DIST wmdots-0.2beta.tar.gz 94933 BLAKE2B 76a722b60989855b47dcf08539299c7bdf57485595d0f452d8ec10ef57f350810396bda396757c266dda8cb1db9bb3f1823b0f9759b1cb85c7e1ff469f5d2a60 SHA512 2e9d42c4086f240ece0a29cb6131bad2d499bb7f08e8a444cf72ce1a9813f9919f9d47c4dd5ae015e6c2e76601f1e7ab421a67daed1cefed45dcb06e4cbd8488
+EBUILD wmdots-0.2_beta-r1.ebuild 868 BLAKE2B dd6423109f787f22bc82df88889d53bf4450522cd6d129987d6646fba1d9083c6a84351e4badfc1b1fca6c6fc5e42eeffba05fc88d5c699c161e32f521778b34 SHA512 d52c61417b6ebe6985bf050d3a26ca80ae708a36f1b85121092b38328ba9e475d8aec006abcb7bacbe09bc2fece1a8f0ada5ff0ac6f906f10427ad97ed75e28d
EBUILD wmdots-0.2_beta.ebuild 933 BLAKE2B fc9b12cd3d4fedfae8418b7e11c3e73d3b55cd9739de1814d5894e8572cebdee24e55b30f84aabf25c533796262ea2e2d5e97465e4b36f9958d319b6b8d6bbfc SHA512 ec5c90f87ffecafc15efa1863a6800a6f0e831b98ed9c767aff4ca18f36ca8f98087b062b3466bf8cb21e301c17ff36bdb917d8a6873da4b8c5c28e4f5cebe75
MISC metadata.xml 249 BLAKE2B ba223d81d4cf6b9ca1ba3a63e356bec0d9aa6f4cdf2ad3b29a6c97a6e5bad854154f8b9e6fc3d65d155c93daa706d03c84395b53951e3e326ffc19c8d0df0eb5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d
diff --git a/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild b/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild
new file mode 100644
index 000000000000..4f65793c9002
--- /dev/null
+++ b/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="multishape 3d rotating dots"
+HOMEPAGE="https://www.dockapps.net/wmdots"
+SRC_URI="https://www.dockapps.net/download/${P/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${P}-stringh.patch
+ sed -e "s:cc:$(tc-getCC):g" \
+ -e "s:-g -O2:${CFLAGS}:g" -i Makefile || die
+
+ #Fix compilation target
+ sed -e "s:wmifs:wmdots:" -i Makefile || die
+
+ #Honour Gentoo LDFLAGS, see bug #336982
+ sed -e "s:-o wmdots:\$(LDFLAGS) -o wmdots:" -i Makefile || die
+}
+
+src_compile() {
+ emake clean
+ emake LIBDIR="-L/usr/$(get_libdir)"
+}
+
+src_install() {
+ dobin wmdots
+}