summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-15 07:25:19 +0000
committerSam James <sam@gentoo.org>2023-02-15 07:25:59 +0000
commit182bb7a92d0e6fc1f0bc32546d53d12f40d86215 (patch)
treef34cc48128c3045ba6b07d00dd4c16d1152c6f0c /media-video/mplayer/mplayer-9999.ebuild
parentdev-python/fakeredis: Bump to 2.9.0 (diff)
downloadgentoo-182bb7a92d0e6fc1f0bc32546d53d12f40d86215.tar.gz
gentoo-182bb7a92d0e6fc1f0bc32546d53d12f40d86215.tar.bz2
gentoo-182bb7a92d0e6fc1f0bc32546d53d12f40d86215.zip
media-video/mplayer: add 1.5_p20230215 (snapshot for >=ffmpeg-5, unkw'd for now)
Unkeyworded until had some more testing (please let us know in a comment on one of the linked bugs if it works/doesn't). Bug: https://bugs.gentoo.org/876760 Bug: https://bugs.gentoo.org/888821 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/mplayer/mplayer-9999.ebuild')
-rw-r--r--media-video/mplayer/mplayer-9999.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/media-video/mplayer/mplayer-9999.ebuild b/media-video/mplayer/mplayer-9999.ebuild
index c938cefbf668..31de25e10b42 100644
--- a/media-video/mplayer/mplayer-9999.ebuild
+++ b/media-video/mplayer/mplayer-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,12 +11,16 @@ if [[ ${PV} == *9999* ]]; then
RELEASE_URI=""
inherit subversion git-r3
-elif [[ "${PV%_rc*}" == "${PV}" && "${PV%_pre*}" == "${PV}" ]]; then
+elif [[ "${PV%_rc*}" == "${PV}" && "${PV%_pre*}" == "${PV}" && "${PV%_p*}" == "${PV}" ]]; then
MY_P="MPlayer-${PV}"
S="${WORKDIR}/${MY_P}"
RELEASE_URI="mirror://mplayer/releases/${MY_P}.tar.xz"
else
- RELEASE_URI="mirror://gentoo/${P}.tar.xz"
+ # If necessary, don't be afraid to make a snapshot.
+ # http://www.mplayerhq.hu/design7/dload.html says:
+ # "We recommend to always use the latest SVN to get the all the new
+ # features and bugfixes, especially if the release date above looks old."
+ RELEASE_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
fi
FONT_URI="