summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/qc-usb-messenger/qc-usb-messenger-1.8-r3.ebuild')
-rw-r--r--media-video/qc-usb-messenger/qc-usb-messenger-1.8-r3.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/media-video/qc-usb-messenger/qc-usb-messenger-1.8-r3.ebuild b/media-video/qc-usb-messenger/qc-usb-messenger-1.8-r3.ebuild
new file mode 100644
index 000000000000..2eb1703dd0ae
--- /dev/null
+++ b/media-video/qc-usb-messenger/qc-usb-messenger-1.8-r3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb-messenger/qc-usb-messenger-1.8-r3.ebuild,v 1.1 2009/09/30 17:52:36 ssuominen Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="Logitech USB Quickcam Express Messenger & Communicate Linux Driver Modules"
+HOMEPAGE="http://home.mag.cx/messenger"
+SRC_URI="http://home.mag.cx/messenger/source/${P}.tar.gz"
+
+IUSE=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+CONFIG_CHECK="USB VIDEO_DEV VIDEO_V4L1_COMPAT"
+MODULE_NAMES="qcmessenger(usb:)"
+BUILD_TARGETS="all"
+
+DEPEND="virtual/linux-sources
+ !media-video/qc-usb"
+
+pkg_setup() {
+ ABI=${KERNEL_ABI}
+ linux-mod_pkg_setup
+ BUILD_PARAMS="LINUX_DIR=${KV_DIR} OUTPUT_DIR=${KV_OUT_DIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ convert_to_m Makefile
+ epatch "${FILESDIR}"/${PN}-koutput.patch
+ epatch "${FILESDIR}"/${P}-kcompat-2.6.26.patch
+ epatch "${FILESDIR}"/${P}-kcompat-2.6.27.patch
+ epatch "${FILESDIR}"/${P}-kcompat-2.6.28.patch
+ epatch "${FILESDIR}"/${P}-kcompat-2.6.30.patch
+ epatch "${FILESDIR}"/${P}-ppc.patch
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dobin qcset
+ dodoc README* APPLICATIONS CREDITS TODO FAQ _CHANGES_MESSENGER _README_MESSENGER
+
+ insinto /usr/share/doc/${PF}
+ doins *.sh
+}
+
+pkg_postinst() {
+ elog "QuickCam Messenger module is now called 'qcmessenger'."
+}