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/libusb-compat/
Date: Thu, 13 May 2021 10:59:51 +0000 (UTC)	[thread overview]
Message-ID: <1620903564.f00da2074632ce8b74ec6f5fd4ee935dbf6f6715.soap@gentoo> (raw)

commit:     f00da2074632ce8b74ec6f5fd4ee935dbf6f6715
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu May 13 10:59:24 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu May 13 10:59:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00da207

dev-libs/libusb-compat: Port to EAPI 7

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

 .../libusb-compat/libusb-compat-0.1.5-r3.ebuild    | 31 ++++++++++------------
 1 file changed, 14 insertions(+), 17 deletions(-)

diff --git a/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild b/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild
index d2650c1bb74..caafc1eefa1 100644
--- a/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild
+++ b/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit multilib-minimal usr-ldscript
+inherit usr-ldscript multilib-minimal
 
 DESCRIPTION="Userspace access to USB devices (libusb-0.1 compat wrapper)"
 HOMEPAGE="http://libusb.sourceforge.net/"
@@ -12,27 +12,23 @@ SRC_URI="mirror://sourceforge/${PN/-compat}/${P}.tar.bz2"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="debug examples static-libs"
+IUSE="debug examples"
 
-RDEPEND=">=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}]
+RDEPEND="
+	>=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}]
 	!dev-libs/libusb:0"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
-DOCS="AUTHORS ChangeLog NEWS README"
-
-PATCHES=(
-	"${FILESDIR}"/${PN/-compat}-0.1-ansi.patch
-)
+PATCHES=( "${FILESDIR}"/${PN/-compat}-0.1-ansi.patch )
 
 MULTILIB_CHOST_TOOLS=(
 	/usr/bin/libusb-config
 )
 
 multilib_src_configure() {
-	ECONF_SOURCE="${S}" \
-	econf \
-		$(use_enable static-libs static) \
+	ECONF_SOURCE="${S}" econf \
+		--disable-static \
 		$(use_enable debug debug-log)
 }
 
@@ -43,11 +39,12 @@ multilib_src_install() {
 }
 
 multilib_src_install_all() {
-	find "${ED}" -name '*.la' -delete || die
 	einstalldocs
 
 	if use examples; then
-		insinto /usr/share/doc/${PF}/examples
-		doins examples/*.c
+		docinto examples
+		dodoc examples/*.c
 	fi
+
+	find "${ED}" -name '*.la' -delete || die
 }


             reply	other threads:[~2021-05-13 10:59 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 10:59 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-04 18:25 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libusb-compat/ Arthur Zamarin
2023-03-04 11:16 Arthur Zamarin
2023-03-04 11:03 Arthur Zamarin
2023-03-04  9:28 Arthur Zamarin
2023-03-04  8:07 Arthur Zamarin
2023-03-04  6:09 Arthur Zamarin
2023-03-04  5:36 Arthur Zamarin
2022-11-30  4:14 Sam James
2022-11-12  4:20 Sam James
2022-11-12  3:14 Matt Turner
2021-08-10 18:06 Marek Szuba
2021-05-13 10:59 David Seifert
2021-05-11 15:45 Sergei Trofimovich
2021-05-09 21:44 Sam James
2021-05-09 21:42 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2020-03-23  1:36 Jonas Stein

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=1620903564.f00da2074632ce8b74ec6f5fd4ee935dbf6f6715.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