app-misc/rioutil: bump to version 1.5.4
authorConrad Kostecki <conikost@gentoo.org>
Thu, 5 Dec 2019 21:42:21 +0000 (22:42 +0100)
committerConrad Kostecki <conikost@gentoo.org>
Thu, 5 Dec 2019 21:46:06 +0000 (22:46 +0100)
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>
app-misc/rioutil/Manifest
app-misc/rioutil/metadata.xml
app-misc/rioutil/rioutil-1.5.4.ebuild [new file with mode: 0644]

index aa123bae7316760f4e64a1678c7692bfa2830980..987ee7bd903f36f900e47ed3ed72202845cd7064 100644 (file)
@@ -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
index 531ee91f3d40ba693fe3d94327df2d3d3a20379d..ec956797492f8aa0bde857a960cf5d0c025dfa0c 100644 (file)
@@ -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 (file)
index 0000000..64e2133
--- /dev/null
@@ -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
+}