summaryrefslogtreecommitdiff
path: root/app-misc/mx5000tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
commit536c3711867ec947c1738f2c4b96f22e4863322d (patch)
tree697733f5cb713908dcf378e13fd15a798a906a91 /app-misc/mx5000tools
parentf65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff)
gentoo resync : 18.11.2018
Diffstat (limited to 'app-misc/mx5000tools')
-rw-r--r--app-misc/mx5000tools/Manifest4
-rw-r--r--app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch22
-rw-r--r--app-misc/mx5000tools/metadata.xml18
-rw-r--r--app-misc/mx5000tools/mx5000tools-0.1.2.ebuild38
4 files changed, 82 insertions, 0 deletions
diff --git a/app-misc/mx5000tools/Manifest b/app-misc/mx5000tools/Manifest
new file mode 100644
index 000000000000..53bbd1126458
--- /dev/null
+++ b/app-misc/mx5000tools/Manifest
@@ -0,0 +1,4 @@
+AUX mx5000tools-0.1.2-find-netpbm-header.patch 941 BLAKE2B af7f7ae5d27f403b2429a4c8298acaf7fcf3971382a8c8c630b6ec12462164e2b1433894de4aac4235ae96706c0b79b4b7fba49611f31ed8a83fc73f93946abb SHA512 c663b416fae74cb937db9dce28e4b3d23ab3fb78df154f226524adb4cd8af7f5db38602e029cd8ca4ab8d66d250bd88083a92c09136fed3501e1b4dfac75aebe
+DIST mx5000tools-0.1.2.tar.gz 343118 BLAKE2B 74316ca3c730b5e03aa73a8cf5422eb3690b0e088254f9078da549f2d964df065ca7cd09f5f822cb3e66ad5bac0eab546c49703eaf837a132a61ab0755e729b8 SHA512 3773b8b233f02711bb7a768a68ccd3bf72e3d51fbb64ee2a70197d1b51e884a4f40048ba6b7dcde4be0703f25672ccb0fac9b0d6612b8a94f9e01b6a9f463613
+EBUILD mx5000tools-0.1.2.ebuild 761 BLAKE2B e550e51f34f767ffde0aa0b8f2eb33f6cfbf8c64bf78202dc65c04be8590d9d5528f7c88fd0676ebd317c3c852166604ac8ff19316e938062bd630a3709ec6df SHA512 17c20d3d2ad526ca67dcbffc73687edc727cf6a5166317bc70317d5519d1f1f71c94fedb8b33babc724bb503d4b142e6f29e2cd641464bb558e63d96868885c1
+MISC metadata.xml 739 BLAKE2B f242204a9d3f27f2c68cc7771be37cb329cbf57725ddb0ae823191fb62ec23050dc530b20fb22115fd2582a919375404322a8b3192734975d6eb6b187a02c618 SHA512 19a17587727e544f9c3c7dcb5a58693aa294c6e86807a610d484fb568b0a83472abc155609e5fe66e33a07d165ebd1b5968cea18b474ad5a934e99cd7318743f
diff --git a/app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch b/app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch
new file mode 100644
index 000000000000..9fb03d5b6aa3
--- /dev/null
+++ b/app-misc/mx5000tools/files/mx5000tools-0.1.2-find-netpbm-header.patch
@@ -0,0 +1,22 @@
+--- a/configure.ac 2006-12-05 05:37:05.000000000 +0100
++++ b/configure.ac 2018-10-05 14:42:12.449181591 +0200
+@@ -13,7 +13,7 @@
+ AC_CHECK_HEADER([linux/hiddev.h], [], [AC_MSG_ERROR([You need kernel headers that supports hiddev\, that is Linux 2.4 or greater])], [#include <asm/types.h>])
+
+
+-AC_CHECK_HEADER([pbm.h], [], [AC_MSG_ERROR([You need pbm.h from the netpbm package\, possible the netpbm-devel package of your distribution])])
++AC_CHECK_HEADER([netpbm/pbm.h], [], [AC_MSG_ERROR([You need pbm.h from the netpbm package\, possible the netpbm-devel package of your distribution])])
+ AC_CHECK_LIB([netpbm],[pbm_readpbm], [], [AC_MSG_ERROR([You need netpbm installed])])
+
+
+--- a/libmx5000/mx5000image.c 2006-12-05 05:13:50.000000000 +0100
++++ b/libmx5000/mx5000image.c 2018-10-05 14:48:44.093392505 +0200
+@@ -3,7 +3,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+
+-#include <pbm.h>
++#include <netpbm/pbm.h>
+ #include "config.h"
+
+
diff --git a/app-misc/mx5000tools/metadata.xml b/app-misc/mx5000tools/metadata.xml
new file mode 100644
index 000000000000..eb2ca7b65228
--- /dev/null
+++ b/app-misc/mx5000tools/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ The Logitech Cordless Desktop MX 5000 Laser comes with a keyboard that has a nice LCD.
+ But Logitech did not provide any way to control the LCD on a Free operating system.
+ These tools make it possible to control what is displayed on the LCD and to use some
+ of the keys that are not recognized by the stock Linux HID driver.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/mx5000tools/mx5000tools-0.1.2.ebuild b/app-misc/mx5000tools/mx5000tools-0.1.2.ebuild
new file mode 100644
index 000000000000..097373603932
--- /dev/null
+++ b/app-misc/mx5000tools/mx5000tools-0.1.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Tools for controlling the LCD on a Logitech MX5000 keyboard"
+HOMEPAGE="https://web.archive.org/web/20160409073317/http://home.gna.org/mx5000tools/"
+SRC_URI="https://web.archive.org/web/20170225160711/http://download.gna.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+RDEPEND="media-libs/netpbm:="
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-find-netpbm-header.patch" )
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+src_configure() {
+ local myeconfargs=(
+ --disable-static
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+}