From 17a9f110326231f42385d1f70498b6d76da94b17 Mon Sep 17 00:00:00 2001 From: blshkv Date: Sun, 19 Jul 2020 08:43:02 +0800 Subject: [PATCH] usbmuxd: give up and fork it, can't wait Gentoo to fix forever --- app-pda/usbmuxd/Manifest | 1 + app-pda/usbmuxd/usbmuxd-1.1.1-r1.ebuild | 43 +++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 app-pda/usbmuxd/Manifest create mode 100644 app-pda/usbmuxd/usbmuxd-1.1.1-r1.ebuild diff --git a/app-pda/usbmuxd/Manifest b/app-pda/usbmuxd/Manifest new file mode 100644 index 000000000..36324db90 --- /dev/null +++ b/app-pda/usbmuxd/Manifest @@ -0,0 +1 @@ +DIST usbmuxd-1.1.1.tar.bz2 345290 BLAKE2B 580dd4e2fb05d6c4803d774f7d43c8399219d8f0ce4191428cb4fccffcc941894d0381d5f0746997570dd24e395af3dda340b1910827f9c5ace7e2d9cc176c6a SHA512 0e8829c93aac147a6b949fe95592d6ad9ea36e1c04676cb85accb4670a65b31065706fc438556def17b55850081d6c07deb325ca02b9853335b6e0b1049ba1da diff --git a/app-pda/usbmuxd/usbmuxd-1.1.1-r1.ebuild b/app-pda/usbmuxd/usbmuxd-1.1.1-r1.ebuild new file mode 100644 index 000000000..fda5d8b2d --- /dev/null +++ b/app-pda/usbmuxd/usbmuxd-1.1.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools systemd udev + +DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices" +HOMEPAGE="https://www.libimobiledevice.org/" +SRC_URI="https://github.com/libimobiledevice/${PN}/releases/download/${PV}/${P}.tar.bz2" + +# src/utils.h is LGPL-2.1+, rest is found in COPYING* +LICENSE="GPL-2 GPL-3 LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="systemd" + +DEPEND=" + acct-user/usbmux + >=app-pda/libimobiledevice-1.3.0:= + >=app-pda/libplist-2.2.0:= + virtual/libusb:1" + +RDEPEND=" + ${DEPEND} + virtual/udev +" + +BDEPEND=" + virtual/pkgconfig +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_with systemd) \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ + --with-udevrulesdir="$(get_udevdir)"/rules.d +}