commit: 216d53788f12a6852dedf39929e0c56e8c8f63b4 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> AuthorDate: Sat May 25 20:25:41 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat May 25 20:54:42 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216d5378
app-misc/mx5000tools: add missing dependencies I've forgotten to add two dependencies, so it could fail on some systems. There are dev-libs/glib and virtual/pkgconfig. Closes: https://bugs.gentoo.org/685054 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/11900 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild b/app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild new file mode 100644 index 00000000000..75f0d1a2f73 --- /dev/null +++ b/app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 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=" + dev-libs/glib:2 + media-libs/netpbm:= +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +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 +}