summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-07-10 12:14:17 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-07-10 12:23:08 +0100
commit23368b935cdfbc6c29a956745d5e651b6c16ff2a (patch)
tree73225805c4988d27dfecf018d77e6ab5ce8b05cd /media-video/makemkv
parenthaskell-cabal.eclass: unify error message for unsupported EAPI (diff)
downloadgentoo-23368b935cdfbc6c29a956745d5e651b6c16ff2a.tar.gz
gentoo-23368b935cdfbc6c29a956745d5e651b6c16ff2a.tar.bz2
gentoo-23368b935cdfbc6c29a956745d5e651b6c16ff2a.zip
media-video/makemkv: Bump to 1.16.4, drop old 1.16.3
Adds missing optional Java dependency. The package has included a precompiled jar for a while. The sources are included but only for license compliance. Actually building them is probably more hassle than it's worth. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-video/makemkv')
-rw-r--r--media-video/makemkv/Manifest4
-rw-r--r--media-video/makemkv/makemkv-1.16.4.ebuild (renamed from media-video/makemkv/makemkv-1.16.3.ebuild)17
-rw-r--r--media-video/makemkv/metadata.xml3
3 files changed, 18 insertions, 6 deletions
diff --git a/media-video/makemkv/Manifest b/media-video/makemkv/Manifest
index 00e323e19eeb..6659e450f4a3 100644
--- a/media-video/makemkv/Manifest
+++ b/media-video/makemkv/Manifest
@@ -1,2 +1,2 @@
-DIST makemkv-bin-1.16.3.tar.gz 15309313 BLAKE2B 34cbf3ee5400a21a4c9f3f71e95afeb2129bda69daa4743321c3aff9ad8bf2c8f703fbf63e45720612b5305efb04484fd1a5719af74398fde2a15a3f982d65b4 SHA512 0806d8f9adde605efeff5d551ba721d9f400c8643e78ec562425aec1af33bb429e2816c5b9cf2e4a1b1efe4161f5d2623a182799d75c9833f045f5420bf13543
-DIST makemkv-oss-1.16.3.tar.gz 6536679 BLAKE2B 63d119dff4098b47cafbe63112118922f77404f1d9353f8aae944be105754a6662db576d318522436ce5d4121528e5b9cc06829e30787120928e8be881d953d6 SHA512 a620141cbaeb621feb5746a753eb448b181d9c795d0f78fad0659baeea21ebf8c6ce925b24f8b7d6844f92b0438a36a32fbac7c7260858e26116d55832a233c0
+DIST makemkv-bin-1.16.4.tar.gz 15455839 BLAKE2B 5d29416beeb06f5fc66db39e5323de4d3491b120ec1b734183c9aaf937baf8a63a277ddb378b668d9659c34449c474e2ab9a7bb82a448f33de85abf82e5e791b SHA512 d2d12a18ef64e77d7a47e1e68ced265fbd2071fd60fb8118085c2b8c892132e9ef81f1a54c09e5f45be6f880a91cef3bb25ed5e86e3735f5b449c6b7fb88a72f
+DIST makemkv-oss-1.16.4.tar.gz 6536730 BLAKE2B 8f5167c6b5056f9ea38a47b60875aac8394c130b40f08ef7a102f00937c34feb58e6436a9140509da9fc2d2b835956dede6bd8485827f3037b2026b0421a7094 SHA512 e25b41cbc348a49f13914af6b2dd040376c7517273dd4f49dc68fe9e363e28e336fb6d3d525b190c11d70e7c9b7127ffabdd89b3130cd1aab55a6a6f708d7452
diff --git a/media-video/makemkv/makemkv-1.16.3.ebuild b/media-video/makemkv/makemkv-1.16.4.ebuild
index 796c9cd05727..ea05fb9afbb4 100644
--- a/media-video/makemkv/makemkv-1.16.3.ebuild
+++ b/media-video/makemkv/makemkv-1.16.4.ebuild
@@ -16,14 +16,16 @@ SRC_URI="http://www.makemkv.com/download/${MY_P}.tar.gz
LICENSE="GPL-2 LGPL-2.1 MPL-1.1 MakeMKV-EULA openssl"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE="+gui "
+IUSE="+gui +java"
RESTRICT="bindist mirror"
QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec"
DEPEND="
- sys-libs/glibc
dev-libs/expat
+ dev-libs/openssl:0=[-bindist(-)]
+ >=media-video/ffmpeg-1.0.0:0=
+ sys-libs/glibc
sys-libs/zlib
gui? (
dev-qt/qtcore:5
@@ -31,12 +33,11 @@ DEPEND="
dev-qt/qtgui:5
dev-qt/qtwidgets:5
)
- >=media-video/ffmpeg-1.0.0:0=
- dev-libs/openssl:0=[-bindist(-)]
"
RDEPEND="
${DEPEND}
net-misc/wget
+ java? ( >=virtual/jre-1.8 )
"
BDEPEND="
virtual/pkgconfig
@@ -51,6 +52,14 @@ PATCHES=(
"${FILESDIR}"/${PN}-flags.patch
)
+src_prepare() {
+ default
+
+ if ! use java; then
+ rm -v "${WORKDIR}/${MY_PB}"/src/share/blues.* || die
+ fi
+}
+
src_configure() {
# See bug #439380.
replace-flags -O* -Os
diff --git a/media-video/makemkv/metadata.xml b/media-video/makemkv/metadata.xml
index 613533077af0..3f3bb44be835 100644
--- a/media-video/makemkv/metadata.xml
+++ b/media-video/makemkv/metadata.xml
@@ -5,6 +5,9 @@
<email>chewi@gentoo.org</email>
<name>James Le Cuirot</name>
</maintainer>
+ <use>
+ <flag name="java">Handle additional Blu-ray protection mechanisms involving Java</flag>
+ </use>
<longdescription>
MakeMKV is your one-click solution to convert video that you own
into free and patents-unencumbered format that can be played