[gentoo-commits] repo/proj/prefix:master commit in: media-libs/libdv/, media-libs/libdv/files/

2019-06-18 Thread Fabian Groffen
commit: b3e23092a72b3390bfe4823cec9b383a242b8c29
Author: Fabian Groffen  gentoo  org>
AuthorDate: Tue Jun 18 13:01:56 2019 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Tue Jun 18 13:01:56 2019 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=b3e23092

media-libs/libdv: migrated to gx86

Signed-off-by: Fabian Groffen  gentoo.org>

 media-libs/libdv/Manifest|   2 -
 media-libs/libdv/files/libdv-0.99-2.6.patch  |  17 ---
 media-libs/libdv/files/libdv-1.0.0-darwin.patch  |  52 
 media-libs/libdv/files/libdv-1.0.0-solaris.patch | 153 ---
 media-libs/libdv/libdv-1.0.0-r3.ebuild   |  52 
 media-libs/libdv/metadata.xml|  10 --
 6 files changed, 286 deletions(-)

diff --git a/media-libs/libdv/Manifest b/media-libs/libdv/Manifest
deleted file mode 100644
index 29ddb2bf12..00
--- a/media-libs/libdv/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST libdv-1.0.0-pic.patch.bz2 9771 BLAKE2B 
b8a597b5fb5facab05845dae1d08a84a17067804ef873b97b7f975a96c622a5cf3b2bbb17d3f5a364dd1aba1afbf3dbf2b18695f9ae8ccf3fcc478b3d7a17a4f
 SHA512 
18fbc341f9a9349f2325c4cbdf2fcf60bf0b35e2efeaacb9a3e541ace4ab2ffcf64d18409b2d76fd40c6096a69ffd151c2bdc8c33411d1640f150202eef12021
-DIST libdv-1.0.0.tar.gz 574565 BLAKE2B 
42d17b07501fa508630afd1cdbaee9378f657a4ee4b77666f1a147ddfcf5a9d67d90e0a6da53bfe4f2b5418984579322565c9e8c76516e8193e75bd4751a731c
 SHA512 
19887a6f452fa7da8924901ad841f5c4a434a3bde56c932ddb43717592aa744281e3a8ad220231e11d7e6bc3b0e704952a8324e5f85d4e088675edceeeca7dc8

diff --git a/media-libs/libdv/files/libdv-0.99-2.6.patch 
b/media-libs/libdv/files/libdv-0.99-2.6.patch
deleted file mode 100644
index c2663be353..00
--- a/media-libs/libdv/files/libdv-0.99-2.6.patch
+++ /dev/null
@@ -1,17 +0,0 @@
 libdv-0.99/libdv/enc_input.c   2002-12-31 23:04:02.0 +
-+++ libdv-0.99/libdv/enc_input.c.plasmaroo 2003-12-30 16:42:19.0 
+
-@@ -48,13 +48,13 @@
- 
- #if HAVE_DEV_VIDEO
- #include 
--#include 
- #include 
- #include 
- #include 
- #include 
- #include 
- #include 
-+#include 
- #endif
- 
- // #define ARCH_X86 0

diff --git a/media-libs/libdv/files/libdv-1.0.0-darwin.patch 
b/media-libs/libdv/files/libdv-1.0.0-darwin.patch
deleted file mode 100644
index c6d48d5a69..00
--- a/media-libs/libdv/files/libdv-1.0.0-darwin.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-* grob...@gentoo.org: Darwin 8 lacks sched_setscheduler
-
-https://sourceforge.net/tracker/index.php?func=detail&aid=2606558&group_id=4393&atid=304393
-
 configure.ac
-+++ configure.ac
-@@ -244,7 +244,7 @@
- 
- dnl Checks for library functions.
- AC_FUNC_MMAP
--AC_CHECK_FUNCS(gettimeofday)
-+AC_CHECK_FUNCS(gettimeofday sched_get_priority_max sched_setscheduler)
- 
- AC_SUBST(ac_aux_dir)
- AC_SUBST(RPM_RELEASE)
 configure
