--- spca5xx-20060501-r1.ebuild 2006-09-27 16:17:05.000000000 +0200 +++ /usr/local/portage/media-video/spca5xx/spca5xx-20060501-r1.ebuild 2006-09-27 17:19:08.000000000 +0200 @@ -26,6 +26,16 @@ pkg_setup() { linux-mod_pkg_setup BUILD_PARAMS="KERNELDIR=${KV_DIR}" + + if use usbfix; then + einfo "You activated the \"usbfix\" use flag!" + einfo + einfo "Use this ONLY if you already activated CONFIG_USB_BANDWIDTH=y" + einfo "in the kernel configuration and you get error messages like" + einfo "\"can't open /dev/video0: No space left on device\" nontheless." + einfo + ewarn "This may reduce the stream quality of your webcam." + fi } src_unpack() { @@ -47,25 +57,14 @@ } pkg_postinst() { - if use !usbfix; then - einfo "If you get messages like:" - einfo "can't open /dev/video0: No space left on device" - einfo "activate CONFIG_USB_BANDWIDTH=y in the kernel config." - einfo "" - einfo "If this doesn't help, set the pentium use flag!" - ewarn "This may affect your quality of the webcam!" - einfo "" - einfo "You should use general your webcam without any other" - einfo "devices on the usb hub" - fi - - if use usbfix; then - einfo "You activated the usbfix use flag!" - einfo "Use this ONLY if you get error messages like:" - einfo "can't open /dev/video0: No space left on device" - einfo "and you already activated CONFIG_USB_BANDWIDTH=y" - einfo "in the kernel config because is may reduce the" - einfo "quality of your webcam." + if use !usbfix; then + einfo "If you get messages like:" + einfo "\"can't open /dev/video0: No space left on device\"" + einfo "try to activate CONFIG_USB_BANDWIDTH=y in the kernel config." + einfo + einfo "If this doesn't help, set the \"usbfix\" use flag!" + einfo + einfo "You should use general your webcam without any other devices on" + einfo "the usb hub." fi } -