summaryrefslogtreecommitdiff
path: root/x11-plugins/wmacpi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-21 19:12:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-21 19:12:17 +0100
commit580d27c925587ae7c65ac3d2706b1c8ce42b0463 (patch)
treebe152335ae762fc8404bd696b02425db417ae5c9 /x11-plugins/wmacpi
parent47af801ff0ee4a4207b36e6917b1e496354940c0 (diff)
gentoo resync : 21.07.2018
Diffstat (limited to 'x11-plugins/wmacpi')
-rw-r--r--x11-plugins/wmacpi/Manifest3
-rw-r--r--x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch4
-rw-r--r--x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild29
3 files changed, 33 insertions, 3 deletions
diff --git a/x11-plugins/wmacpi/Manifest b/x11-plugins/wmacpi/Manifest
index dd941e08e184..cc76e89d12b7 100644
--- a/x11-plugins/wmacpi/Manifest
+++ b/x11-plugins/wmacpi/Manifest
@@ -1,4 +1,5 @@
-AUX wmacpi-2.3-makefile.patch 1104 BLAKE2B 5ca28a6b83c68bb04975399f1573074c56357fb9f053e960070b0827f6025933b9ae60e9c0f737a1d5bcc6a19f198a9b082e2dd9941bd1c0b2bcd2d0272914a7 SHA512 f35c8675352004f49d495f3ff26a1bd2b3f250968760fb46131fe1d7470691d4cec07fc0c1b7c6febfe59b846ecbcf101dca25a757c16671d2a7a49eb84c47d5
+AUX wmacpi-2.3-makefile.patch 1103 BLAKE2B 8f0d0f15d322d0b318e9d5e94f120bf0eab00fc9559de72f5449abe4b0f78315cbb513ce7d8d84100257e21205d47136d2e9308c1f266d2ed26fe956eca17f14 SHA512 0c7e46514604b5f9e36e0ffbfda7a3a5d86d7932bd31cf88286e937db61fc516b5f5c0fac0edb96d6e1f657cb12d694b4b1505f7fd1e901872fc80e6aae50ab7
DIST wmacpi-2.3.tar.gz 39374 BLAKE2B bcf55a801fbc7b7c4484cc8987366786e1a1dbaf4d9ff6800975de14bd295ced774eaeedfe0c9da524b774de7633d5d250e7be55742fca7893f7314b8b4fe6fc SHA512 47c260989cd3fdb8d7ceadba19224e6350056741b03c6f1b73a38b06d7e471a08972dfbcaeacdcbc460bc19b0f952641eda75e11468b4d7155eecd07e1e14cd9
+EBUILD wmacpi-2.3-r1.ebuild 617 BLAKE2B 5a198f7934a87445ce6dc25cc347f5e42180c208f32689927c13b62caad875fc756939ba93efe24a63ead4d39add44e50df8016bb6a0e5df9d2c0db55eb80219 SHA512 4a4f0e56462171d828563edcc58fb91eed69188dbb3bf932654ecf93012930356a6bca973f3255c3a596d124eba214ff6d108bcfddaf5b6524e37d808164b440
EBUILD wmacpi-2.3.ebuild 707 BLAKE2B 799d59451c5f676062f078bb52a9942ec874a835d18b0005d61608a9f10a77508b8349b1d33cb58e55b88b81b8888eb0770afc0cc1c535546e6036a58204a74f SHA512 e4448e910be662d38feafc95aaad209282cdb3c7201590cbb440424845af0247803a3186fc5bf542174f675a7a7197a379867f15d5de73ff6a6731a758307024
MISC metadata.xml 334 BLAKE2B f36478f76f93ad154022208ad0f1417400de70c9091166fb46e60a05c1f920f20e736f45628f7681c3f1e607d077c0a93689529fde8866c15b2dda7d07838e18 SHA512 708cecfa079327ebfa542b48b792e049348df0664e197c68cc148931820882aaa423ddcb996b47db98a05a87d1b65824ae7fb60492f77936592e3817c0af71b9
diff --git a/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch b/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch
index d1ec49689060..2bf80a3190db 100644
--- a/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch
+++ b/x11-plugins/wmacpi/files/wmacpi-2.3-makefile.patch
@@ -1,5 +1,5 @@
---- Makefile.orig 2015-01-12 11:27:07.396319323 +0100
-+++ Makefile 2015-01-12 11:29:21.531298827 +0100
+--- a/Makefile 2015-01-12 11:27:07.396319323 +0100
++++ b/Makefile 2015-01-12 11:29:21.531298827 +0100
@@ -13,8 +13,8 @@
#OPT = -pg -g
diff --git a/x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild b/x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild
new file mode 100644
index 000000000000..fbc57d048942
--- /dev/null
+++ b/x11-plugins/wmacpi/wmacpi-2.3-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="DockApp ACPI status monitor for laptops"
+HOMEPAGE="https://www.dockapps.net/wmacpi"
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 -ppc -sparc ~x86"
+
+DEPEND=">=x11-libs/libdockapp-0.7:=
+ x11-libs/libX11"
+
+S=${WORKDIR}/dockapps
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${P}-makefile.patch
+
+ sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}