summaryrefslogtreecommitdiff
path: root/media-video/ffmpeg
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-11-06 01:14:16 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-11-06 01:14:16 +0300
commit4c383f1c76995bd425bc7ec238ea05fbfe95ed8c (patch)
tree757e773459e36c95637e249e8f9433f7c6375b6c /media-video/ffmpeg
parenta4945df3f139cfbfe9ab229233baa96f07564cce (diff)
let's do forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of
forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of forks of ffmpeg congrats mpv team, cool solution
Diffstat (limited to 'media-video/ffmpeg')
-rw-r--r--media-video/ffmpeg/ffmpeg-scm.ebuild20
1 files changed, 14 insertions, 6 deletions
diff --git a/media-video/ffmpeg/ffmpeg-scm.ebuild b/media-video/ffmpeg/ffmpeg-scm.ebuild
index d5c86ea..628d5fa 100644
--- a/media-video/ffmpeg/ffmpeg-scm.ebuild
+++ b/media-video/ffmpeg/ffmpeg-scm.ebuild
@@ -16,14 +16,17 @@ EAPI=6
FFMPEG_SUBSLOT=55.57.57
SCM="git-r3"
-EGIT_REPO_URI="https://git.ffmpeg.org/ffmpeg.git"
inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec"
HOMEPAGE="http://ffmpeg.org/"
SRC_URI=""
-FFMPEG_REVISION="${PV#*_p}"
+EGIT_REPO_URI="https://git.ffmpeg.org/ffmpeg.git"
+EGIT_MPV_REPO_URI="https://github.com/mpv-player/ffmpeg-mpv.git"
+
+
+
SLOT="0/${FFMPEG_SUBSLOT}"
LICENSE="
@@ -85,11 +88,14 @@ FFMPEG_ENCODER_FLAG_MAP=(
)
IUSE="
- alsa doc +encode jack oss pic static-libs test v4l
+ alsa doc +encode jack oss mpv-fork pic static-libs test v4l
${FFMPEG_FLAG_MAP[@]%:*}
${FFMPEG_ENCODER_FLAG_MAP[@]%:*}
"
+
+
+
# Strings for CPU features in the useflag[:configure_option] form
# if :configure_option isn't set, it will use 'useflag' as configure option
ARM_CPU_FEATURES=(
@@ -282,9 +288,11 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/libavutil/avconfig.h
)
-#PATCHES=(
-# "$FILESDIR"/4a98362b2b5daf7bb9c092404ac7e73e4f282963.diff
-#)
+
+src_unpack() {
+ use mpv-fork && EGIT_REPO_URI=$EGIT_MPV_REPO_URI
+ git-r3_src_unpack
+}
src_prepare() {
if [[ "${PV%_p*}" != "${PV}" ]] ; then # Snapshot