summaryrefslogtreecommitdiff
path: root/media-video/webcamstudio-module
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
commit7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch)
tree1684924656132935256e034f35f92abee6623265 /media-video/webcamstudio-module
Added ebuilds for kogaion desktop
Diffstat (limited to 'media-video/webcamstudio-module')
-rw-r--r--media-video/webcamstudio-module/Manifest1
-rw-r--r--media-video/webcamstudio-module/webcamstudio-module-1.4-r2.ebuild51
-rw-r--r--media-video/webcamstudio-module/webcamstudio-module-1.4-r2.ebuild.save52
3 files changed, 104 insertions, 0 deletions
diff --git a/media-video/webcamstudio-module/Manifest b/media-video/webcamstudio-module/Manifest
new file mode 100644
index 00000000..9354bb02
--- /dev/null
+++ b/media-video/webcamstudio-module/Manifest
@@ -0,0 +1 @@
+EBUILD webcamstudio-module-1.4-r2.ebuild 1141 RMD160 7ba8459d8493a997a4eaaca30fac9d17ae8a95fa SHA1 3eba5853d6bb1ebea9224f1174e001a34d27647d SHA256 9d9fd997339705f3fdb50e3ef6c4caecf20da9aba8d701fc388df09696b50a71
diff --git a/media-video/webcamstudio-module/webcamstudio-module-1.4-r2.ebuild b/media-video/webcamstudio-module/webcamstudio-module-1.4-r2.ebuild
new file mode 100644
index 00000000..4f162f16
--- /dev/null
+++ b/media-video/webcamstudio-module/webcamstudio-module-1.4-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils linux-mod subversion
+
+DESCRIPTION="Kernel module for WebcamStudio."
+HOMEPAGE="http://www.ws4gl.org/"
+ESVN_REPO_URI="https://webcamstudio.svn.sourceforge.net/svnroot/webcamstudio/trunk/vloopback@891"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="virtual/linux-sources"
+
+MODULE_NAMES="webcamstudio(misc:${S})"
+CONFIG_CHECK="VIDEO_DEV"
+
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ rm -f "${S}"/Makefile || die
+
+ BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} KERNEL_DIR=${KV_DIR}"
+ BUILD_TARGETS="modules"
+ MODULESD_WEBCAMSTUDIO_ENABLED="yes"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.4-semaphore-fix.patch"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ elog "To use WebcamStudio you need to have the \"webcamstudio\" module"
+ elog "loaded first."
+ elog ""
+ elog "If you want to do it automatically, please add \"webcamstudio\" to:"
+ if has_version sys-apps/openrc; then
+ elog "/etc/conf.d/modules"
+ else
+ elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}"
+ fi
+ elog ""
+}
diff --git a/media-video/webcamstudio-module/webcamstudio-module-1.4-r2.ebuild.save b/media-video/webcamstudio-module/webcamstudio-module-1.4-r2.ebuild.save
new file mode 100644
index 00000000..42b505b4
--- /dev/null
+++ b/media-video/webcamstudio-module/webcamstudio-module-1.4-r2.ebuild.save
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils linux-mod subversion
+
+DESCRIPTION="Kernel module for WebcamStudio."
+HOMEPAGE="http://www.ws4gl.org/"
+ESVN_REPO_URI="https://webcamstudio.svn.sourceforge.net/svnroot/webcamstudio/trunk/vloopback@891"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND="
+DEPEND="virtual/linux-sources"
+
+MODULE_NAMES="webcamstudio(misc:${S})"
+CONFIG_CHECK="VIDEO_DEV"
+
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ rm -f "${S}"/Makefile || die
+
+ BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} KERNEL_DIR=${KV_DIR}"
+ BUILD_TARGETS="modules"
+ MODULESD_WEBCAMSTUDIO_ENABLED="yes"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.4-semaphore-fix.patch"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ elog "To use WebcamStudio you need to have the \"webcamstudio\" module"
+ elog "loaded first."
+ elog ""
+ elog "If you want to do it automatically, please add \"webcamstudio\" to:"
+ if has_version sys-apps/openrc; then
+ elog "/etc/conf.d/modules"
+ else
+ elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}"
+ fi
+ elog ""
+}