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-libs/libdv |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libdv')
-rw-r--r-- | media-libs/libdv/Manifest | 8 | ||||
-rw-r--r-- | media-libs/libdv/files/libdv-0.99-2.6.patch | 17 | ||||
-rw-r--r-- | media-libs/libdv/libdv-1.0.0-r2.ebuild | 47 | ||||
-rw-r--r-- | media-libs/libdv/libdv-1.0.0-r3.ebuild | 51 | ||||
-rw-r--r-- | media-libs/libdv/metadata.xml | 10 |
5 files changed, 133 insertions, 0 deletions
diff --git a/media-libs/libdv/Manifest b/media-libs/libdv/Manifest new file mode 100644 index 000000000000..780f1f69840e --- /dev/null +++ b/media-libs/libdv/Manifest @@ -0,0 +1,8 @@ +AUX libdv-0.99-2.6.patch 439 SHA256 7199ef39770c41be92e845e767800fd7b21979408d0466d4f05f33e734f32b81 SHA512 acc1923c8ef8bde6dcbb9159d5308c4477c5b6dc240bc521500b5cbe4143a69e19897f0b1d571f22a3580aa4e8cd00c00767346317b8b0be57fafd5bf09321cd WHIRLPOOL dfb9305fe054b11f3a9421ab89b5889787777a334b18894a967c6368a7fd3fb8fe18a4371392731129c7fd4c0930ee2f59a2d9954e3f171dfc637dff5d78d413 +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 +EBUILD libdv-1.0.0-r2.ebuild 1041 SHA256 edf3b666271801957eb3b6d49834f89e98f08a885fbe87d61928edcf27a81ce1 SHA512 7eda2a750a40693fd5ed7eb8b82432cec0670f06969913fe6ee70f484a3166812ead87db827a42506fb1fa42d4ebb2539c64d01620913a11cb42661749d23a93 WHIRLPOOL 434eda0264a914f629391ff1b04a6d95e95f67e7ad26849181c09add2f3b0a2aefb5a25fba9db988ef771254bcde7e2188d74cf6688708eda0d123d7c1093f14 +EBUILD libdv-1.0.0-r3.ebuild 1248 SHA256 f988253a55a089bb0a6bd715e5934b12ea94e5688da7865733e5d45548cf1f49 SHA512 6392fc62e55ae5cdc569cc8cb7fcc316a41e7f8e7456fcf4ce4a91e2383483519f7f1e25e3faa74eb7591f4739a47dca7f347cb3f8f5b7f1dce0016ea43d0ced WHIRLPOOL c716ef87c8575100dbcf9bb5b722b333959e8f59e6912b483776435008cb62ef97f7e3f267771ad6ff3559168fe1f6f7d50de8f16835968a92b3a50f768e9af1 +MISC ChangeLog 2514 SHA256 4d862b5901eb9ab42edce6f9b9218a0a97f59f1a47fee877f946fef5a9d6234a SHA512 0530a388cf90f59103079fec7a0f98b8f00b43c6e3114484ae7fc2cf7cc89713b9d5dc9b1235b8c3e9c9c2fdf316670bff292d19e7d7ee65567030fee9f90cf3 WHIRLPOOL 1c3be588deb360f5ee548be6bf5ad7fe519afd1ec731233b5c5b9f85205e9f95f691849b8fae5b87976647dfd4ba858c8f072b2302368156d5f4e22a5aaeda00 +MISC ChangeLog-2015 12831 SHA256 efc6407b1f2e6fe24f42e6deded5bcdcb0fa917abf68abbde763a0163142a999 SHA512 8d6a33af7abda31737f6ab4208e7b250cc9cba9f23e4e635a5c0a60441499cd0e6c0a4a85511bd4d55acc548ec95a38631b6a97c10518a8665c7c8dd8c61dd87 WHIRLPOOL 6757c116faa450346b6957e9ccac7da20303ea3b7343b8ee0e9f61209e7cf7423fd507990c4c0785a866e6e9f5790b5052d333da7b60de0f75f5ec6c3b4114a9 +MISC metadata.xml 298 SHA256 cd226c55457bb53e02d1bad40f81f43dc5656b09e4884868e8edc3ea110b6569 SHA512 7a9face79c85c9ddf6e562db5fe3c1702c20147adec5564dfb67695e5be198732c57d5592985466432ebf9201704dc848b9e8b73f9483096c942f0c5ecf87cb7 WHIRLPOOL 6944c69d49485f62ae76ddb81b8d79e15fffbb0cc4ce55975f1da6c93fe3745e25786dc275e2ac44bcbe655eade7d7f8201783df50e01245651cf93099067b4c 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..20d6cbfa73de --- /dev/null +++ b/media-libs/libdv/libdv-1.0.0-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit epatch epunt-cxx 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..719e93034b4a --- /dev/null +++ b/media-libs/libdv/libdv-1.0.0-r3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit epatch epunt-cxx libtool ltprune 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 ~arm64 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..0e875478851c --- /dev/null +++ b/media-libs/libdv/metadata.xml @@ -0,0 +1,10 @@ +<?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> + </maintainer> + <upstream> + <remote-id type="sourceforge">libdv</remote-id> + </upstream> +</pkgmetadata> |