diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-02-12 20:13:54 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-02-12 20:13:54 +0000 |
commit | fc4afd34cd34aade8c4db54d3852f95226163b98 (patch) | |
tree | 310acd2256f2e71ee69ce85dee62b0f8f7cdbcb9 /media-sound/usbmidi | |
parent | Remove old versions (diff) | |
download | gentoo-2-fc4afd34cd34aade8c4db54d3852f95226163b98.tar.gz gentoo-2-fc4afd34cd34aade8c4db54d3852f95226163b98.tar.bz2 gentoo-2-fc4afd34cd34aade8c4db54d3852f95226163b98.zip |
Add note for 2.4 kernel only by jakub, bug 72485
(Portage version: 2.1.2-r9)
Diffstat (limited to 'media-sound/usbmidi')
-rw-r--r-- | media-sound/usbmidi/ChangeLog | 5 | ||||
-rw-r--r-- | media-sound/usbmidi/files/digest-usbmidi-1.0 | 2 | ||||
-rw-r--r-- | media-sound/usbmidi/usbmidi-1.0.ebuild | 15 |
3 files changed, 18 insertions, 4 deletions
diff --git a/media-sound/usbmidi/ChangeLog b/media-sound/usbmidi/ChangeLog index ac3b1ce16c72..b026460f13c5 100644 --- a/media-sound/usbmidi/ChangeLog +++ b/media-sound/usbmidi/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/usbmidi # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/usbmidi/ChangeLog,v 1.6 2007/01/05 20:18:30 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/usbmidi/ChangeLog,v 1.7 2007/02/12 20:13:54 genstef Exp $ + + 12 Feb 2007; <genstef@gentoo.org> usbmidi-1.0.ebuild: + Add note for 2.4 kernel only by jakub, bug 72485 05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> usbmidi-1.0.ebuild: Convert to use elog. diff --git a/media-sound/usbmidi/files/digest-usbmidi-1.0 b/media-sound/usbmidi/files/digest-usbmidi-1.0 index 26c4447fdc2f..388ea2262651 100644 --- a/media-sound/usbmidi/files/digest-usbmidi-1.0 +++ b/media-sound/usbmidi/files/digest-usbmidi-1.0 @@ -1 +1,3 @@ MD5 4ca0058c16096a3bef2a0c90f5b2f571 usbmidi-20030126.tar.gz 64447 +RMD160 fa79c92b4eb99cedb72657f7e87e38700c61ef4b usbmidi-20030126.tar.gz 64447 +SHA256 4b11261f9db079b987ae5cc77ceb3b4f1a04b1e672e311fdff18ee465576b8da usbmidi-20030126.tar.gz 64447 diff --git a/media-sound/usbmidi/usbmidi-1.0.ebuild b/media-sound/usbmidi/usbmidi-1.0.ebuild index 6b492153dee1..f8e62a941fe2 100644 --- a/media-sound/usbmidi/usbmidi-1.0.ebuild +++ b/media-sound/usbmidi/usbmidi-1.0.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/usbmidi/usbmidi-1.0.ebuild,v 1.8 2007/01/05 20:18:30 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/usbmidi/usbmidi-1.0.ebuild,v 1.9 2007/02/12 20:13:54 genstef Exp $ -DESCRIPTION="Sets up hotplugging support for MidiMan midisport 1x1/2x2 usb devices" +inherit linux-info + +DESCRIPTION="hotplugging support for MidiMan midisport 1x1/2x2 usb devices on 2.4 kernels" HOMEPAGE="http://homepage3.nifty.com/StudioBreeze/software/usbmidi-e.html" SRC_URI="http://homepage3.nifty.com/StudioBreeze/software/bin/usbmidi-20030126.tar.gz" @@ -17,6 +19,14 @@ RDEPEND="sys-apps/hotplug sys-apps/fxload" S="${WORKDIR}/usbmidi-20030126" + +pkg_setup() { + if ! kernel_is 2 4 ; then + eerror "This ebuild is only for 2.4.x kernels." + die "Use in-kernel USB MIDI support instead." + fi +} + src_install() { insinto /usr/share/usb/ezusbmidi doins ${S}/testing/MidiSport/ezusbmidi*.ihx @@ -36,4 +46,3 @@ pkg_postinst() { elog "The midisport ports will appear as 'normal' midi ports under /dev" elog } - |