commit:     e8483eadf1ce425f0b7510f856022cec166a26ad
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 19:55:30 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 19:55:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8483ead

media-video/vlc: Several crucial ebuild fixes

- Fixed ${S}
- Removed one superfluous patch
- commented failing "rm" call
- Added "${EROOT}" to elog message

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-video/vlc/vlc-3.0.12.1-r100.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/media-video/vlc/vlc-3.0.12.1-r100.ebuild 
b/media-video/vlc/vlc-3.0.12.1-r100.ebuild
index f2ce233b2ec..86bdf686f59 100644
--- a/media-video/vlc/vlc-3.0.12.1-r100.ebuild
+++ b/media-video/vlc/vlc-3.0.12.1-r100.ebuild
@@ -17,6 +17,7 @@ if [[ ${PV} = *9999 ]] ; then
        inherit git-r3
 else
        SRC_URI="https://code.videolan.org/videolan/vlc-$(ver_cut 
1-2)/-/archive/${PV}/vlc-$(ver_cut 1-2)-${PV}.tar.gz"
+       S="${WORKDIR}/${PN}-$(ver_cut 1-2)-${PV}"
        #if [[ ${MY_P} = ${P} ]] ; then
        #       
SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz";
        #else
@@ -233,15 +234,12 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system
        "${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164
        "${FILESDIR}"/${PN}-3.0.6-fdk-aac-2.0.0.patch # bug 672290
-       "${FILESDIR}"/${PN}-3.0.8-qt-5.15.patch # TODO: upstream
        "${FILESDIR}"/${PN}-3.0.11.1-configure_lua_version.patch
        "${FILESDIR}"/${PN}-3.0.11.1-srt-1.4.2.patch # bug 758062
 )
 
 DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt )
 
-S="${WORKDIR}/${MY_P}"
-
 pkg_setup() {
        if use lua; then
                lua-single_pkg_setup
@@ -260,7 +258,7 @@ src_prepare() {
        fi
 
        # Make it build with libtool 1.5
-       rm m4/lt* m4/libtool.m4 || die
+       #rm m4/lt* m4/libtool.m4 || die
 
        # We are not in a real git checkout due to the absence of a .git 
directory.
        touch src/revision.txt || die
@@ -495,7 +493,7 @@ pkg_postinst() {
                "${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen" 
"${EROOT}/usr/$(get_libdir)/vlc/plugins/"
        else
                ewarn "We cannot run vlc-cache-gen (most likely ROOT != /)"
-               ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
+               ewarn "Please run ${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen 
manually"
                ewarn "If you do not do it, vlc will take a long time to load."
        fi
 

Reply via email to