summaryrefslogtreecommitdiff
path: root/media-video/lxdvdrip
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-22 09:45:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-22 09:45:59 +0100
commit994ddedfa7bbe42aa3de4aa9ae3e58960bbdd94e (patch)
tree81561a97855bcb9d79784fb246dbdc9249d38274 /media-video/lxdvdrip
parent102518876412b49c154cd247f5891927304dd8cc (diff)
gentoo auto-resync : 22:08:2023 - 09:45:59
Diffstat (limited to 'media-video/lxdvdrip')
-rw-r--r--media-video/lxdvdrip/Manifest2
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.77-clang-16-build.patch38
-rw-r--r--media-video/lxdvdrip/lxdvdrip-1.77-r2.ebuild51
3 files changed, 91 insertions, 0 deletions
diff --git a/media-video/lxdvdrip/Manifest b/media-video/lxdvdrip/Manifest
index c71b624f2e6f..cb67d5310cf1 100644
--- a/media-video/lxdvdrip/Manifest
+++ b/media-video/lxdvdrip/Manifest
@@ -1,5 +1,7 @@
+AUX lxdvdrip-1.77-clang-16-build.patch 853 BLAKE2B 9f31cf8d7ff05df5a98bceb4887251d74695f48a12043cc798a8abcf8c05f85347f1612fd100829df3c6527a6bd45369bcf1eeb371b9ac572a8fd02eb777a227 SHA512 d1d7d89759fdc399d8823e2a93b6e2af537d10deaf9e35b7d2375e5110506d7e0a8819f553d1cacba90adbc2b257b292e0c9c5c21d7fefa7a62b46d65f887e3a
AUX lxdvdrip-1.77-makefile.patch 1268 BLAKE2B f5bd7e75731ef372977684437bcb871ab405a5d14fd54f4e1bcc6a861c54dfd94ae4f2c4fd50e6fcd4bc120ed9fc351154a7fadefee615fd6c0457b25e8941ae SHA512 cb9903fe4921b1925cda6fe4d09725b1c0668a9c7f59cba603f0cb8e2a973e11ac8b67019fc4f9ea7ed36934d40d7c4bc0442d98b01d3acbef92742fd084ad42
AUX lxdvdrip-1.77-vamps-makefile.patch 383 BLAKE2B bb9988a657d8573762b48822cd5a3386aa2da5b17f60b5257b478963f5f5a37eeb9e261f9d3eae585830ca27fdd7d66f8b4073790e0cae7209f3d5527ae81c39 SHA512 4ed8227ca7d25ab7c045f8307b2894b1b5ed903559c7a2436ba7ac3c1fe9a2153778320a0653cec955ce15a5a388b2aab87006b64f777f7d6488558c401ab295
DIST lxdvdrip-1.77.tgz 714310 BLAKE2B 07ec19bc7ecd3c8dbe4be50b0f100f9e4ecd04cc09aedb6b0a24a0a1b3396e20628db611bb34ab1a53bbb32c887d34fe67c4002dbc220eb0802a28d1f1754a7b SHA512 d9b3003d52b90ad0f6c02054cb3171b4613b4210b5681c76f2e6e42d4a233438b1323c93b92457fd2e048e7ddef0df2089d82ea8bf3f9983c453ff99f122cca3
EBUILD lxdvdrip-1.77-r1.ebuild 1003 BLAKE2B fdc4c49e79b5b3c1113e7b8a6920eb899a276938123ce96861ad6ceb2db6191513912751019ba70c9434bcefc4ca96e36281fcf99814af7d34f4b006894bc56d SHA512 34bcaf7858a98f0604a6aa89667f3a1ec5f9999d12e71ba267cfb95b3db67ec9e50fb17b3ac2850207d72d55e42ecad92c88ece9cc6afa1dc9fb95a708247d8b
+EBUILD lxdvdrip-1.77-r2.ebuild 1044 BLAKE2B 8034d6a1d41bfb59a2655d9fa2a9ed0f15e88435ad39338eae156fead8d6489677fecd3a0f02158bcda9486fdcf41ccc2af9a3d9c5565f3a358b0fa298caad48 SHA512 6ed1f21f368e9542149abb36ecc417fce2d96d5b35ac7bb85b4349cc7591aba8e42f719a381d5a0e54a59e60f4e713923f48d9d0e43ce28f7d32630caa8ec5f8
MISC metadata.xml 302 BLAKE2B 015155927bddbdf0da4bc053cf75a7f740e5fde1797d81ca2d852fae9e8c7fba173aab230f662040d9d3743355a80cf3e7225de454d4b506fd3e300fa9935ef2 SHA512 3abc4aa4ae66c40a1683ea378ca7149da05a6fef64334fc42b266d431cf9007f01304bc5730f14647be36d8031092c45e95d05e8c24e03cb9b51fc35a20d26ce
diff --git a/media-video/lxdvdrip/files/lxdvdrip-1.77-clang-16-build.patch b/media-video/lxdvdrip/files/lxdvdrip-1.77-clang-16-build.patch
new file mode 100644
index 000000000000..98f1ae30220d
--- /dev/null
+++ b/media-video/lxdvdrip/files/lxdvdrip-1.77-clang-16-build.patch
@@ -0,0 +1,38 @@
+https://bugs.gentoo.org/885573
+--- a/dvdbackup.c
++++ b/dvdbackup.c
+@@ -30,6 +30,7 @@ COMMENTAIRE :
+
+ #include "const.h"
+ #include "dvdformat.h"
++#include "dvdcopy.h"
+ #include "dvdinfo.h"
+ #include "globals.h"
+ #include "systools.h"
+--- a/dvdcopy.h
++++ b/dvdcopy.h
+@@ -14,6 +14,7 @@ COMMENTAIRE :
+
+ #ifndef __DVDCOPY_H__
+ #define __DVDCOPY_H__
++#include <dvdread/ifo_read.h>
+ /*@$#[dvdcopy.c] global proto. AutoProtoSigV1.1. date: 106/01/05 21:32:04 */
+ #include "proto.h"
+ #ifdef __cplusplus
+--- a/systools.c
++++ b/systools.c
+@@ -20,12 +20,8 @@ COMMENTAIRE :
+ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#if defined(__sun)
+-# include <sys/statvfs.h>
+-# include <sys/ioctl.h>
+-#else
+-# include <sys/statfs.h>
+-#endif
++#include <sys/statfs.h>
++#include <sys/ioctl.h>
+ #include <fcntl.h>
+ #include <unistd.h>
+ #if defined(__sun)
diff --git a/media-video/lxdvdrip/lxdvdrip-1.77-r2.ebuild b/media-video/lxdvdrip/lxdvdrip-1.77-r2.ebuild
new file mode 100644
index 000000000000..e1f495467a8e
--- /dev/null
+++ b/media-video/lxdvdrip/lxdvdrip-1.77-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Command line tool to automate the process of ripping and burning DVDs"
+HOMEPAGE="https://sourceforge.net/projects/lxdvdrip/"
+SRC_URI="mirror://sourceforge/lxdvdrip/${P}.tgz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="media-libs/libdvdread"
+RDEPEND="${DEPEND}
+ >=media-video/dvdauthor-0.6.9
+ media-video/streamdvd
+ media-video/mpgtx
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-makefile.patch
+ "${FILESDIR}"/${P}-vamps-makefile.patch
+ "${FILESDIR}"/${P}-clang-16-build.patch
+)
+
+src_compile() {
+ tc-export CC
+ emake
+ emake -C vamps
+}
+
+src_install() {
+ dobin lxdvdrip
+ dobin lxac3scan
+ dodoc doc-pak/Changelog* doc-pak/Credits doc-pak/Debugging.*
+ dodoc doc-pak/lxdvdrip.conf* doc-pak/README*
+ doman lxdvdrip.1
+
+ insinto /usr/share
+ doins lxdvdrip.wav
+
+ insinto /etc
+ newins doc-pak/lxdvdrip.conf.EN lxdvdrip.conf
+
+ cd vamps || die
+ emake PREFIX="${D}/usr" install
+}