summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-05-22 09:50:54 +0000
committerTim Harder <radhermit@gentoo.org>2013-05-22 09:50:54 +0000
commit517f08a10a629f4069370d6c60d5da953102c017 (patch)
tree217800cf891a5147662d66dc7e05b484b298462b /media-libs/quvi
parentBump (diff)
downloadgentoo-2-517f08a10a629f4069370d6c60d5da953102c017.tar.gz
gentoo-2-517f08a10a629f4069370d6c60d5da953102c017.tar.bz2
gentoo-2-517f08a10a629f4069370d6c60d5da953102c017.zip
Version bump, update to EAPI 5, and add json, nls, and xml use flags.
(Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-libs/quvi')
-rw-r--r--media-libs/quvi/ChangeLog10
-rw-r--r--media-libs/quvi/files/quvi-0.9.1-automagic.patch47
-rw-r--r--media-libs/quvi/metadata.xml3
-rw-r--r--media-libs/quvi/quvi-0.9.1.ebuild38
4 files changed, 96 insertions, 2 deletions
diff --git a/media-libs/quvi/ChangeLog b/media-libs/quvi/ChangeLog
index 872bcdf8e6af..4d4c99352444 100644
--- a/media-libs/quvi/ChangeLog
+++ b/media-libs/quvi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/quvi
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/quvi/ChangeLog,v 1.47 2012/12/23 19:10:24 ago Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/quvi/ChangeLog,v 1.48 2013/05/22 09:50:53 radhermit Exp $
+
+*quvi-0.9.1 (22 May 2013)
+
+ 22 May 2013; Tim Harder <radhermit@gentoo.org> +quvi-0.9.1.ebuild,
+ +files/quvi-0.9.1-automagic.patch, metadata.xml:
+ Version bump, update to EAPI 5, and add json, nls, and xml use flags.
23 Dec 2012; Agostino Sarubbo <ago@gentoo.org> quvi-0.4.2.ebuild:
Stable for ppc64, wrt bug #447554
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
index d9df1878d8e2..cda88d3bf179 100644
--- a/media-libs/quvi/metadata.xml
+++ b/media-libs/quvi/metadata.xml
@@ -2,4 +2,7 @@
<!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>
</pkgmetadata>
diff --git a/media-libs/quvi/quvi-0.9.1.ebuild b/media-libs/quvi/quvi-0.9.1.ebuild
new file mode 100644
index 000000000000..c9e3b32c0f17
--- /dev/null
+++ b/media-libs/quvi/quvi-0.9.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/quvi/quvi-0.9.1.ebuild,v 1.1 2013/05/22 09:50:53 radhermit Exp $
+
+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=">=net-misc/curl-7.21.0
+ >=media-libs/libquvi-0.9:=
+ 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}"/${P}-automagic.patch )
+
+src_configure() {
+ local myeconfargs=(
+ --with-manual
+ $(use_enable json)
+ $(use_enable xml)
+ )
+ autotools-utils_src_configure
+}