public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hidapi/
Date: Sat, 23 Jan 2021 23:38:04 +0000 (UTC)	[thread overview]
Message-ID: <1611445068.5cc501e6d416e4d7cca4322118a3ea2623b517bd.soap@gentoo> (raw)

commit:     5cc501e6d416e4d7cca4322118a3ea2623b517bd
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 23 23:37:48 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 23:37:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc501e6

dev-libs/hidapi: Port to EAPI 7

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../hidapi/hidapi-0.8.0_rc1_p20140719-r1.ebuild    | 70 ++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719-r1.ebuild b/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719-r1.ebuild
new file mode 100644
index 00000000000..869fc66c099
--- /dev/null
+++ b/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+# If github is desired, the following may be used.
+#EGIT_REPO_URI="https://github.com/signal11/hidapi.git"
+#EGIT_BRANCH="master"
+EGIT_COMMIT="d17db57b9d4354752e0af42f5f33007a42ef2906"
+
+DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices"
+HOMEPAGE="http://www.signal11.us/oss/hidapi/"
+SRC_URI="https://github.com/signal11/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tgz"
+# When 0.8.0 is officially available the following link should be used.
+#SRC_URI="https://github.com/downloads/signal11/${PN}/${P}.zip"
+
+LICENSE="|| ( BSD GPL-3 HIDAPI )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="doc fox"
+
+RDEPEND="
+	virtual/libusb:1[${MULTILIB_USEDEP}]
+	virtual/libudev:0[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+	fox? ( x11-libs/fox )"
+BDEPEND="
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+
+PATCHES=( "${FILESDIR}"/${P}-autoconf-2.70.patch )
+
+src_prepare() {
+	default
+
+	if ! use fox; then
+		sed -i -e 's:PKG_CHECK_MODULES(\[fox\], .*):AC_SUBST(fox_CFLAGS,[ ])AC_SUBST(fox_LIBS,[ ]):' configure.ac || die
+	fi
+
+	# Fix bashisms in the configure.ac file.
+	sed -i -e 's:\([A-Z_]\+\)+="\(.*\)":\1="${\1}\2":g' \
+		-e 's:\([A-Z_]\+\)+=`\(.*\)`:\1="${\1}\2":g' configure.ac || die
+
+	# Portage handles license texts itself, no need to install them
+	sed -i -e 's/LICENSE.*/ # blank/' Makefile.am || die
+
+	eautoreconf
+}
+
+multilib_src_configure() {
+	ECONF_SOURCE="${S}" econf \
+		--disable-static \
+		$(multilib_native_use_enable fox testgui)
+}
+
+multilib_src_install_all() {
+	if use doc; then
+		doxygen doxygen/Doxyfile || die
+		HTML_DOCS=( html/. )
+	fi
+
+	einstalldocs
+
+	# no static archives
+	find "${ED}" -name '*.la' -delete || die
+}


             reply	other threads:[~2021-01-23 23:38 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-23 23:38 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23 18:02 [gentoo-commits] repo/gentoo:master commit in: dev-libs/hidapi/ Arthur Zamarin
2024-11-23 12:24 Arthur Zamarin
2024-11-23 10:32 Sam James
2024-08-25 15:24 Andreas K. Hüttel
2024-02-17 21:17 Sam James
2024-01-27 20:06 Ionen Wolkens
2023-12-25  8:19 Sam James
2023-12-25  7:30 Sam James
2023-10-10  7:07 Sam James
2023-10-10  7:07 Sam James
2023-09-18  9:50 Sam James
2023-06-30 21:14 Sam James
2023-06-30 21:14 Sam James
2023-06-30 21:14 Sam James
2023-06-30 19:30 Sam James
2023-06-30 19:19 Sam James
2023-01-19 18:53 Stephan Hartmann
2023-01-19 18:49 Stephan Hartmann
2022-11-29 18:06 WANG Xuerui
2022-08-28 10:25 Stephan Hartmann
2022-08-28 10:25 Stephan Hartmann
2022-08-27 17:07 Sam James
2022-08-25  4:02 Arthur Zamarin
2022-08-25  4:02 Arthur Zamarin
2022-08-25  3:33 Sam James
2022-06-07  7:59 Joonas Niilola
2022-06-07  6:34 Joonas Niilola
2021-11-10  9:11 Joonas Niilola
2021-11-10  9:11 Joonas Niilola
2021-08-18  0:35 Yixun Lan
2021-02-24 22:40 Andreas Sturmlechner
2021-02-19 17:55 Thomas Deutschmann
2021-02-01 15:07 Agostino Sarubbo
2019-12-27 14:22 Anthony G. Basile
2019-09-15 17:17 Michał Górny
2019-02-26 20:54 Andreas Sturmlechner
2015-09-27 11:27 Manuel Rüger
2015-09-25 14:43 Agostino Sarubbo
2015-09-24 13:42 Agostino Sarubbo
2015-08-26  0:04 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1611445068.5cc501e6d416e4d7cca4322118a3ea2623b517bd.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox