diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-12-07 19:30:29 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-12-07 19:30:29 +0000 |
commit | 674e00254e94d0f62ae6a18e7f4c6cc2e19660ac (patch) | |
tree | 630474d855d8f4d9a2ab623a1388260ed098544b /media-video/qc-usb-messenger | |
parent | Version bump, bug #103252 (diff) | |
download | gentoo-2-674e00254e94d0f62ae6a18e7f4c6cc2e19660ac.tar.gz gentoo-2-674e00254e94d0f62ae6a18e7f4c6cc2e19660ac.tar.bz2 gentoo-2-674e00254e94d0f62ae6a18e7f4c6cc2e19660ac.zip |
Initial import of ebuild, based on qc-usb, modified and maintained by Samuli Suominen <sasuomin@uusikaupunki.fi>.
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'media-video/qc-usb-messenger')
7 files changed, 159 insertions, 0 deletions
diff --git a/media-video/qc-usb-messenger/ChangeLog b/media-video/qc-usb-messenger/ChangeLog new file mode 100644 index 000000000000..0648719075e9 --- /dev/null +++ b/media-video/qc-usb-messenger/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for media-video/qc-usb-messenger +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb-messenger/ChangeLog,v 1.1 2006/12/07 19:30:29 zzam Exp $ + +*qc-usb-messenger-1.5 (07 Dec 2006) + + 07 Dec 2006; Matthias Schwarzott <zzam@gentoo.org> + +files/qc-usb-messenger-2.6.19.patch, + +files/qc-usb-messenger-koutput.patch, +metadata.xml, + +qc-usb-messenger-1.5.ebuild: + Initial import of ebuild, based on qc-usb, modified and maintained by Samuli + Suominen <sasuomin@uusikaupunki.fi>. + diff --git a/media-video/qc-usb-messenger/Manifest b/media-video/qc-usb-messenger/Manifest new file mode 100644 index 000000000000..02e435ec5143 --- /dev/null +++ b/media-video/qc-usb-messenger/Manifest @@ -0,0 +1,24 @@ +AUX qc-usb-messenger-2.6.19.patch 458 RMD160 b342699e447f88d488b2ae38399a19b5113927eb SHA1 67a5b14f409da9ffe9a69fa8c00243f4185d3fa9 SHA256 f34da6c0b67f5c269cf4e67663d9ef6e9673f2e0d6f343bb258573111c6937ea +MD5 8a7bedadb97e673125d731cafd0546c6 files/qc-usb-messenger-2.6.19.patch 458 +RMD160 b342699e447f88d488b2ae38399a19b5113927eb files/qc-usb-messenger-2.6.19.patch 458 +SHA256 f34da6c0b67f5c269cf4e67663d9ef6e9673f2e0d6f343bb258573111c6937ea files/qc-usb-messenger-2.6.19.patch 458 +AUX qc-usb-messenger-koutput.patch 2424 RMD160 8e061adb423e6a78900160c7f66fdf2fa9ced872 SHA1 a5cdd2e355bc89ae86b0f606b39bcfa00e36ec56 SHA256 ec6d308f351830f06bce785314a860424ce045e737c3bafddc9b8532f0a4e63f +MD5 b339fbee37b71efebb7c6dc7542da7ad files/qc-usb-messenger-koutput.patch 2424 +RMD160 8e061adb423e6a78900160c7f66fdf2fa9ced872 files/qc-usb-messenger-koutput.patch 2424 +SHA256 ec6d308f351830f06bce785314a860424ce045e737c3bafddc9b8532f0a4e63f files/qc-usb-messenger-koutput.patch 2424 +DIST qc-usb-messenger-1.5.tar.gz 167203 RMD160 e885b6d3c0508964df1ca81805435ebe996fba13 SHA1 c152ad98cf1b9684bee8350860d84c0d197bc76f SHA256 b5b0d23bffdb2edb8c7a0baeed704c41e327d61279190e309701ed4a39ad4c02 +EBUILD qc-usb-messenger-1.5.ebuild 954 RMD160 4509d3e96072e1bf884d21d1fe2f34b189a0e16f SHA1 7ba6b8f9d988ad45e811a5ee59901b872399829e SHA256 2b838f211d42495d57ffdd8136ca45237634f044c2321fc7a02cd79b4f954ef3 +MD5 d6478b567cde1d44c9c1eaa671220731 qc-usb-messenger-1.5.ebuild 954 +RMD160 4509d3e96072e1bf884d21d1fe2f34b189a0e16f qc-usb-messenger-1.5.ebuild 954 +SHA256 2b838f211d42495d57ffdd8136ca45237634f044c2321fc7a02cd79b4f954ef3 qc-usb-messenger-1.5.ebuild 954 +MISC ChangeLog 466 RMD160 bc5d5b42219472fe07d4d977b885104eeacef1f6 SHA1 9fad96c331b0f9b7873d50a23867b9ecb91e6c34 SHA256 7b5dd6d2e2e4f22944354995c4758948c47fb429089427c24a86475550611423 +MD5 3ec013a5595b1eb175c9d68e720aa932 ChangeLog 466 +RMD160 bc5d5b42219472fe07d4d977b885104eeacef1f6 ChangeLog 466 +SHA256 7b5dd6d2e2e4f22944354995c4758948c47fb429089427c24a86475550611423 ChangeLog 466 +MISC metadata.xml 452 RMD160 c2512806b03a630259a60ac28a7391e8d6ae3286 SHA1 8a9168a8da35df17569522ac83836697663c75c9 SHA256 29195b0377bf3106dc41f0166f2cfcd65a4dec025093f11a518484ab27909f7e +MD5 48d3d85699da9980ac3672ef0b14252f metadata.xml 452 +RMD160 c2512806b03a630259a60ac28a7391e8d6ae3286 metadata.xml 452 +SHA256 29195b0377bf3106dc41f0166f2cfcd65a4dec025093f11a518484ab27909f7e metadata.xml 452 +MD5 08e852c710f7e7424a2fb91dc54dc719 files/digest-qc-usb-messenger-1.5 262 +RMD160 43f53dea936f9a44f0d8078ea7cf3bbd4bf912dc files/digest-qc-usb-messenger-1.5 262 +SHA256 a20abe722692ea018623aab8a6d569ac67472c224f3703a483feb6196ab3eb21 files/digest-qc-usb-messenger-1.5 262 diff --git a/media-video/qc-usb-messenger/files/digest-qc-usb-messenger-1.5 b/media-video/qc-usb-messenger/files/digest-qc-usb-messenger-1.5 new file mode 100644 index 000000000000..4ca86da04895 --- /dev/null +++ b/media-video/qc-usb-messenger/files/digest-qc-usb-messenger-1.5 @@ -0,0 +1,3 @@ +MD5 8153aacef6a1875371a9d9d03fea8590 qc-usb-messenger-1.5.tar.gz 167203 +RMD160 e885b6d3c0508964df1ca81805435ebe996fba13 qc-usb-messenger-1.5.tar.gz 167203 +SHA256 b5b0d23bffdb2edb8c7a0baeed704c41e327d61279190e309701ed4a39ad4c02 qc-usb-messenger-1.5.tar.gz 167203 diff --git a/media-video/qc-usb-messenger/files/qc-usb-messenger-2.6.19.patch b/media-video/qc-usb-messenger/files/qc-usb-messenger-2.6.19.patch new file mode 100644 index 000000000000..17d6314746aa --- /dev/null +++ b/media-video/qc-usb-messenger/files/qc-usb-messenger-2.6.19.patch @@ -0,0 +1,17 @@ +diff -ur qc-usb-messenger-1.5.orig/quickcam.h qc-usb-messenger-1.5/quickcam.h +--- qc-usb-messenger-1.5.orig/quickcam.h 2006-11-05 08:36:13.000000000 +0200 ++++ qc-usb-messenger-1.5/quickcam.h 2006-12-07 20:23:30.000000000 +0200 +@@ -90,9 +90,12 @@ + + #ifdef __KERNEL__ + +-#include <linux/config.h> + #include <linux/version.h> + ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) ++#include <linux/config.h> ++#endif ++ + #ifdef CONFIG_SMP + #define __SMP__ + #endif diff --git a/media-video/qc-usb-messenger/files/qc-usb-messenger-koutput.patch b/media-video/qc-usb-messenger/files/qc-usb-messenger-koutput.patch new file mode 100644 index 000000000000..7852a22a1cab --- /dev/null +++ b/media-video/qc-usb-messenger/files/qc-usb-messenger-koutput.patch @@ -0,0 +1,44 @@ +diff -ur qc-usb-messenger-1.5.orig/Makefile qc-usb-messenger-1.5/Makefile +--- qc-usb-messenger-1.5.orig/Makefile 2006-10-15 00:23:07.000000000 +0300 ++++ qc-usb-messenger-1.5/Makefile 2006-12-06 16:39:02.000000000 +0200 +@@ -44,11 +44,7 @@ + #RELEASE := $(shell awk -F \" '/[ ]*\#[ ]*define[ ]*UTS_RELEASE[ ]*/ { print $$2 }' $(LINUX_DIR)/include/linux/version.h|tail -n 1) + # This seem to work better + #LINUX_DIR := /usr/src/linux +-RELEASE := $(shell if test -r $(LINUX_DIR)/include/linux/version.h && fgrep -q UTS_RELEASE $(LINUX_DIR)/include/linux/version.h; then \ +- ((echo "\#include <linux/version.h>" ; echo "kernsrcver=UTS_RELEASE") | cpp -I $(LINUX_DIR)/include | grep "^kernsrcver=" | cut -d \" -f 2); \ +- elif test -r $(LINUX_DIR)/include/linux/utsrelease.h && fgrep -q UTS_RELEASE $(LINUX_DIR)/include/linux/utsrelease.h; then \ +- ((echo "\#include <linux/utsrelease.h>"; echo "kernsrcver=UTS_RELEASE") | cpp -I $(LINUX_DIR)/include | grep "^kernsrcver=" | cut -d \" -f 2); \ +- fi) ++RELEASE := $(shell awk -F \" '/[ ]*\#[ ]*define[ ]*UTS_RELEASE[ ]*/ { print $$2 }' $(OUTPUT_DIR)/include/linux/version.h|tail -n 1) + MODULE_DIR := /lib/modules/$(RELEASE) + endif + endif +@@ -58,6 +54,10 @@ + LINUX_DIR := $(MODULE_DIR)/build + endif + ++ifndef OUTPUT_DIR ++OUTPUT_DIR := $(LINUX_DIR) ++endif ++ + HAVE_UTSRELEASE_H := $(shell if test -r $(LINUX_DIR)/include/linux/version.h && fgrep -q UTS_RELEASE $(LINUX_DIR)/include/linux/version.h; then \ + echo 0; \ + elif test -r $(LINUX_DIR)/include/linux/utsrelease.h && fgrep -q UTS_RELEASE $(LINUX_DIR)/include/linux/utsrelease.h; then \ +@@ -108,6 +108,7 @@ + @echo "Current configuration:" + @echo "Driver source directory (PWD): $(PWD)" + @echo "Kernel source directory (LINUX_DIR): $(LINUX_DIR)" ++ @echo "Kernel output directory (OUTPUT_DIR): $(OUTPUT_DIR)" + @echo "Module install directory (MODULE_DIR): $(MODULE_DIR)" + @echo "Utility install directory (PREFIX): $(PREFIX)" + @echo "User options (USER_OPT): $(USER_OPT)" +@@ -131,7 +132,7 @@ + else + # No, 2.4.x or older + +-MODULE_INC := -I$(LINUX_DIR)/include -nostdinc -iwithprefix include ++MODULE_INC := -I$(LINUX_DIR)/include -I$(OUTPUT_DIR)/include -nostdinc -iwithprefix include + MODULE_DEF := -DMODULE -D__KERNEL__ -DNOKERNEL + MODULE_OPT := -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common + MODULE_WARN := -Wall -Wstrict-prototypes -Wno-trigraphs diff --git a/media-video/qc-usb-messenger/metadata.xml b/media-video/qc-usb-messenger/metadata.xml new file mode 100644 index 000000000000..7f23f63fbd69 --- /dev/null +++ b/media-video/qc-usb-messenger/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>video</herd> + +<maintainer> + <email>sasuomin@uusikaupunki.fi</email> + <name>Samuli Suominen</name> + <description>Proxied maintainer</description> +</maintainer> + +<maintainer> + <email>zzam@gentoo.org</email> + <name>Matthias Schwarzott</name> + <description>Proxying maintainer</description> +</maintainer> +</pkgmetadata> diff --git a/media-video/qc-usb-messenger/qc-usb-messenger-1.5.ebuild b/media-video/qc-usb-messenger/qc-usb-messenger-1.5.ebuild new file mode 100644 index 000000000000..88f420f1f09c --- /dev/null +++ b/media-video/qc-usb-messenger/qc-usb-messenger-1.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 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.5.ebuild,v 1.1 2006/12/07 19:30:29 zzam 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="~x86 ~amd64" + +CONFIG_CHECK="USB VIDEO_DEV VIDEO_V4L1_COMPAT" +MODULE_NAMES="quickcam(usb:)" +BUILD_TARGETS="all" + +pkg_setup() { + ABI=${KERNEL_ABI} + linux-mod_pkg_setup + BUILD_PARAMS="LINUX_DIR=${KV_DIR} OUTPUT_DIR=${KV_OUT_DIR}" +} + +src_unpack() { + unpack ${A} + convert_to_m ${S}/Makefile + epatch ${FILESDIR}/${PN}-koutput.patch + epatch ${FILESDIR}/${PN}-2.6.19.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 quickcam.sh debug.sh freeshm.sh +} |