Bump
This commit is contained in:
5
media-video/makemkv/Manifest
Normal file
5
media-video/makemkv/Manifest
Normal file
@@ -0,0 +1,5 @@
|
||||
AUX makemkv-path.patch 2153 BLAKE2B bab155f5aea1c7f5e3d1923b580b3f36115d32bf0d384a347379dd9ea80b650ea9755c641be0253c9d5b269f9aa4d2774ace89ea598b5206391794263530a84a SHA512 c7744f92ed7a5f09f0301c454afa32e4fce7251f276129917d2ce602b35f5961e629fa0328213f6e5a8d260b5964db099c44b1e870b209f7bb78712cf52b6e95
|
||||
DIST makemkv-bin-1.14.7.tar.gz 9487718 BLAKE2B ecba22794035ed022863a2f736572a0da207346d6a3e44e3ca8c319fa672228be23835201ac3b023250d1a6457b8dd37e680573c7a83c53bb8fee1e016d00096 SHA512 cdd2eae8a80b2e564b786dfef0273ef36211327e5f4932b0f580a59c1ac288d5a99a2a1fe6fa0059e0f3fec6bcbc07278e7f7580507f36ca6d01f92d47092626
|
||||
DIST makemkv-oss-1.14.7.tar.gz 4384451 BLAKE2B f2a2cff901a4c6d03286a5a4cdd54ac0f61e3c0f04d3adb4089f03fc767dda099b0d4b4e8f76a3ad0ba57fb1af85cd2ab8fb6d966f4fbed490e25250f0be283c SHA512 2e8ab96ae1c1e855ff840fffaedd7ba998021630b61e66337d1027c53b8315ef8c303016a85ae8fddbfc52ae006fadab44fd63e0f2cca3602bfd17086a52aa06
|
||||
EBUILD makemkv-1.14.7.ebuild 2982 BLAKE2B c6be006dead8d1e25329fe3a5a0d2deb2fd21d9f28e6b807c9c65b2b7717a6cb968ad0bfdddde30e771834011b3a8daca88d7c54de1331c99015dffe3329654f SHA512 0888197206f82289a7ee24e7ba8db09967a18f066e8a1349ef3d6d0c148fd43a8f0d4ae0569060592d488da44113eea34621b6fb0d5856a4d853e434ff5b6787
|
||||
MISC metadata.xml 1225 BLAKE2B c65dc32de4283f661bb1725d24d7346ad93a5cc77fc794cb41ef95174eaabd3fe17fac4ae7c4a4791170563e7ae0596c37ec734880723f9a9e81b5d991646b4d SHA512 b5730528c0efef8dc5d98248d0eaa85625b292e610cb7aa294d87f968fabdd45a6d240e66d7d2a4f0cdfc7642ad11dbaf36417b36b8895b8e50b307202ac1bb9
|
||||
59
media-video/makemkv/files/makemkv-path.patch
Normal file
59
media-video/makemkv/files/makemkv-path.patch
Normal file
@@ -0,0 +1,59 @@
|
||||
diff -Naur makemkv-oss-1.9.10.orig/libabi/src/httplinux.cpp makemkv-oss-1.9.10/libabi/src/httplinux.cpp
|
||||
--- makemkv-oss-1.9.10.orig/libabi/src/httplinux.cpp 2016-04-15 21:35:36.000000000 +0100
|
||||
+++ makemkv-oss-1.9.10/libabi/src/httplinux.cpp 2016-05-08 10:52:42.481501963 +0100
|
||||
@@ -45,7 +45,7 @@
|
||||
lurl = (char*)alloca(strlen(Url)+1);
|
||||
strcpy(lurl,Url);
|
||||
|
||||
- strcpy(argv0,"/usr/bin/wget"); argv[0]=argv0;
|
||||
+ strcpy(argv0,"wget"); argv[0]=argv0;
|
||||
strcpy(argv1,"-q"); argv[1]=argv1;
|
||||
strcpy(argv2,"-O"); argv[2]=argv2;
|
||||
strcpy(argv3,"-"); argv[3]=argv3;
|
||||
diff -Naur makemkv-oss-1.9.10.orig/makemkvgui/src/api_posix.cpp makemkv-oss-1.9.10/makemkvgui/src/api_posix.cpp
|
||||
--- makemkv-oss-1.9.10.orig/makemkvgui/src/api_posix.cpp 2016-04-15 21:35:36.000000000 +0100
|
||||
+++ makemkv-oss-1.9.10/makemkvgui/src/api_posix.cpp 2016-05-08 13:51:48.761885862 +0100
|
||||
@@ -54,8 +54,6 @@
|
||||
|
||||
if (AppName[0]==':')
|
||||
{
|
||||
- bool app_found = false;
|
||||
- const char* const* app_locations = ApGetAppLocations();
|
||||
const char* p_env = getenv("MAKEMKVCON");
|
||||
|
||||
AppName++;
|
||||
@@ -63,6 +61,13 @@
|
||||
if (p_env!=NULL)
|
||||
{
|
||||
strcpy(app_path,p_env);
|
||||
+ } else {
|
||||
+ strcpy(app_path,AppName);
|
||||
+ }
|
||||
+ } else {
|
||||
+ strcpy(app_path,AppName);
|
||||
+ }
|
||||
+/*
|
||||
app_found = true;
|
||||
} else {
|
||||
for (size_t i=0;app_locations[i]!=NULL;i++)
|
||||
@@ -105,7 +110,7 @@
|
||||
}
|
||||
strcpy(p,AppName);
|
||||
}
|
||||
-
|
||||
+*/
|
||||
strcpy(str_guiserver,"guiserver");
|
||||
strcpy(str_apver,verstr);
|
||||
|
||||
diff -Naur makemkv-oss-1.9.10.orig/makemkvgui/src/spawn_posix.cpp makemkv-oss-1.9.10/makemkvgui/src/spawn_posix.cpp
|
||||
--- makemkv-oss-1.9.10.orig/makemkvgui/src/spawn_posix.cpp 2016-04-15 21:35:36.000000000 +0100
|
||||
+++ makemkv-oss-1.9.10/makemkvgui/src/spawn_posix.cpp 2016-05-08 10:52:37.137598384 +0100
|
||||
@@ -70,7 +70,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- err = posix_spawn(&pid,argv[0],&spawn_actions,&spawn_attr,argv,envp);
|
||||
+ err = posix_spawnp(&pid,argv[0],&spawn_actions,&spawn_attr,argv,envp);
|
||||
|
||||
posix_spawn_file_actions_destroy(&spawn_actions);
|
||||
posix_spawnattr_destroy(&spawn_attr);
|
||||
113
media-video/makemkv/makemkv-1.14.7.ebuild
Normal file
113
media-video/makemkv/makemkv-1.14.7.ebuild
Normal file
@@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic linux-info xdg-utils
|
||||
|
||||
MY_P=makemkv-oss-${PV}
|
||||
MY_PB=makemkv-bin-${PV}
|
||||
|
||||
DESCRIPTION="Tool for ripping and streaming Blu-ray, HD-DVD and DVD discs"
|
||||
HOMEPAGE="http://www.makemkv.com/"
|
||||
SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz
|
||||
http://www.makemkv.com/download/${MY_PB}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+gui libav libressl"
|
||||
|
||||
QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/glibc
|
||||
dev-libs/expat
|
||||
sys-libs/zlib
|
||||
gui? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
!libav? ( >=media-video/ffmpeg-1.0.0:0= )
|
||||
libav? ( >=media-video/libav-0.8.9:0= )
|
||||
!libressl? ( dev-libs/openssl:0=[-bindist(-)] )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
media-video/ccextractor
|
||||
net-misc/wget
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
gui? ( dev-qt/qtcore:5 )
|
||||
"
|
||||
|
||||
CONFIG_CHECK="~CHR_DEV_SG"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
PATCHES=( "${FILESDIR}"/${PN}-path.patch )
|
||||
|
||||
src_configure() {
|
||||
# See bug #439380.
|
||||
replace-flags -O* -Os
|
||||
|
||||
econf \
|
||||
--enable-debug \
|
||||
--disable-noec \
|
||||
--disable-qt4 \
|
||||
$(use_enable gui) \
|
||||
$(use_enable gui qt5)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# add missing symlinks for QA
|
||||
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV}
|
||||
dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so
|
||||
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV}
|
||||
dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so
|
||||
dosym libmmbd.so.0 /usr/$(get_libdir)/libmmbd.so
|
||||
dosym libmmbd.so.0 /usr/$(get_libdir)/libmmbd.so.0.${PV}
|
||||
|
||||
cd "${WORKDIR}"/${MY_PB} || die
|
||||
|
||||
# install prebuilt bin
|
||||
dobin bin/$(usex x86 i386 ${ARCH})/makemkvcon
|
||||
|
||||
# install profiles and locales
|
||||
insinto /usr/share/MakeMKV
|
||||
doins src/share/*
|
||||
|
||||
# add symlink rather than relying on MMCCEXTRACTOR env var
|
||||
dosym ccextractor /usr/bin/mmccextr
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
|
||||
elog "While MakeMKV is in beta mode, upstream has provided a license"
|
||||
elog "to use if you do not want to purchase one."
|
||||
elog ""
|
||||
elog "See this forum thread for more information, including the key:"
|
||||
elog "http://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053"
|
||||
elog ""
|
||||
elog "Note that beta license may have an expiration date and you will"
|
||||
elog "need to check for newer licenses/releases. "
|
||||
elog ""
|
||||
elog "We previously said to copy default.mmcp.xml to ~/.MakeMKV/. This"
|
||||
elog "is no longer necessary and you should delete it from there to"
|
||||
elog "avoid warning messages."
|
||||
elog ""
|
||||
elog "MakeMKV can also act as a drop-in replacement for libaacs and"
|
||||
elog "libbdplus, allowing transparent decryption of a wider range of"
|
||||
elog "titles under players like VLC and mplayer. To enable this, set"
|
||||
elog "the following variables when launching the player:"
|
||||
elog "LIBAACS_PATH=libmmbd LIBBDPLUS_PATH=libmmbd"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
28
media-video/makemkv/metadata.xml
Normal file
28
media-video/makemkv/metadata.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chewi@gentoo.org</email>
|
||||
<name>James Le Cuirot</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
MakeMKV is your one-click solution to convert video that you own
|
||||
into free and patents-unencumbered format that can be played
|
||||
everywhere. MakeMKV is a format converter, otherwise called
|
||||
transcoder. It converts the video clips from proprietary (and
|
||||
usually encrypted) disc into a set of MKV files, preserving most
|
||||
information but not changing it in any way. The MKV format can
|
||||
store multiple video/audio tracks with all meta-information and
|
||||
preserve chapters. There are many players that can play MKV
|
||||
files nearly on all platforms, and there are tools to convert
|
||||
MKV files to many formats, including DVD and Blu-ray discs.
|
||||
|
||||
Additionally MakeMKV can instantly stream decrypted video
|
||||
without intermediate conversion to wide range of players, so you
|
||||
may watch Blu-ray and DVD discs with your favorite player on
|
||||
your favorite OS or on your favorite device.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="gui">Build the Qt5 GUI</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user