summaryrefslogtreecommitdiff
path: root/x11-plugins/thinkhdaps
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-plugins/thinkhdaps
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/thinkhdaps')
-rw-r--r--x11-plugins/thinkhdaps/Manifest7
-rw-r--r--x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-desktop-qa.patch12
-rw-r--r--x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-python-shebang.patch11
-rw-r--r--x11-plugins/thinkhdaps/metadata.xml8
-rw-r--r--x11-plugins/thinkhdaps/thinkhdaps-0.2.1-r1.ebuild32
5 files changed, 70 insertions, 0 deletions
diff --git a/x11-plugins/thinkhdaps/Manifest b/x11-plugins/thinkhdaps/Manifest
new file mode 100644
index 000000000000..327754fc3af1
--- /dev/null
+++ b/x11-plugins/thinkhdaps/Manifest
@@ -0,0 +1,7 @@
+AUX thinkhdaps-0.2.1-fix-desktop-qa.patch 284 SHA256 fdde804c41349f7a853c12ffac08d13724940c42f6cdfd702ae4b228b70cbe8d SHA512 26b236e21849f5bfff2e1dd84e0ef6b90c3032da1d3b1cc7fea311f892e427520995df921d9a5d2e4d11ef4a03b9b670f64c4c43090a3751e9c11962f08ca1d7 WHIRLPOOL d651e90e433a26f8437db59d80bb1739fabee9a7c2633738b2bdad41e08f3561277f2858b665f450bb5819f9b1526a612471585bd60fd3d2096c8426dd57d36a
+AUX thinkhdaps-0.2.1-fix-python-shebang.patch 359 SHA256 14d2c17a0ea274e40ccc9ff01c58ad8f28ff2e794b0ce858281c449aa744719f SHA512 6205420fb910c9dfd769edfabb85ec26c4133edc7a8809a455ef2945a75fc543275cff732c46ca58f579bdfb12770c015e5cb59b2b2e54e437d38cb67c98ff42 WHIRLPOOL 3caa306df44c7522ca0528934a452bfe1ddc0f886b6ac8a916f2b2bb5f341584ece4e0f494e1faabd9be8e02f1bef34d894a2598ba33f7b245786335b92b1bb9
+DIST thinkhdaps-0.2.1.tar.gz 91489 SHA256 826fd9a1153adb49bc46a81ae60cc01cd77ba6ade7e135493908ca8185825d18 SHA512 207ee7c506a94fba3a7639c4eca6bf5b80a5fe67dac2e6e410fa70c8552eed29e478c52906a9049ce5a6fbe2c2b0680d06b32ecd4455073c360b5b41895e1b5f WHIRLPOOL ee9479035c34e11bc96de6dfcb7a2f9da05827b1e18889080ece48cf3e1193b3914deb5fd90f2b689ec5588cb16ddc2c6d1aec25e71f7d971b6ae3eecde96257
+EBUILD thinkhdaps-0.2.1-r1.ebuild 748 SHA256 2c8959180526bb4edb70a5e9d9ce2dd06311af56dd080db9db8fea8fa96f6056 SHA512 3900e5d99bb6a29472b6a71d193afd6a44124733644e8bdc5898d14c21d796128c45bbd1b91059cde793ccc375b2ee4000acbd58a70f19f4c63248e0e87647c1 WHIRLPOOL 044c0599e4a778f0b5e1907de61931b410772c28a5dcd8cb85a94daf685e976695143da6b52485ea4cfdf1cfd1022b7c8eadf050f554f46e9f997763432400f1
+MISC ChangeLog 2188 SHA256 244871fb3a085160ae3bb72dbdee24066361cf218407b2b70222ef2365447a00 SHA512 d82e80f07384eb0d2bfae31c0f4500ff072a6478d6eeaf7eb7625f23223074aa0019f6898d197e0b5f73efe8d0126406b32ac3004770cc009d5aeb3aae4fe81f WHIRLPOOL a2b32c619c35cdfaa569236a07d0c6c28455f92cdf4fbd84c25ab41eb884b0e4db767c10564595b46368f338758cc759ea8d0d4f8905f4ed59a65000fca2eb9c
+MISC ChangeLog-2015 607 SHA256 4e3d3d57c8cdd4d2ff816b9be04816990654e22760ec3fca6a3494775a054cd4 SHA512 84643467232d151e3f8752114404d80f9e4e9110f7ac2a3c694552362505f2ddd175417a29777424f7adc12b2f60aa1761ffd1d82b83dbd8042015fba09b75c3 WHIRLPOOL 4b30c336e455c9f00f1bc6c8ee702cc8d94be3e4212448e7263b86d8d6e83d07eb789a5af9c48bab71b685f97372791c1952d9fecebe8a25af6a29129205e7aa
+MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f
diff --git a/x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-desktop-qa.patch b/x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-desktop-qa.patch
new file mode 100644
index 000000000000..7bcfafe32234
--- /dev/null
+++ b/x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-desktop-qa.patch
@@ -0,0 +1,12 @@
+Fix .desktop file to adhere to modern FDO standards.
+
+--- a/thinkhdaps.desktop
++++ b/thinkhdaps.desktop
+@@ -2,6 +2,6 @@
+ Name=ThinkHDAPS
+ Comment=Monitor your HDAPS-enabled harddisk
+ Exec=thinkhdaps
+-Icon=thinkhdaps-logo.svg
++Icon=thinkhdaps-logo
+ Type=Application
+ Categories=System
diff --git a/x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-python-shebang.patch b/x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-python-shebang.patch
new file mode 100644
index 000000000000..314ef789c3b6
--- /dev/null
+++ b/x11-plugins/thinkhdaps/files/thinkhdaps-0.2.1-fix-python-shebang.patch
@@ -0,0 +1,11 @@
+Make shebangs Gentoo Prefix friendly
+See also: https://blogs.gentoo.org/mgorny/2016/02/08/a-quick-note-on-portable-shebangs/
+
+--- a/thinkhdaps.py
++++ b/thinkhdaps.py
+@@ -1,4 +1,4 @@
+-#!@PYTHON@
++#!/usr/bin/env python2
+ # Copyright (c) 2008-2009 Thomas Pani <thomas.pani@gmail.com>
+ # based on an awn applet Copyright (c) 2008 onox <denkpadje@gmail.com>
+ #
diff --git a/x11-plugins/thinkhdaps/metadata.xml b/x11-plugins/thinkhdaps/metadata.xml
new file mode 100644
index 000000000000..a535b8852829
--- /dev/null
+++ b/x11-plugins/thinkhdaps/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="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-plugins/thinkhdaps/thinkhdaps-0.2.1-r1.ebuild b/x11-plugins/thinkhdaps/thinkhdaps-0.2.1-r1.ebuild
new file mode 100644
index 000000000000..94b7c9ea504e
--- /dev/null
+++ b/x11-plugins/thinkhdaps/thinkhdaps-0.2.1-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="A PyGTK based HDAPS monitor"
+HOMEPAGE="http://thpani.at/projects/thinkhdaps/"
+SRC_URI="http://thpani.at/media/downloads/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/libgnome-python:2[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.1-fix-desktop-qa.patch
+ "${FILESDIR}"/${PN}-0.2.1-fix-python-shebang.patch
+)
+
+src_configure() {
+ econf --enable-desktop PYTHON="${EPYTHON}"
+}