-+++ configure
-@@ -22621,7 +22621,7 @@
- rm -f conftest.mmap
- 
- 
--for ac_func in gettimeofday
-+for ac_func in gettimeofday sched_get_priority_max sched_setscheduler
- do
- as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- { echo "$as_me:$LINENO: checking for $ac_func" >&5
 config.h.in
-+++ config.h.in
-@@ -24,6 +24,12 @@
- /* Define to 1 if you have the `gettimeofday' function. */
- #undef HAVE_GETTIMEOFDAY
- 
-+/* Define to 1 if you have the `sched_get_priority_max' function. */
-+#undef HAVE_SCHED_GET_PRIORITY_MAX
-+
-+/* Define to 1 if you have the `sched_setscheduler' function. */
-+#undef HAVE_SCHED_SETSCHEDULER
-+
- /* Define as 1 if you have gtk */
- #undef HAVE_GTK
- 
 encodedv/dvconnect.c
-+++ encodedv/dvconnect.c
-@@ -860,7 +860,7 @@
- 
- int rt_raisepri (int pri)
- {
--#ifdef _SC_PRIORITY_SCHEDULING
-+#if defined(_SC_PRIORITY_SCHEDULING) && defined(HAVE_SCHED_GET_PRIORITY_MAX) 
&& defined(HAVE_SCHED_SETSCHEDULER)
-   struct sched_param scp;
- 
-   /*

diff --git a/media-libs/libdv/files/libdv-1.0.0-solaris.patch 
b/media-libs/libdv/files/libdv-1.0.0-solaris.patch
deleted file mode 100644
index e9cb440022..00
--- a/media-libs/libdv/files/libdv-1.0.0-solaris.patch
+++ /dev/null
@@ -1,153 +0,0 @@
-* grob...@gentoo.org: patches for Solaris, include sys/filio.h for
-  _IOWR, need -lrt for sched_* funcs
-
-https://sourceforge.net/tracker/index.php?func=detail&aid=2603455&group_id=4393&atid=304393
-
 configure.ac
-+++ configure.ac
-@@ -208,6 +208,8 @@
- 
- 
- AC_CHECK_LIB(m, sqrt)
-+# Solaris has sched_* in -lrt
-+AC_CHECK_LIB(rt, sched_get_priority_max)
- 
- dnl Don't bother with popt on non-gcc build, because we make heavy use of 
- dnl gcc struct initialization extension in our popt code.  (Could be fixed)
-@@ -231,7 +231,7 @@
- AC_PATH_X
- AC_HEADER_STDC
- AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h linux/videodev.h sys/soundcard.h 
\
--endian.h machine/endian.h inttypes.h)
-+endian.h machine/endian.h inttypes.h sys/filio.h)
- 
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST
 c

[gentoo-commits] repo/proj/prefix:master commit in: media-libs/libdv/

2019-03-24 Thread Fabian Groffen
commit: 77efc886e0a4dc40af4cd7755f453d07205ca81d
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Mar 24 11:03:08 2019 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Mar 24 11:03:08 2019 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=77efc886

media-libs/libdv: align with gx86

Package-Manager: Portage-2.3.62-prefix, Repoman-2.3.12
Signed-off-by: Fabian Groffen  gentoo.org>

 media-libs/libdv/libdv-1.0.0-r3.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/media-libs/libdv/libdv-1.0.0-r3.ebuild 
b/media-libs/libdv/libdv-1.0.0-r3.ebuild
index 03e8729967..8eff6e1601 100644
--- a/media-libs/libdv/libdv-1.0.0-r3.ebuild
+++ b/media-libs/libdv/libdv-1.0.0-r3.ebuild
@@ -1,6 +1,5 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-1.0.0-r3.ebuild,v 
1.7 2014/07/28 13:45:41 ago Exp $
 
 EAPI=4
 
@@ -39,8 +38,7 @@ multilib_src_configure() {
--without-debug \
--disable-gtk \
--disable-gtktest \
-   $(use x86-macos && echo "--disable-asm") \
-   $(use x64-macos && echo "--disable-asm")
+   $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
if ! multilib_is_native_abi ; then
sed -i \
-e 's/ encodedv//' \



[gentoo-commits] repo/proj/prefix:master commit in: media-libs/libdv/

2019-03-24 Thread Fabian Groffen
commit: dcd2895f54ae6cf0682b42d8ba8145a52aa2ce7e
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Mar 24 10:45:33 2019 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Mar 24 10:45:33 2019 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=dcd2895f

media-libs/libdv: cleanup, sync

Package-Manager: Portage-2.3.62-prefix, Repoman-2.3.12
Signed-off-by: Fabian Groffen  gentoo.org>

 media-libs/libdv/libdv-1.0.0-r2.ebuild | 52 --
 media-libs/libdv/libdv-1.0.0-r3.ebuild |  8 ++
 2 files changed, 3 insertions(+), 57 deletions(-)

diff --git a/media-libs/libdv/libdv-1.0.0-r2.ebuild 
b/media-libs/libdv/libdv-1.0.0-r2.ebuild
deleted file mode 100644
index 72ee0ad8c6..00
--- a/media-libs/libdv/libdv-1.0.0-r2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-1.0.0-r2.ebuild,v 
1.14 2012/05/17 14:19:31 aballier Exp $
-
-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="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~x86-solaris"
-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
-   epatch "${FILESDIR}"/${PN}-1.0.0-solaris.patch
-   epatch "${FILESDIR}"/${PN}-1.0.0-darwin.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) \
-   $(use x86-macos && echo "--disable-asm") \
-   $(use x64-macos && echo "--disable-asm")
-}
-
-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
index f3ebe71d92..03e8729967 100644
--- a/media-libs/libdv/libdv-1.0.0-r3.ebuild
+++ b/media-libs/libdv/libdv-1.0.0-r3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-1.0.0-r3.ebuild,v 
1.7 2014/07/28 13:45:41 ago Exp $
 
 EAPI=4
 
-inherit eutils libtool flag-o-matic multilib-minimal
+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/";
@@ -16,9 +16,7 @@ SLOT="0"
 KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~x86-solaris"
 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(-)] )"
+RDEPEND="dev-libs/popt"
 DEPEND="${RDEPEND}
virtual/pkgconfig"