summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/quvi')
-rw-r--r--media-libs/quvi/Manifest4
-rw-r--r--media-libs/quvi/files/quvi-0.9.1-automagic.patch47
-rw-r--r--media-libs/quvi/metadata.xml11
-rw-r--r--media-libs/quvi/quvi-0.2.19.ebuild40
-rw-r--r--media-libs/quvi/quvi-0.4.2.ebuild25
-rw-r--r--media-libs/quvi/quvi-0.9.4.ebuild39
-rw-r--r--media-libs/quvi/quvi-0.9.5.ebuild39
7 files changed, 205 insertions, 0 deletions
diff --git a/media-libs/quvi/Manifest b/media-libs/quvi/Manifest
new file mode 100644
index 000000000000..9fb74c59180b
--- /dev/null
+++ b/media-libs/quvi/Manifest
@@ -0,0 +1,4 @@
+DIST quvi-0.2.19.tar.xz 363120 SHA256 48bcdf2d58a7df8acd8c0562d3f485b2892902eb982a9d8eb279b273e722daeb SHA512 a013f3ffcbb8a970148e7a2a40c6994600c6430f10f604df57884205f25cb1dbb56608d5a48b4b8b1c280230cef4c35db89fbb7678834fefee524e9ee4146ffb WHIRLPOOL bac3fae5de038a6a278a82d5bf80718dec8971ac77bc4186f95e6cf88408ca73983debd213d864e6e3a451d20da8d014fc4030df9af4a4e87c13beaa4fd611e6
+DIST quvi-0.4.2.tar.xz 118756 SHA256 91a1396ce9a56ac3cfa3a5edabf8d214b3c6b2a35afad3b5f2f9feb29ba19026 SHA512 a0cd26711123bd61e91534e510dd96fe290eb19eacaabe52c36b0064dee1ce410e80eddbe5995392e3769ae3c602b93b5132507a2d43d765e2b98e8488ea8f86 WHIRLPOOL 4d94d6d6dada1f009e9c3557e2a50405db3ac7802a57f8c24092b619b208c049c4004ea9c043f88f703adfc7ad72368fcc82f9d1a08c26dde87a5d952b4ce9b5
+DIST quvi-0.9.4.tar.xz 315768 SHA256 350952639b46f72291bc02b63627f3aec4ce8bfdb6f42b3e11469c6b2dcff910 SHA512 fcec2a95de1a93734803177b515f0578a0722950d145ac8a37c48864281152005190bb9c9a76473b94df9b74ca80a58363435e196106b15093f484e6d4a1316d WHIRLPOOL 4d9ccea83c9663520606c4417fd775009b3d409fabafb3c05ac3a851ffdc2ecbcae8ff73deb4bf29f9aa2af02885a41bfef275a392b774dad3bc59948e93e78e
+DIST quvi-0.9.5.tar.xz 316676 SHA256 cb3918aad990b9bc49828a5071159646247199a63de0dd4c706adc5c8cd0a2c0 SHA512 ef50160b7f2b6b8c9049eb995cb26da3100b10e7af8206d98d2e128cde300ceb05a24dded06d7d49c0e691fcc2de5a4c5c9e9f439d40ca52cd0a3a24330c6d79 WHIRLPOOL 6f598fcfc70a751084a8ff6efc0399d2c5674e20c5e9ed242ba8c660a018728154395184ec60eaa57feab6fcb0c9da3bd32f528fc1f50b05bb4aa3493b23f777
diff --git a/media-libs/quvi/files/quvi-0.9.1-automagic.patch b/media-libs/quvi/files/quvi-0.9.1-automagic.patch
new file mode 100644
index 000000000000..0f011eb2fe7c
--- /dev/null
+++ b/media-libs/quvi/files/quvi-0.9.1-automagic.patch
@@ -0,0 +1,47 @@
+--- quvi-0.9.1/configure.ac
++++ quvi-0.9.1/configure.ac
+@@ -54,22 +54,30 @@
+ PKG_CHECK_MODULES([gobject], [gobject-2.0 >= 2.24])
+ PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.24])
+
+-PKG_CHECK_MODULES([json_glib], [json-glib-1.0 >= 0.12],
+- [have_json_glib=yes
+- AC_DEFINE([HAVE_JSON_GLIB], [1], [Define to json-glib package])
+- ],
+- [have_json_glib=no
+- AC_MSG_NOTICE([json-glib 0.12+ not found, building without json output])
+- ])
++AC_ARG_ENABLE([json],
++ AS_HELP_STRING([--disable-json], [Disable support for JSON output]))
++AS_IF([test "x$enable_json" != "xno"], [
++ PKG_CHECK_MODULES([json_glib], [json-glib-1.0 >= 0.12],
++ [have_json_glib=yes
++ AC_DEFINE([HAVE_JSON_GLIB], [1], [Define to json-glib package])
++ ],
++ [have_json_glib=no
++ AC_MSG_ERROR([json-glib 0.12+ not found])
++ ])
++])
+ AM_CONDITIONAL([HAVE_JSON_GLIB], [test x"$have_json_glib" = "xyes"])
+
+-PKG_CHECK_MODULES([libxml], [libxml-2.0 >= 2.7.8],
+- [have_libxml=yes
+- AC_DEFINE([HAVE_LIBXML], [1], [Define to libxml package])
+- ],
+- [have_libxml=no
+- AC_MSG_NOTICE([libxml 2.7.8+ not found, building without xml output])
+- ])
++AC_ARG_ENABLE([xml],
++ AS_HELP_STRING([--disable-xml], [Disable support for XML output]))
++AS_IF([test "x$enable_xml" != "xno"], [
++ PKG_CHECK_MODULES([libxml], [libxml-2.0 >= 2.7.8],
++ [have_libxml=yes
++ AC_DEFINE([HAVE_LIBXML], [1], [Define to libxml package])
++ ],
++ [have_libxml=no
++ AC_MSG_ERROR([libxml 2.7.8+ not found])
++ ])
++])
+ AM_CONDITIONAL([HAVE_LIBXML], [test x"$have_libxml" = "xyes"])
+
+ # Checks for header files.
diff --git a/media-libs/quvi/metadata.xml b/media-libs/quvi/metadata.xml
new file mode 100644
index 000000000000..1be208d63c61
--- /dev/null
+++ b/media-libs/quvi/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <use>
+ <flag name="json">Enable support for JSON output</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">quvi</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/quvi/quvi-0.2.19.ebuild b/media-libs/quvi/quvi-0.2.19.ebuild
new file mode 100644
index 000000000000..52d50c1993d1
--- /dev/null
+++ b/media-libs/quvi/quvi-0.2.19.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="library for parsing video download links"
+HOMEPAGE="http://quvi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PV:0:3}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="examples test offensive static-libs"
+
+RDEPEND=">=net-misc/curl-7.18.0
+ dev-lang/lua[deprecated]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+# tests fetch data from live websites, so it's rather normal that they
+# will fail
+RESTRICT="test"
+
+src_configure() {
+ econf \
+ $(use_enable offensive nsfw) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ if use examples ; then
+ docinto examples
+ dodoc examples/*.{c,h}
+ fi
+
+ find "${D}" -name '*.la' -delete
+}
diff --git a/media-libs/quvi/quvi-0.4.2.ebuild b/media-libs/quvi/quvi-0.4.2.ebuild
new file mode 100644
index 000000000000..42a1d93b6564
--- /dev/null
+++ b/media-libs/quvi/quvi-0.4.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="A command line tool for parsing video download links"
+HOMEPAGE="http://quvi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PV:0:3}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ppc ppc64 x86"
+IUSE=""
+
+RDEPEND=">=net-misc/curl-7.18.2
+ >=media-libs/libquvi-0.4.0"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --with-manual
+}
diff --git a/media-libs/quvi/quvi-0.9.4.ebuild b/media-libs/quvi/quvi-0.9.4.ebuild
new file mode 100644
index 000000000000..833f647a8ee3
--- /dev/null
+++ b/media-libs/quvi/quvi-0.9.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils
+
+DESCRIPTION="A command line tool for parsing video download links"
+HOMEPAGE="http://quvi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PV:0:3}/${P}.tar.xz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="json nls xml"
+
+RDEPEND=">=dev-libs/glib-2.24:2
+ >=net-misc/curl-7.21.0
+ >=media-libs/libquvi-0.9.2:=
+ json? ( >=dev-libs/json-glib-0.12 )
+ nls? ( virtual/libintl )
+ xml? ( >=dev-libs/libxml2-2.7.8:2 )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.9.1-automagic.patch )
+
+src_configure() {
+ local myeconfargs=(
+ --with-manual
+ $(use_enable json)
+ $(use_enable xml)
+ )
+ autotools-utils_src_configure
+}
diff --git a/media-libs/quvi/quvi-0.9.5.ebuild b/media-libs/quvi/quvi-0.9.5.ebuild
new file mode 100644
index 000000000000..48e11b4026c1
--- /dev/null
+++ b/media-libs/quvi/quvi-0.9.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils
+
+DESCRIPTION="A command line tool for parsing video download links"
+HOMEPAGE="http://quvi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PV:0:3}/${P}.tar.xz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ppc64 x86"
+IUSE="json nls xml"
+
+RDEPEND=">=dev-libs/glib-2.24:2
+ >=net-misc/curl-7.21.0
+ >=media-libs/libquvi-0.9.2:=
+ json? ( >=dev-libs/json-glib-0.12 )
+ nls? ( virtual/libintl )
+ xml? ( >=dev-libs/libxml2-2.7.8:2 )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.9.1-automagic.patch )
+
+src_configure() {
+ local myeconfargs=(
+ --with-manual
+ $(use_enable json)
+ $(use_enable xml)
+ )
+ autotools-utils_src_configure
+}