summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video')
-rw-r--r--media-video/webcamstudio/ChangeLog44
-rw-r--r--media-video/webcamstudio/Manifest24
-rw-r--r--media-video/webcamstudio/metadata.xml21
-rw-r--r--media-video/webcamstudio/webcamstudio-0.60_p416.ebuild140
4 files changed, 229 insertions, 0 deletions
diff --git a/media-video/webcamstudio/ChangeLog b/media-video/webcamstudio/ChangeLog
new file mode 100644
index 0000000..96d1afe
--- /dev/null
+++ b/media-video/webcamstudio/ChangeLog
@@ -0,0 +1,44 @@
+# ChangeLog for media-video/webcamstudio
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*webcamstudio-0.60_p416 (23 June 2012)
+
+ 23 June 2012; PhobosK <phobosk@kbfx.net> +webcamstudio-0.60_p416.ebuild:
+ New upstream version.
+
+ 23 June 2012; PhobosK <phobosk@kbfx.net>
+ -webcamstudio-0.60_p226.ebuild, -webcamstudio-0.60_p370.ebuild:
+ Removed all old ebuilds, since old versions do not work properly anymore.
+
+*webcamstudio-0.60_p370 (5 Apr 2012)
+
+ 5 Apr 2012; PhobosK <phobosk@kbfx.net> +webcamstudio-0.60_p370.ebuild:
+ New upstream version.
+
+*webcamstudio-0.60_p226 (10 Dec 2011)
+
+ 10 Dec 2011; PhobosK <phobosk@kbfx.net> +webcamstudio-0.60_p226.ebuild:
+ New upstream branch dumping GStreamer support and using FFMPEG instead.
+
+ 10 Dec 2011; PhobosK <phobosk@kbfx.net>
+ -webcamstudio-0.56-r1.ebuild, -webcamstudio-0.56.ebuild,
+ -webcamstudio-0.54-r1.ebuild, -webcamstudio-0.54.ebuild:
+ Removed all old ebuilds, since old versions do not work properly anymore.
+
+*webcamstudio-0.56 (6 Sep 2010)
+
+ 4 Nov 2010; PhobosK <phobosk@kbfx.net> +webcamstudio-0.56-r1.ebuild:
+ Version bump with separated main program and kernel module ebuilds.
+
+ 6 Sep 2010; PhobosK <phobosk@kbfx.net> +webcamstudio-0.56.ebuild:
+ Version bump with some gstreamer ebuild dependencies fixed.
+
+ 5 Sep 2010; PhobosK <phobosk@kbfx.net> +webcamstudio-0.54-r1.ebuild:
+ Some gstreamer ebuild dependencies fixed.
+
+*webcamstudio-0.54 (8 May 2010)
+
+ 8 May 2010; PhobosK <phobosk@kbfx.net> +webcamstudio-0.54.ebuild:
+ Initial ebuild.
+ see http://www.ws4gl.org/ for details
diff --git a/media-video/webcamstudio/Manifest b/media-video/webcamstudio/Manifest
new file mode 100644
index 0000000..a3ce1af
--- /dev/null
+++ b/media-video/webcamstudio/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST webcamstudio-0.60_p416.tar.bz2 9142223 RMD160 400913f58056681c715e53695debe919855fe6a3 SHA1 4667549f70e7ce5e1d025db60184eccf83b2062f SHA256 e74c8585f54e20bafd736306687badfdebbdec0349ba4a86828ec2341e402e04
+EBUILD webcamstudio-0.60_p416.ebuild 4192 RMD160 79d50ffd904822f66421d2ca3d0efb70bb3dbdc9 SHA1 a97c8ec367f055282a2f0e4a69ae4993e96faa9f SHA256 10a7c182f8fc8a3d7e0c077178bc3598f184ec00f390ca0258ea60bcf744d39e
+MISC ChangeLog 1593 RMD160 df9bdf1c973909e0e8b1c3708afdbffc70852ffc SHA1 d8b3c5fb24a05b1e55f65b3b8f5be77ea966b4d6 SHA256 211083f341637c3bf09fd9ce5c063eb69b0721e9a9a81352dc7c74915fac1df0
+MISC metadata.xml 829 RMD160 63aad9e73e8722a2e53d3b32508635dc19c0c9dc SHA1 2970fd94d96f88d8f1c4318fc4ef301189946303 SHA256 af0c6de3bf7be1c641e57903e55f9fe1fcb057b1a4f5c0c2d9220488a291e3fa
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJP6+k0AAoJEDYO1FT4VRUUuMkQAI5V+bPEtmtVGamm3iVo8JoE
+WYuMJAJ8oAWymwQ1aPOfhNUUJpttMkk94uuVkjh7gm35zPd6OOxgN0MpZ9WcFHZe
+GJjPBapYxoN44m7U8881Z0BQ6GQFKVfnPfF5iVLwGFWsDwi1K4mEtPmIAWsUr7YD
+sjRn6vxZPxUpe1PFoB/L+Fhk/1OA0HSdaxaGxb+RjEMIgiFppeCz8o/Pi8P9aUWb
+eQ0gNQ0qTlFbmAbnfI9sD9PPHKOvM34gEJmTMVae5kid+hBOktduuV0whdHC8VMX
+wTaYgaKcVyYu1ilcYtzPwcEfF1suq4Qd6q8PD16CKqlWW4fNljsExddOpX4flOwJ
+9CJRbYG0HWcMpaDT/sMqldEWdAmgsSUEofALFvHYqfPcryVlz0v8iPRW2d4St0nV
+Z9CW50d4iUckl7W47R5vGaLZJpNQgo+O53mgoPc/7hM7qlcVRicmDs6bekmvzFY+
+ld55/sjgkI+GS3XZ3Zdcm2WhS2s0H2wYVFaU03GNkRzFe/fDRRSdOMJNaBYZHz4f
+hgkLnW+QPOA/AoxyBnVjG5F70wvYBQThev8nZubmJsbkA5IpwZQX54bNyACiiWsu
+nd0NjmY9I2CfpzuTafHOVICJbJi1ordUZpJfoV6jR/+46g+uo4fHVWhMVMLHG2Jt
+Yiy9AxZFAavq73kt7xQC
+=W+bD
+-----END PGP SIGNATURE-----
diff --git a/media-video/webcamstudio/metadata.xml b/media-video/webcamstudio/metadata.xml
new file mode 100644
index 0000000..d43c1e8
--- /dev/null
+++ b/media-video/webcamstudio/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- <herd>video</herd> -->
+<maintainer>
+ <email>phobosk@kbfx.net</email>
+ <name>PhobosK</name>
+ <description>Maintainer. Assign bugs to him.</description>
+</maintainer>
+<maintainer>
+ <email>naota@gentoo.org</email>
+ <name>Naohiro Aota</name>
+ <description>Proxy maintainer. CC him on bugs.</description>
+</maintainer>
+<longdescription>
+WebcamStudio For GNU/Linux creates a virtual webcam that can mix several video
+sources together and can be used for live broadcasting over Bambuser, UStream or Stickam.
+On this virtual webcam, you can broadcast your desktop, your webcam, a movie, some text,
+IRC channels, RSS Feed, animations, images or all of them at the same time.
+</longdescription>
+</pkgmetadata>
diff --git a/media-video/webcamstudio/webcamstudio-0.60_p416.ebuild b/media-video/webcamstudio/webcamstudio-0.60_p416.ebuild
new file mode 100644
index 0000000..e0d4c2d
--- /dev/null
+++ b/media-video/webcamstudio/webcamstudio-0.60_p416.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+JAVA_PKG_IUSE="doc source"
+WANT_ANT_TASKS="ant-nodeps ant-junit4 ant-junit"
+EANT_BUILD_XML="${S}/build.xml"
+
+inherit eutils fdo-mime java-pkg-2 java-ant-2
+
+DESCRIPTION="Creates virtual webcam to broadcast over the internet."
+HOMEPAGE="http://www.ws4gl.org/"
+
+# The tarball prepared using the SVN r416 at http://webcamstudio.googlecode.com/svn/trunk
+# The only changes made are the removal of "ffmpeg.exe" and the "vloopback" folder
+SRC_URI="http://gentoo.plexyplanet.org/distfiles/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.6
+ dev-libs/glib:2
+ virtual/ffmpeg
+ media-libs/gstreamer:0.10
+ media-libs/gst-plugins-bad
+ media-libs/gst-plugins-base
+ media-libs/gst-plugins-good
+ media-libs/gst-plugins-ugly
+ media-sound/pulseaudio
+ dev-java/absolutelayout
+ dev-java/appframework
+ dev-java/commons-cli:1
+ dev-java/commons-codec
+ dev-java/commons-httpclient:3
+ dev-java/jna
+ dev-java/jsr305
+ dev-java/log4j
+ java-virtuals/javamail
+ dev-java/slf4j-api
+ dev-java/slf4j-nop
+ dev-java/swing-worker
+ media-video/webcamstudio-module"
+RDEPEND="${DEPEND}"
+
+java_prepare() {
+ # Fix some buggy java libs paths
+ einfo "Patching the project.properties file..."
+ sed -i \
+ -e "s?=/usr/share/java/jna.jar?=libraries/jna.jar?" \
+ -e "s?=libraries/jna-3.0...jar?=libraries/jna.jar?" \
+ -e "s?absolutelayout.classpath=libraries/jna.jar?absolutelayout.classpath=libraries/jna.jar:libraries/absolutelayout.jar?" \
+ nbproject/project.properties \
+ || die "Failed to patch the project.properties file"
+
+ # Fix avconv to gstreamer since avconv fails on some webcams
+ einfo "Fixing webcam source command line..."
+ sed -i \
+ -e "s?#video=gst-launch-0.10?video=gst-launch-0.10?" \
+ -e "s?#audio=gst-launch-0.10?audio=gst-launch-0.10?" \
+ -e "s?video=avconv?#video=avconv?" \
+ -e "s?audio=avconv?#audio=avconv?" \
+ src/webcamstudio/externals/linux/sources/webcam.properties \
+ || die "Failed to fix webcam source command line"
+
+ # Fix avconv/gstreamer/ffmpeg binaries absolute paths
+ einfo "Fixing some binaries' paths..."
+ sed -i \
+ -e "s?=gst-launch-0.10?=/usr/bin/gst-launch-0.10?" \
+ -e "s?=avconv?=/usr/bin/ffmpeg?" \
+ -e "s?=ffmpeg?=/usr/bin/ffmpeg?" \
+ src/webcamstudio/externals/linux/*.properties \
+ src/webcamstudio/externals/linux/*/*.properties \
+ || die "Failed to fix binaries' paths"
+
+ # CD to the proper folder here, so if upstream changes the tree structure
+ # to be easier to fix it.
+ cd "libraries"
+
+ # Remove some bundled java libs and use Gentoo native ones
+ einfo "Removing the unnecessary project's jar library files..."
+ rm -v appframework*.jar \
+ commons-*.jar \
+ jcl104-over-slf4j-*.jar \
+ jffmpeg-*.jar \
+ jna*.jar \
+ jsr*.jar \
+ log4j-*.jar \
+ mail*.jar \
+ platform-*.jar \
+ slf4j-*.jar \
+ swing-*.jar \
+ || die "Failed to remove some of the project's jar library files"
+
+ java-pkg_jar-from appframework appframework.jar appframework-1.0.3.jar
+ java-pkg_jar-from commons-cli-1 commons-cli.jar commons-cli-1.2.jar
+ java-pkg_jar-from commons-codec commons-codec.jar commons-codec-1.2.jar
+ java-pkg_jar-from commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.1.jar
+ java-pkg_jar-from swing-worker swing-worker.jar swing-worker-1.1.jar
+ java-pkg_jar-from absolutelayout,jna,jsr305,log4j,sun-javamail,slf4j-api,slf4j-nop
+}
+
+pkg_setup() {
+ java-pkg-2_pkg_setup
+}
+
+src_compile() {
+ java-pkg-2_src_compile
+}
+
+src_install() {
+ java-pkg_dojar dist/WebcamStudio.jar
+
+ # Install only non-portage .jar bundled files
+ java-pkg_jarinto /opt/${PN}/lib
+ java-pkg_dojar libraries/jtwitter*.jar
+ java-pkg_dojar libraries/netty*.jar
+ java-pkg_dojar libraries/zxing*.jar
+
+ # Prepare a launcher for the main application
+ java-pkg_dolauncher ${PN} \
+ --main webcamstudio.WebcamStudio \
+ --jar WebcamStudio.jar
+
+ newicon "debian/webcamstudio.png" webcamstudio.png
+ domenu "debian/${PN}.desktop"
+
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/*
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}