Сравнение usbmuxd-1.1.1 с usbmuxd-1.1.1-r1
/usr/portage/app-pda/usbmuxd/usbmuxd-1.1.1-r1.ebuild 2023-10-09 14:52:28.844368334 +0300 | ||
---|---|---|
1 | 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 autotools systemd udev |
|
6 |
inherit systemd udev |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices" |
9 | 9 |
HOMEPAGE="https://libimobiledevice.org/" |
10 | 10 |
SRC_URI="https://github.com/libimobiledevice/usbmuxd/releases/download/${PV}/${P}.tar.bz2" |
11 | 11 | |
12 | 12 |
# src/utils.h is LGPL-2.1+, rest is found in COPYING* |
13 |
LICENSE="GPL-2 GPL-3 LGPL-2.1+" |
|
13 |
LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1+" |
|
14 | 14 |
SLOT="0" |
15 |
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" |
|
15 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
|
16 | 16 |
IUSE="selinux systemd" |
17 | 17 | |
18 | 18 |
DEPEND=" |
19 | 19 |
acct-user/usbmux |
20 |
>=app-pda/libimobiledevice-1.0:= |
|
21 |
>=app-pda/libplist-2.0:= |
|
22 |
virtual/libusb:1" |
|
20 |
>=app-pda/libimobiledevice-1.3.0:= |
|
21 |
>=app-pda/libplist-2.2:= |
|
22 |
virtual/libusb:1= |
|
23 |
" |
|
23 | 24 | |
24 | 25 |
RDEPEND=" |
25 | 26 |
${DEPEND} |
26 | 27 |
virtual/udev |
27 | 28 |
selinux? ( sec-policy/selinux-usbmuxd ) |
29 |
systemd? ( sys-apps/systemd ) |
|
28 | 30 |
" |
29 | 31 | |
30 | 32 |
BDEPEND=" |
31 | 33 |
virtual/pkgconfig |
32 | 34 |
" |
33 | 35 | |
34 |
src_prepare() { |
|
35 |
default |
|
36 |
eautoreconf |
|
37 |
} |
|
38 | ||
39 | 36 |
src_configure() { |
40 | 37 |
econf \ |
41 |
$(use_with systemd) \ |
|
38 |
"$(use_with systemd)" \ |
|
42 | 39 |
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
43 | 40 |
--with-udevrulesdir="$(get_udevdir)"/rules.d |
44 | 41 |
} |
42 | ||
43 |
pkg_postrm() { |
|
44 |
udev_reload |
|
45 |
} |
|
46 | ||
47 |
pkg_postinst() { |
|
48 |
udev_reload |
|
49 |
} |