diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-05-05 21:22:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-05-05 21:22:39 +0000 |
commit | 84dea98054608589775d7786a5b5146200746f79 (patch) | |
tree | 7f93fe8046626cff658a20de8997ce4e08d5d739 /media-video | |
parent | Changing use flag gsm to eap-sim, fixing half of bug #254677 (diff) | |
download | gentoo-2-84dea98054608589775d7786a5b5146200746f79.tar.gz gentoo-2-84dea98054608589775d7786a5b5146200746f79.tar.bz2 gentoo-2-84dea98054608589775d7786a5b5146200746f79.zip |
Initial ebuild by me.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/cclive/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/cclive/cclive-0.4.1.ebuild | 28 | ||||
-rw-r--r-- | media-video/cclive/files/cclive-0.4.1-64bit.patch | 23 | ||||
-rw-r--r-- | media-video/cclive/metadata.xml | 13 |
4 files changed, 74 insertions, 0 deletions
diff --git a/media-video/cclive/ChangeLog b/media-video/cclive/ChangeLog new file mode 100644 index 000000000000..206d2553125a --- /dev/null +++ b/media-video/cclive/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-video/cclive +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/cclive/ChangeLog,v 1.1 2009/05/05 21:22:39 vapier Exp $ + +*cclive-0.4.1 (05 May 2009) + + 05 May 2009; Mike Frysinger <vapier@gentoo.org> +cclive-0.4.1.ebuild, + +files/cclive-0.4.1-64bit.patch, +metadata.xml: + Initial ebuild by me. + diff --git a/media-video/cclive/cclive-0.4.1.ebuild b/media-video/cclive/cclive-0.4.1.ebuild new file mode 100644 index 000000000000..8b3e3a4ccd59 --- /dev/null +++ b/media-video/cclive/cclive-0.4.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/cclive/cclive-0.4.1.ebuild,v 1.1 2009/05/05 21:22:39 vapier Exp $ + +inherit eutils + +DESCRIPTION="Command line tool for extracting videos from various websites" +HOMEPAGE="http://code.google.com/p/cclive/" +SRC_URI="http://cclive.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=net-misc/curl-7.18.0" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-64bit.patch +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README TODO +} diff --git a/media-video/cclive/files/cclive-0.4.1-64bit.patch b/media-video/cclive/files/cclive-0.4.1-64bit.patch new file mode 100644 index 000000000000..58058f399b3b --- /dev/null +++ b/media-video/cclive/files/cclive-0.4.1-64bit.patch @@ -0,0 +1,23 @@ +From: legatvs <legatvs@gmail.com> +Date: Tue, 5 May 2009 09:36:21 +0000 (+0300) +Subject: src/singleton.h: fix precision error reported on 64bit systems. +X-Git-Url: http://repo.or.cz/w/cclive.git?a=commitdiff_plain;h=6a58aa300a15112d6f5b794bc6cca105aace877d + +src/singleton.h: fix precision error reported on 64bit systems. +--- + +diff --git a/src/singleton.h b/src/singleton.h +index 93646cd..6fcc0e4 100644 +--- a/src/singleton.h ++++ b/src/singleton.h +@@ -26,8 +26,8 @@ private: + public: + Singleton() { + assert(!instance); +- int offset = (int)(T*)1 - (int)(Singleton <T>*)(T*)1; +- instance = (T*)((int)this+offset); ++ ptrdiff_t offset = (ptrdiff_t)(T*)1 - (ptrdiff_t)(Singleton <T>*)(T*)1; ++ instance = (T*)(this+offset); + } + virtual ~Singleton() { + assert(instance != 0); diff --git a/media-video/cclive/metadata.xml b/media-video/cclive/metadata.xml new file mode 100644 index 000000000000..75cfc37e6456 --- /dev/null +++ b/media-video/cclive/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>video</herd> + <maintainer> + <email>media-video@gentoo.org</email> + </maintainer> + <longdescription lang="en"> + Command line tool for extracting videos from Youtube, Google Video, + Dailymotion, Guba (free) and Stage6 websites + </longdescription> +</pkgmetadata> + |