Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/mx5000tools/
Date: Sat, 25 May 2019 20:59:26
Message-Id: 1558817682.216d53788f12a6852dedf39929e0c56e8c8f63b4.asturm@gentoo
1 commit: 216d53788f12a6852dedf39929e0c56e8c8f63b4
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Sat May 25 20:25:41 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat May 25 20:54:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216d5378
7
8 app-misc/mx5000tools: add missing dependencies
9
10 I've forgotten to add two dependencies, so it could fail on some
11 systems. There are dev-libs/glib and virtual/pkgconfig.
12
13 Closes: https://bugs.gentoo.org/685054
14 Package-Manager: Portage-2.3.66, Repoman-2.3.12
15 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
16 Closes: https://github.com/gentoo/gentoo/pull/11900
17 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
18
19 app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild | 42 ++++++++++++++++++++++++
20 1 file changed, 42 insertions(+)
21
22 diff --git a/app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild b/app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild
23 new file mode 100644
24 index 00000000000..75f0d1a2f73
25 --- /dev/null
26 +++ b/app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild
27 @@ -0,0 +1,42 @@
28 +# Copyright 1999-2019 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=7
32 +
33 +inherit autotools
34 +
35 +DESCRIPTION="Tools for controlling the LCD on a Logitech MX5000 keyboard"
36 +HOMEPAGE="https://web.archive.org/web/20160409073317/http://home.gna.org/mx5000tools/"
37 +SRC_URI="https://web.archive.org/web/20170225160711/http://download.gna.org/${PN}/${P}.tar.gz"
38 +
39 +LICENSE="GPL-2+"
40 +SLOT="0"
41 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
42 +
43 +RDEPEND="
44 + dev-libs/glib:2
45 + media-libs/netpbm:=
46 +"
47 +DEPEND="${RDEPEND}"
48 +BDEPEND="virtual/pkgconfig"
49 +
50 +PATCHES=( "${FILESDIR}/${P}-find-netpbm-header.patch" )
51 +
52 +src_prepare() {
53 + default
54 +
55 + eautoreconf
56 +}
57 +src_configure() {
58 + local myeconfargs=(
59 + --disable-static
60 + )
61 +
62 + econf "${myeconfargs[@]}"
63 +}
64 +
65 +src_install() {
66 + default
67 +
68 + find "${D}" -name '*.la' -delete || die
69 +}