media-video/makemkv: Install everything to /usr, not some to /opt
authorJames Le Cuirot <chewi@gentoo.org>
Sun, 8 May 2016 13:21:19 +0000 (14:21 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Sun, 8 May 2016 16:26:51 +0000 (17:26 +0100)
makemkvcon looks for files in ../share/MakeMKV. Installing them to
/opt/share/MakeMKV is a bit weird and using /opt requires patching so
it's not exactly supported by upstream.

This means installing prebuilt binaries to /usr but we were previously
having to install a freshly-built binary to /opt so we're screwing FHS
either way. ;)

Package-Manager: portage-2.2.28

media-video/makemkv/makemkv-1.9.10.ebuild

index 57fd31dec8e6c4c10f1176c90ca7c40dada02d11..cb90134e49746ec9ac393f06ae94034de8c6135b 100644 (file)
@@ -20,7 +20,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="libav multilib qt4 qt5"
 REQUIRED_USE="?? ( qt4 qt5 )"
 
-QA_PREBUILT="opt/bin/makemkvcon opt/bin/mmdtsdec"
+QA_PREBUILT="usr/bin/makemkvcon usr/bin/mmdtsdec"
 
 DEPEND="
        sys-libs/glibc[multilib?]
@@ -116,7 +116,6 @@ src_install() {
        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}
-       into /opt
 
        if use qt4 || use qt5; then
                dobin out/makemkv
@@ -165,9 +164,9 @@ pkg_postinst() {
        elog "Note that beta license may have an expiration date and you will"
        elog "need to check for newer licenses/releases. "
        elog ""
-       elog "If this is a new install, remember to copy the default profile"
-       elog "to the config directory:"
-       elog "cp /usr/share/MakeMKV/default.mmcp.xml ~/.MakeMKV/"
+       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"