summaryrefslogtreecommitdiff
path: root/x11-misc/xbatt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xbatt
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xbatt')
-rw-r--r--x11-misc/xbatt/Manifest8
-rw-r--r--x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch14
-rw-r--r--x11-misc/xbatt/metadata.xml8
-rw-r--r--x11-misc/xbatt/xbatt-1.2.1-r1.ebuild41
-rw-r--r--x11-misc/xbatt/xbatt-1.3_rc1.ebuild44
5 files changed, 115 insertions, 0 deletions
diff --git a/x11-misc/xbatt/Manifest b/x11-misc/xbatt/Manifest
new file mode 100644
index 000000000000..2ea530b1c059
--- /dev/null
+++ b/x11-misc/xbatt/Manifest
@@ -0,0 +1,8 @@
+AUX xbatt-1.2.1-implicits.patch 297 SHA256 b41d6c234d471c07faf3bc41afe0fbca22051e865061eb49b08e6b317285aefe SHA512 a05010e7e51d2d9ca3d25344c3ed8b3d6c1761660140b7759827e30043ec0af75a444330eeee264df79fa89874886e120469d2f47ef2672471dbc6aed2e0cda4 WHIRLPOOL 666ed73b09ac7f22f709997e3760298d04fc875ccc711ce3bf070aea4e3d80da5b3c5d598a6094ec433a421f98f33df7228996423fb6d7780b28566f8023e593
+DIST xbatt-1.2.1.tar.gz 12779 SHA256 6c184c23e2be2b4934ccfcae39b158d5bab81e9f602a412bdbce57b436fd3b66 SHA512 db96f89e3abecd23532305069806ac094d5a31797f6f730d0f0d5345ac3f339286a5e3bcfc73d42a44a666bcbc768c955b9c3d8ca2fd28bd8239dfa109fe7020 WHIRLPOOL ba4268f33202b576b39837894c71172660d4103f07e11081d3e215828f87738067ac1798c50469342d29baa7d6523e7ff30aba91b5f7a57ebac5c48cce3b2506
+DIST xbatt-1.3pr1.tar.gz 14412 SHA256 aa41269247dd818ce1f92a16af3ea286ac34b395cb39daa1196fca5adfb5ed4b SHA512 f6022a2d464e22a31c8246f20c4dcab2be381ec63a02fb9ac1d3e28dc9bdf26a949735b2eba800941f5dfde371913ea7a560413191197c44a0c156a58a60d41d WHIRLPOOL abf6148df8ae8be6ea328f41b801c28e675959b6b0ec9a4b684fa7ce6c1b3b757209176203ac0bb318eff0dfc246b939853227fb02862684f983b60e8aa7652b
+EBUILD xbatt-1.2.1-r1.ebuild 813 SHA256 52146b6c5b663466be6bc6bf528fa45539e0a42f87a3811dbe0a35f4f3c0156b SHA512 8e624ad0a2c1ab2d04b04aea873e43e0de259d4ed78c7b70cc85a10f2378e2c98c7a38437709a102f087f410dbd814efdd10bf72635e93a3ddee6abe9ae014f5 WHIRLPOOL 03b28db85afb72b0ab2956c8c2d507c66a4c67cad36cfd680c87eab2db550203ca704ace08280b7f9774bb512fb3a5a6b66b333615ea179faba0049e047a023e
+EBUILD xbatt-1.3_rc1.ebuild 920 SHA256 a44d4f56edfbe68323b3b657ec55529eeb13fe2545616298a51e1b5140f58d3a SHA512 2fe26d597ee3bd90ee45b000eb487182f662b925dc106a868292ef5ee33bdf9ecbbbda9cf25554d283dc95547ab46b5daa06b198bce7c884164802ae54ddda60 WHIRLPOOL 2aa47869489ab43bc6672c9edb913d19fe3356fed016cf56199f072d6d1e34e53c1e2f5d11bd864c27b38fda838d24f92005590d6161b057b35a1ce97ba90c4f
+MISC ChangeLog 2517 SHA256 27b021e55e2801d2ef482b7472a51f9b3e11b8a6371836a3a773a802028f5c77 SHA512 d70ffbe904528fe042ce5e0834e5f1bab4b99f9031d4dc90f4b9dcf624974879282de7b96f8079654c41696f6ea8460caa3f27471ccd57742451a588ed2c29f4 WHIRLPOOL c1cf9fdcaf1ec88edc3706a2bc486451143d4f7259d9669890b644d12942c95b46dbcfb2bd3a7f5974d6a247cb8a26f4b56c3642e6a2ce45e54199346a9e2b9d
+MISC ChangeLog-2015 2467 SHA256 348ec8b5a725600d00d8853a10cf16c702eb6cbe1fc740afec8e10e9f9f2e4e7 SHA512 4f6b96f805f507d5f42bb71b29c491876de77000a40d492ae0748eeada00638e95073ed4ac354a87991aab30cd15bbcd42d029a482e78384d4df4080cf030617 WHIRLPOOL 01e62139e8ce94bb02a365772de96a788b5ca163f0497979544237985ed430dcc78bab600c8bde365367ea497dfb9aeacda61434275607588dc9f9cd1ca4c148
+MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895
diff --git a/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch b/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch
new file mode 100644
index 000000000000..d86e42ef3fc8
--- /dev/null
+++ b/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch
@@ -0,0 +1,14 @@
+Fix implicit functions declarations
+
+--- xbatt.c
++++ xbatt.c
+@@ -47,6 +47,9 @@
+ #include <time.h>
+ #include <sys/file.h>
+ #include <sys/ioctl.h>
++#include <unistd.h>
++#include <stdlib.h>
++#include <X11/IntrinsicP.h>
+ #include <X11/StringDefs.h>
+ #include <X11/Intrinsic.h>
+ #include <X11/Shell.h>
diff --git a/x11-misc/xbatt/metadata.xml b/x11-misc/xbatt/metadata.xml
new file mode 100644
index 000000000000..66187a0f4213
--- /dev/null
+++ b/x11-misc/xbatt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/xbatt/xbatt-1.2.1-r1.ebuild b/x11-misc/xbatt/xbatt-1.2.1-r1.ebuild
new file mode 100644
index 000000000000..2030809b7733
--- /dev/null
+++ b/x11-misc/xbatt/xbatt-1.2.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Notebook battery indicator for X"
+HOMEPAGE="http://www.clave.gr.jp/~eto/xbatt/"
+SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${P}.tar.gz"
+
+LICENSE="xbatt"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXaw
+ x11-libs/libXext
+ x11-libs/libxkbfile
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-misc/imake"
+
+src_prepare(){
+ epatch "${FILESDIR}"/${P}-implicits.patch
+}
+
+src_compile() {
+ xmkmf || die
+ emake xbatt CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README* || die
+}
diff --git a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild
new file mode 100644
index 000000000000..a3d3a1f562f4
--- /dev/null
+++ b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+inherit versionator eutils toolchain-funcs
+
+MY_PV=${PV/_rc/pr}
+DESCRIPTION="Notebook battery indicator for X"
+HOMEPAGE="http://www.clave.gr.jp/~eto/xbatt/"
+SRC_URI="http://www.clave.gr.jp/~eto/xbatt/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="xbatt"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXaw
+ x11-libs/libXext
+ x11-libs/libxkbfile
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-misc/imake"
+
+S="${WORKDIR}"/${PN}-$(get_version_component_range 1-2)
+
+src_prepare(){
+ epatch "${FILESDIR}"/${PN}-1.2.1-implicits.patch
+}
+
+src_compile() {
+ xmkmf || die
+ emake xbatt CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README* || die
+}