summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libdv
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libdv')
-rw-r--r--media-libs/libdv/Manifest2
-rw-r--r--media-libs/libdv/files/libdv-0.99-2.6.patch17
-rw-r--r--media-libs/libdv/libdv-1.0.0-r2.ebuild48
-rw-r--r--media-libs/libdv/libdv-1.0.0-r3.ebuild52
-rw-r--r--media-libs/libdv/metadata.xml11
5 files changed, 130 insertions, 0 deletions
diff --git a/media-libs/libdv/Manifest b/media-libs/libdv/Manifest
new file mode 100644
index 000000000000..2bd5f7b65c11
--- /dev/null
+++ b/media-libs/libdv/Manifest
@@ -0,0 +1,2 @@
+DIST libdv-1.0.0-pic.patch.bz2 9771 SHA256 474a50d373e39dd8a0dac0b22f089e957d752145712f97f987ad18028f6d6a5e SHA512 18fbc341f9a9349f2325c4cbdf2fcf60bf0b35e2efeaacb9a3e541ace4ab2ffcf64d18409b2d76fd40c6096a69ffd151c2bdc8c33411d1640f150202eef12021 WHIRLPOOL e06d6c6a5919302572dc99f0cabdbf6f7c9c2ed7c203b2d1d1da39f054678892510ef9532c134f8e32de6b5449e2812e9e4b13750306ab1abee2ab6ebb6cefb3
+DIST libdv-1.0.0.tar.gz 574565 SHA256 a305734033a9c25541a59e8dd1c254409953269ea7c710c39e540bd8853389ba SHA512 19887a6f452fa7da8924901ad841f5c4a434a3bde56c932ddb43717592aa744281e3a8ad220231e11d7e6bc3b0e704952a8324e5f85d4e088675edceeeca7dc8 WHIRLPOOL 4b6fdeabf3c6d0ac0c3dc53a997dd4fce8ea569c1b1ae83b443ece6401cfef19593b72f33110f4f53eea88e3ec3372b509320d9987c6643af85301001b48e32e
diff --git a/media-libs/libdv/files/libdv-0.99-2.6.patch b/media-libs/libdv/files/libdv-0.99-2.6.patch
new file mode 100644
index 000000000000..c2663be353d4
--- /dev/null
+++ b/media-libs/libdv/files/libdv-0.99-2.6.patch
@@ -0,0 +1,17 @@
+--- libdv-0.99/libdv/enc_input.c 2002-12-31 23:04:02.000000000 +0000
++++ libdv-0.99/libdv/enc_input.c.plasmaroo 2003-12-30 16:42:19.000000000 +0000
+@@ -48,13 +48,13 @@
+
+ #if HAVE_DEV_VIDEO
+ #include <sys/types.h>
+-#include <linux/videodev.h>
+ #include <sys/time.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
++#include <linux/videodev.h>
+ #endif
+
+ // #define ARCH_X86 0
diff --git a/media-libs/libdv/libdv-1.0.0-r2.ebuild b/media-libs/libdv/libdv-1.0.0-r2.ebuild
new file mode 100644
index 000000000000..7b0dd9a08567
--- /dev/null
+++ b/media-libs/libdv/libdv-1.0.0-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils libtool
+
+DESCRIPTION="Software codec for dv-format video (camcorders etc)"
+HOMEPAGE="http://libdv.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://gentoo/${PN}-1.0.0-pic.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="debug sdl static-libs xv"
+
+RDEPEND="dev-libs/popt
+ sdl? ( >=media-libs/libsdl-1.2.5 )
+ xv? ( x11-libs/libXv )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog INSTALL NEWS TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.99-2.6.patch
+ epatch "${WORKDIR}"/${PN}-1.0.0-pic.patch
+ elibtoolize
+ epunt_cxx #74497
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with debug) \
+ --disable-gtk \
+ --disable-gtktest \
+ $(use_enable sdl) \
+ $(use_enable xv)
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
diff --git a/media-libs/libdv/libdv-1.0.0-r3.ebuild b/media-libs/libdv/libdv-1.0.0-r3.ebuild
new file mode 100644
index 000000000000..03457d422188
--- /dev/null
+++ b/media-libs/libdv/libdv-1.0.0-r3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils libtool flag-o-matic multilib-minimal
+
+DESCRIPTION="Software codec for dv-format video (camcorders etc)"
+HOMEPAGE="http://libdv.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://gentoo/${PN}-1.0.0-pic.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND="dev-libs/popt
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r12
+ !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog INSTALL NEWS TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.99-2.6.patch
+ epatch "${WORKDIR}"/${PN}-1.0.0-pic.patch
+ elibtoolize
+ epunt_cxx #74497
+
+ append-cppflags "-I${S}"
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ --without-debug \
+ --disable-gtk \
+ --disable-gtktest
+ if ! multilib_is_native_abi ; then
+ sed -i \
+ -e 's/ encodedv//' \
+ Makefile || die
+ fi
+}
+
+multilib_src_install_all() {
+ prune_libtool_files --all
+ einstalldocs
+}
diff --git a/media-libs/libdv/metadata.xml b/media-libs/libdv/metadata.xml
new file mode 100644
index 000000000000..dbae49788e6e
--- /dev/null
+++ b/media-libs/libdv/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>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">libdv</remote-id>
+ </upstream>
+</pkgmetadata>