summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/xvideoservicethief')
-rw-r--r--media-video/xvideoservicethief/ChangeLog10
-rw-r--r--media-video/xvideoservicethief/files/gcc-4.3.patch13
-rw-r--r--media-video/xvideoservicethief/metadata.xml6
-rw-r--r--media-video/xvideoservicethief/xvideoservicethief-1.8.2.ebuild42
4 files changed, 71 insertions, 0 deletions
diff --git a/media-video/xvideoservicethief/ChangeLog b/media-video/xvideoservicethief/ChangeLog
new file mode 100644
index 000000000000..dc44f1fac7f0
--- /dev/null
+++ b/media-video/xvideoservicethief/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-video/xvideoservicethief
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/xvideoservicethief/ChangeLog,v 1.1 2009/03/14 15:35:15 yngwin Exp $
+
+*xvideoservicethief-1.8.2 (14 Mar 2009)
+
+ 14 Mar 2009; Ben de Groot <yngwin@gentoo.org> +files/gcc-4.3.patch,
+ +metadata.xml, +xvideoservicethief-1.8.2.ebuild:
+ Initial import from qting-edge overlay. See also bug 210894.
+
diff --git a/media-video/xvideoservicethief/files/gcc-4.3.patch b/media-video/xvideoservicethief/files/gcc-4.3.patch
new file mode 100644
index 000000000000..4541f58143b4
--- /dev/null
+++ b/media-video/xvideoservicethief/files/gcc-4.3.patch
@@ -0,0 +1,13 @@
+Index: work/src/pakunpak/pakunpak.h
+===================================================================
+--- work.orig/src/pakunpak/pakunpak.h
++++ work/src/pakunpak/pakunpak.h
+@@ -31,7 +31,7 @@
+ #include <string>
+ #include <vector>
+ #include <fstream>
+-
++#include <cstring>
+ #include <iostream>
+
+ class Packer
diff --git a/media-video/xvideoservicethief/metadata.xml b/media-video/xvideoservicethief/metadata.xml
new file mode 100644
index 000000000000..60ff8921dfb8
--- /dev/null
+++ b/media-video/xvideoservicethief/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <herd>qt</herd>
+</pkgmetadata>
diff --git a/media-video/xvideoservicethief/xvideoservicethief-1.8.2.ebuild b/media-video/xvideoservicethief/xvideoservicethief-1.8.2.ebuild
new file mode 100644
index 000000000000..cfbd304a932b
--- /dev/null
+++ b/media-video/xvideoservicethief/xvideoservicethief-1.8.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/xvideoservicethief/xvideoservicethief-1.8.2.ebuild,v 1.1 2009/03/14 15:35:15 yngwin Exp $
+
+EAPI="2"
+inherit qt4 versionator
+
+MY_PV=$(replace_all_version_separators '_')
+
+DESCRIPTION="Download (and convert) videos from various Web Video Services"
+HOMEPAGE="http://xviservicethief.sourceforge.net/"
+SRC_URI="mirror://sourceforge/xviservicethief/xVideoServiceThief_${MY_PV}_alpha_src.zip"
+# Note: all released versions are labelled alpha
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip
+ x11-libs/qt-gui:4"
+RDEPEND="x11-libs/qt-gui:4
+ media-video/ffmpeg"
+
+PATCHES="${FILESDIR}/gcc-4.3.patch"
+
+S="${WORKDIR}"
+
+# TODO: translations, documentation
+
+src_configure() {
+ eqmake4 xVideoServiceThief.pro
+}
+
+src_install() {
+ dobin bin/xvst || die "dobin failed"
+ dodoc changelog.txt || die "dodoc failed"
+ insinto /usr/share/pixmaps/
+ newins resources/images/InformationLogo.png xvst.png || die "newins failed"
+ make_desktop_entry /usr/bin/xvst xVideoServiceThief xvst 'Qt;AudioVideo;Video' \
+ || die "make_desktop_entry failed"
+}