summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Misbakh-Soloviov <mva@gentoo.org>2019-10-26 00:39:50 +0700
committerVadim Misbakh-Soloviov <mva@gentoo.org>2019-10-26 00:39:50 +0700
commitfd73ce01ec08d96827720b9b12a35ec986ab5783 (patch)
treed1804673cc748828a26920f19f3da881b411f9f1 /media-libs/vitamtp
parentnet-fs/minio: Drop myself (diff)
downloadgentoo-fd73ce01ec08d96827720b9b12a35ec986ab5783.tar.gz
gentoo-fd73ce01ec08d96827720b9b12a35ec986ab5783.tar.bz2
gentoo-fd73ce01ec08d96827720b9b12a35ec986ab5783.zip
media-libs/vitamtp: new package
Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
Diffstat (limited to 'media-libs/vitamtp')
-rw-r--r--media-libs/vitamtp/Manifest1
-rw-r--r--media-libs/vitamtp/metadata.xml14
-rw-r--r--media-libs/vitamtp/vitamtp-2.5.9_pre20160829.ebuild42
-rw-r--r--media-libs/vitamtp/vitamtp-9999.ebuild38
4 files changed, 95 insertions, 0 deletions
diff --git a/media-libs/vitamtp/Manifest b/media-libs/vitamtp/Manifest
new file mode 100644
index 000000000000..52fff3cb6f53
--- /dev/null
+++ b/media-libs/vitamtp/Manifest
@@ -0,0 +1 @@
+DIST vitamtp-2.5.9_pre20160829.tar.gz 201289 BLAKE2B 1ef7d55afd32ac27cc7f4ce233644ab54d760c906e4073a77b3e0b0d2d5c90289d5bba22d54448effe675e28275068f9c20cd15c7b6223e6d6f42950dd5c6da8 SHA512 fae1c509d30610191e20ed12426118599feb95b7a3aa0e31b43f6c0ac72a3dc9d72407ccb4f14818574c313548f521c35ad0a3264b861b745ec991b5cfda4c97
diff --git a/media-libs/vitamtp/metadata.xml b/media-libs/vitamtp/metadata.xml
new file mode 100644
index 000000000000..d0e6873b4866
--- /dev/null
+++ b/media-libs/vitamtp/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mva@gentoo.org</email>
+ <name>Vadim Misbakh-Soloviov</name>
+ </maintainer>
+ <longdescription lang="en">
+ Library to interact with PS Vita's USB MTP protocol.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">codestation/vitamtp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/vitamtp/vitamtp-2.5.9_pre20160829.ebuild b/media-libs/vitamtp/vitamtp-2.5.9_pre20160829.ebuild
new file mode 100644
index 000000000000..daed23602791
--- /dev/null
+++ b/media-libs/vitamtp/vitamtp-2.5.9_pre20160829.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools vcs-snapshot
+
+GIT_COMMIT="7ab537a4f45e34984cbeb9cf1b1af543a75a3dc0"
+
+DESCRIPTION="Library to interact with PS Vita's USB MTP protocol"
+HOMEPAGE="https://github.com/codestation/vitamtp"
+SRC_URI="https://github.com/codestation/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+DEPEND="
+ virtual/libusb:1
+ dev-libs/libxml2
+"
+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
+}
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
+}