diff options
Diffstat (limited to 'media-libs/vitamtp/vitamtp-9999.ebuild')
-rw-r--r-- | media-libs/vitamtp/vitamtp-9999.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/media-libs/vitamtp/vitamtp-9999.ebuild b/media-libs/vitamtp/vitamtp-9999.ebuild new file mode 100644 index 000000000000..03249b880bcf --- /dev/null +++ b/media-libs/vitamtp/vitamtp-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools git-r3 + +DESCRIPTION="Library to interact with PS Vita's USB MTP protocol" +HOMEPAGE="https://github.com/codestation/vitamtp" +LICENSE="GPL-3" +SLOT="0" +EGIT_REPO_URI="https://github.com/codestation/vitamtp" + +DEPEND=" + virtual/libusb:1 + dev-libs/libxml2:2 +" +RDEPEND="${DEPEND}" + +src_prepare() { + rm ChangeLog || die "Failed to rm changelog" # Triggers QA warn (symlink to nowhere) + + sed -r \ + -e 's@vitamtp@usb@' \ + -i debian/libvitamtp5.udev + # ^ ease console management for users + # (we don't really need extra group for this) + + default + eautoreconf +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die + insinto /lib/udev/rules.d + newins debian/libvitamtp5.udev 10-vitamtp.rules +} |