diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-video/cclive |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/cclive')
-rw-r--r-- | media-video/cclive/Manifest | 7 | ||||
-rw-r--r-- | media-video/cclive/cclive-0.9.3-r2.ebuild | 35 | ||||
-rw-r--r-- | media-video/cclive/files/cclive-0.9.3-boost-ver-check.patch | 18 | ||||
-rw-r--r-- | media-video/cclive/files/cclive-0.9.3-iostream.patch | 80 | ||||
-rw-r--r-- | media-video/cclive/metadata.xml | 15 |
5 files changed, 155 insertions, 0 deletions
diff --git a/media-video/cclive/Manifest b/media-video/cclive/Manifest new file mode 100644 index 000000000000..dd86ebf619c8 --- /dev/null +++ b/media-video/cclive/Manifest @@ -0,0 +1,7 @@ +AUX cclive-0.9.3-boost-ver-check.patch 516 SHA256 e1d0a5a359814d7c5d3213161d5fe990c9c83bec80e524bd66564ed781de7ad0 SHA512 93e458a1c66d57901e8001fb886771ec1409c12a2e31db84dcdbd284e0586af05f756644a2318c427c7b5ba07585c76c490eaac351659c82865378b7d4f99500 WHIRLPOOL 529be1115305a15a60d75700f6e1b3babfaf2e56c184bd5e2ad19d65bdad28424a6ca3f3c5c721d94ea7888d7035455f7b5bac42f7753a279695cad9333c495e +AUX cclive-0.9.3-iostream.patch 1926 SHA256 c21d459944cfd9cb9a129a4577b87ea7d431337d24e40407cc279e50adf0ea31 SHA512 ccf137cfa06a9ac8cafd9cafd9ae7cd06f72bfe17a3bba5171682d8e5d97007680ac385467f90e260b6e715785330152055778af8a24a4fe50435e4298a6ca8c WHIRLPOOL cdb1bf13f1b902de5f16e8011519c090c2e3d1cc22a2bca0497d692d3e313ef497b0ecc3acf233af5379975d99fae230da9067536a35852c9dc2deee107cfca8 +DIST cclive-0.9.3.tar.xz 296720 SHA256 2edeaf5d76455723577e0b593f0322a97f1e0c8b0cffcc70eca8b5d17374a495 SHA512 0d8f6f870e24e2906542c1e02745009597fca2e879261bef7a81e07f8dec016ee200d8a4b37dd0f20b3ad27c12e2445fed1f6a9dc262a6c27e40222048bb5438 WHIRLPOOL 441a3ef5e7c7633c91b4761a1f728998997648ebb6a7984e6a1dafea418a8863be76ffff7dc3e3727ddff81d4ed5f16d5454fb0e0b84c3dcea7e8214f27f8d35 +EBUILD cclive-0.9.3-r2.ebuild 786 SHA256 2b8e264172c3d4caa275399ec109279eedf40a17c511453caf4cde93881fdac2 SHA512 e6c9ef6659f081dbbbf8159b3031e12f2eaadc2303598f26d0bb3f7f1d5879544d746dde5cf5f837b7568c3e3b2e6b9a4bfe0ca54134a0ef5660012fd2e6aff8 WHIRLPOOL 1580df70eb7b5d25d8462077bdb3df73a5a782f8b222aefb4205bae50ea2e9e188c93cba14fd09e3b0496987a87893a36a6fbd2759a98a059e64e04961b51a9d +MISC ChangeLog 2780 SHA256 040820cc2d40a7571ae82a9898d2bcca61d4b716725ea18079b9a873889d8238 SHA512 4195f5b442ad834374ed310deb1ee486c7661b0a27d0a471ef5b1822c0243fd224e6a852904325190f877d9dd70828ebb41cc49b793fd079c255dea5782fe87b WHIRLPOOL 7890f6c6e072f2d882016e8ffae96ae404f44c268681b0a0eb577beff7fafed6c426a2739d455095da53ff68e41d27111ce4b15950074f7d2ba014384e57c335 +MISC ChangeLog-2015 9838 SHA256 7f92a5d5df29807b3517cd5c2b7a886e4d6b4105a34d06e1de7f0150ac930b9c SHA512 5be06a6b83929240ac8585fc9698811381f9f5a6229f41ac53f8837a7f8df51e2d5cc87258921332f674e72377bf009d53dbb932617b65c0d6346bffdb1cfc4a WHIRLPOOL 745dd7cc4342e5b3042d44142c349df381bdc67fa5a259acc106b2de7ab0d28fb24df872ace1081afc6662d5c5f54ca3c991eb70fa3dc5d03c85970e5a954d7b +MISC metadata.xml 502 SHA256 e9b584f4613f47bdbecd8bc14630d7a79103973e36fbb77254d9daeca5d8fe85 SHA512 eb40ae945675f344692bde5749de7ea287ae8ae55408ce4bc8c50932c6587d78fbf0929e003d11b8432c916d8a821af409d90038b84355fa14c96b4210cbcbc1 WHIRLPOOL 8ac352d598a33d77d78ea4c385f7ed320defce56093a3a880f383d74643ee36cb774131b32f40a16a02a3bf5fa800cfa417fd4092f0c749d29e66cf1af36bc69 diff --git a/media-video/cclive/cclive-0.9.3-r2.ebuild b/media-video/cclive/cclive-0.9.3-r2.ebuild new file mode 100644 index 000000000000..36533f233014 --- /dev/null +++ b/media-video/cclive/cclive-0.9.3-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic + +DESCRIPTION="Command line tool for extracting videos from various websites" +HOMEPAGE="http://cclive.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PV:0:3}/${P}.tar.xz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86" + +RDEPEND=" + >=media-libs/libquvi-0.4.0:0= + >=dev-cpp/glibmm-2.24:2 + >=dev-libs/boost-1.49:= + >=dev-libs/glib-2.24:2 + >=net-misc/curl-7.20 + >=dev-libs/libpcre-8.02[cxx]" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-iostream.patch #527658 + "${FILESDIR}"/${P}-boost-ver-check.patch #548310 +) + +src_configure() { + append-cxxflags -std=c++11 #567174 + econf --disable-ccl +} diff --git a/media-video/cclive/files/cclive-0.9.3-boost-ver-check.patch b/media-video/cclive/files/cclive-0.9.3-boost-ver-check.patch new file mode 100644 index 000000000000..23e69dd1b665 --- /dev/null +++ b/media-video/cclive/files/cclive-0.9.3-boost-ver-check.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/548310 + +apply boost.m4 updates to fix building w/gcc-5 + +--- a/configure ++++ b/configure +@@ -17481,8 +17481,10 @@ + boost-lib-version = BOOST_LIB_VERSION + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ grep -v '#' | + tr -d '\r' | +- $SED -n -e "/^boost-lib-version = /{s///;s/\"//g;p;q;}" >conftest.i 2>&1; then : ++ tr -s '\n' ' ' | ++ $SED -n -e "/^boost-lib-version = /{s///;s/[\" ]//g;p;q;}" >conftest.i 2>&1; then : + boost_cv_lib_version=`cat conftest.i` + fi + rm -rf conftest* diff --git a/media-video/cclive/files/cclive-0.9.3-iostream.patch b/media-video/cclive/files/cclive-0.9.3-iostream.patch new file mode 100644 index 000000000000..f7bfd074919f --- /dev/null +++ b/media-video/cclive/files/cclive-0.9.3-iostream.patch @@ -0,0 +1,80 @@ +https://github.com/legatvs/cclive/pull/2 + +From dcaed542d002cbf857e0bca1fa12f8ab501c419a Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gentoo.org> +Date: Fri, 26 Dec 2014 13:49:36 -0500 +Subject: [PATCH] Add explicit <iostream> includes, fixes build with Boost 1.56 + +See https://bugs.gentoo.org/show_bug.cgi?id=527658 and +https://bugs.gentoo.org/show_bug.cgi?id=533506 +--- + src/cc/error.h | 1 + + src/cc/input.h | 1 + + src/cc/log.h | 1 + + src/cc/options.h | 1 + + src/cc/sig.h | 1 + + 5 files changed, 5 insertions(+) + +diff --git a/src/cc/error.h b/src/cc/error.h +index c1d80ab..f6a3e6d 100644 +--- a/src/cc/error.h ++++ b/src/cc/error.h +@@ -28,6 +28,7 @@ + #include <boost/exception/get_error_info.hpp> + #include <boost/exception/errinfo_errno.hpp> + #include <boost/tuple/tuple.hpp> ++#include <iostream> + #include <cerrno> + + namespace cc +diff --git a/src/cc/input.h b/src/cc/input.h +index 98c334b..523e9fe 100644 +--- a/src/cc/input.h ++++ b/src/cc/input.h +@@ -23,6 +23,7 @@ + + #include <ccinternal> + ++#include <iostream> + #include <istream> + #include <sstream> + +diff --git a/src/cc/log.h b/src/cc/log.h +index 2b2c986..aaf3b32 100644 +--- a/src/cc/log.h ++++ b/src/cc/log.h +@@ -25,6 +25,7 @@ + + #include <boost/iostreams/filtering_stream.hpp> + #include <boost/filesystem.hpp> ++#include <iostream> + #include <fstream> + + #include <ccerror> +diff --git a/src/cc/options.h b/src/cc/options.h +index 6c45ce8..6a7e40c 100644 +--- a/src/cc/options.h ++++ b/src/cc/options.h +@@ -37,6 +37,7 @@ + #include <boost/filesystem.hpp> + #include <boost/foreach.hpp> + #include <boost/format.hpp> ++#include <iostream> + #include <fstream> + + #include <ccerror> +diff --git a/src/cc/sig.h b/src/cc/sig.h +index 56de768..cca23ad 100644 +--- a/src/cc/sig.h ++++ b/src/cc/sig.h +@@ -26,6 +26,7 @@ + #include <sys/ioctl.h> + #include <sys/types.h> + #include <unistd.h> ++#include <iostream> + #include <csignal> + #include <cstdio> + +-- +2.2.1 + diff --git a/media-video/cclive/metadata.xml b/media-video/cclive/metadata.xml new file mode 100644 index 000000000000..10ec0145fb87 --- /dev/null +++ b/media-video/cclive/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + <name>Gentoo Video project</name> + </maintainer> + <longdescription lang="en"> + Command line tool for extracting videos from Youtube, Google Video, + Dailymotion, Guba (free) and Stage6 websites + </longdescription> + <upstream> + <remote-id type="sourceforge">cclive</remote-id> + </upstream> +</pkgmetadata> |