summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2019-12-05 22:42:21 +0100
committerConrad Kostecki <conikost@gentoo.org>2019-12-05 22:46:06 +0100
commitbed4b64abf830fdba7691cc1b723ba1759684dd6 (patch)
tree3af5e5f1a80568c525ec125ba68dfed13086b61e /app-misc/rioutil
parentsys-fs/cryptmount: bump to version 5.3.2 (diff)
downloadgentoo-bed4b64abf830fdba7691cc1b723ba1759684dd6.tar.gz
gentoo-bed4b64abf830fdba7691cc1b723ba1759684dd6.tar.bz2
gentoo-bed4b64abf830fdba7691cc1b723ba1759684dd6.zip
app-misc/rioutil: bump to version 1.5.4
Also bumped to EAPI=7 and taking ownership. Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc/rioutil')
-rw-r--r--app-misc/rioutil/Manifest1
-rw-r--r--app-misc/rioutil/metadata.xml28
-rw-r--r--app-misc/rioutil/rioutil-1.5.4.ebuild45
3 files changed, 72 insertions, 2 deletions
diff --git a/app-misc/rioutil/Manifest b/app-misc/rioutil/Manifest
index aa123bae7316..987ee7bd903f 100644
--- a/app-misc/rioutil/Manifest
+++ b/app-misc/rioutil/Manifest
@@ -1 +1,2 @@
DIST rioutil-1.5.0.tar.gz 401244 BLAKE2B c7f317b0e995cbe61122891681d9756b06aacd624cbdcc75fc2111d19b0493645558e31090660bc4a4ad2ebc3b284bbff637984389c3a18bcd838e763aa4a2a8 SHA512 3e3bf1c053e2f0146c504c5015e33cd3281daad136f41d82100d6181b6720c7f1131615c663f821573d7aeb077efc1b59e8e23a8f15a851e332ad61ea0479f1d
+DIST rioutil-1.5.4.tar.gz 84592 BLAKE2B 8efb92c3f178960d425c0b4733d061f2aa72767513621e379ecdc6d69509fcd91e38a9becd857e695f534f40ac7eaa3871c582df843f3b7b47298d48c0c18803 SHA512 b64027089a7c0a3b712486e3b2549dae5a8ceff9687a183fd411f6b9d197a97ea22bd7294242b3f9e8522da9ebe7e87dc5bc980633632ce3d4884341ee085a62
diff --git a/app-misc/rioutil/metadata.xml b/app-misc/rioutil/metadata.xml
index 531ee91f3d40..ec956797492f 100644
--- a/app-misc/rioutil/metadata.xml
+++ b/app-misc/rioutil/metadata.xml
@@ -1,8 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <longdescription>
+ A utility for accessing various RIO media players.
+
+ Following players are supported:
+ - Rio 600 (all sizes)
+ - Rio 800 (all sizes)
+ - Rio 900 (all sizes)
+ - Nike psa [Play (Diamond MM version)]
+ - Rio S-Series
+ - Rio Fuse/Chiba/Cali
+ - Rio Nitrus (Should mostly work)
+ - Rio Riot (No download support)
+ - Future flash players (Experimental)
+
+ Following players are unsupported:
+ - Rio 500
+ - Rio One
+ - Rio Karma
+ - Phillips PSA
+ </longdescription>
<upstream>
- <remote-id type="sourceforge">rioutil</remote-id>
+ <bugs-to>https://github.com/hjelmn/rioutil/issues</bugs-to>
+ <remote-id type="sourceforge">hjelmn/rioutil</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-misc/rioutil/rioutil-1.5.4.ebuild b/app-misc/rioutil/rioutil-1.5.4.ebuild
new file mode 100644
index 000000000000..64e2133d8c10
--- /dev/null
+++ b/app-misc/rioutil/rioutil-1.5.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools udev
+
+DESCRIPTION="A utility for accessing various Rio media players"
+HOMEPAGE="https://github.com/hjelmn/rioutil"
+SRC_URI="https://github.com/hjelmn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="virtual/libusb:1"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ emake DESTDIR="${ED}" libdir="/usr/$(get_libdir)" install
+ einstalldocs
+
+ udev_dorules "${FILESDIR}"/75-rio.rules
+
+ find "${D}" -name '*.la' -type f -delete || die
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}