Diff libusb-compat-0.1.5-r3 with a libusb-compat-0.1.8
/usr/portage/dev-libs/libusb-compat/libusb-compat-0.1.8.ebuild 2023-10-09 14:52:29.532368351 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
inherit usr-ldscript multilib-minimal |
|
6 |
inherit autotools usr-ldscript multilib-minimal |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Userspace access to USB devices (libusb-0.1 compat wrapper)" |
9 |
HOMEPAGE="http://libusb.sourceforge.net/" |
|
10 |
SRC_URI="mirror://sourceforge/${PN/-compat}/${P}.tar.bz2" |
|
9 |
HOMEPAGE="https://libusb.info" |
|
10 |
SRC_URI="https://github.com/libusb/libusb-compat-0.1/releases/download/v${PV}/${P}.tar.bz2" |
|
11 | 11 | |
12 | 12 |
LICENSE="LGPL-2.1" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
|
14 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
|
15 | 15 |
IUSE="debug examples" |
16 | 16 | |
17 | 17 |
RDEPEND=" |
18 | 18 |
>=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}] |
19 |
!dev-libs/libusb:0" |
|
19 |
!dev-libs/libusb:0 |
|
20 |
" |
|
20 | 21 |
DEPEND="${RDEPEND}" |
21 | 22 |
BDEPEND="virtual/pkgconfig" |
22 | 23 | |
23 |
PATCHES=( "${FILESDIR}"/${PN/-compat}-0.1-ansi.patch ) |
|
24 | ||
25 | 24 |
MULTILIB_CHOST_TOOLS=( |
26 | 25 |
/usr/bin/libusb-config |
27 | 26 |
) |
28 | 27 | |
28 |
src_prepare() { |
|
29 |
default |
|
30 | ||
31 |
eautoreconf |
|
32 |
} |
|
33 | ||
29 | 34 |
multilib_src_configure() { |
30 |
ECONF_SOURCE="${S}" econf \ |
|
31 |
--disable-static \ |
|
35 |
local myconf=( |
|
32 | 36 |
$(use_enable debug debug-log) |
37 |
) |
|
38 | ||
39 |
ECONF_SOURCE="${S}" econf "${myconf[@]}" |
|
33 | 40 |
} |
34 | 41 | |
35 | 42 |
multilib_src_install() { |