mpv: bump version

This commit is contained in:
Sergei Reznikov
2015-04-26 18:46:40 +03:00
parent a2d0f43de3
commit 0fabfb6e12
3 changed files with 42 additions and 44 deletions

View File

@@ -7,7 +7,7 @@ HOMEPAGE="http://mpv.io"
REVISION="1" REVISION="1"
SRC_URI="https://github.com/mpv-player/mpv/archive/v$portVersion.zip" SRC_URI="https://github.com/mpv-player/mpv/archive/v$portVersion.zip"
CHECKSUM_SHA256="d2cf6f36fc1bf2bdfcd8cd4e94720c9debe62dcc503e1c056df803891ec66dc8" CHECKSUM_SHA256="fff7f9cbd83cfc9785b482b4bfa5994e88ed73bac06153f2cb141abcd365b33e"
ARCHITECTURES="x86 x86_64" ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
@@ -75,7 +75,7 @@ BUILD_PREREQUIRES="
SOURCE_DIR="mpv-$portVersion" SOURCE_DIR="mpv-$portVersion"
PATCHES="mpv_x86-0.8.2.patchset" PATCHES="mpv_x86-$portVersion.patchset"
GLOBAL_WRITABLE_FILES="settings/encoding-profiles.conf" GLOBAL_WRITABLE_FILES="settings/encoding-profiles.conf"

View File

@@ -1,42 +0,0 @@
From 5aab1c265b3d6d0339453bce590707fb2ba25a3d Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Mon, 16 Mar 2015 20:44:40 +0300
Subject: Haiku: comment out subprocess functions
* We lack spawn.h header so we can't use posix-spawn from subprocess-posix.c
* subprocess-haiku.c probably needs to be implemented
diff --git a/player/command.c b/player/command.c
index b89f7c0..71058c3 100644
--- a/player/command.c
+++ b/player/command.c
@@ -4014,7 +4014,7 @@ static void overlay_uninit(struct MPContext *mpctx)
overlay_remove(mpctx, id);
osd_set_external2(mpctx->osd, NULL);
}
-
+/*
struct subprocess_args {
struct mp_log *log;
char **args;
@@ -4047,7 +4047,7 @@ static void subprocess_detached(struct mp_log *log, char **args)
if (pthread_create(&thread, NULL, run_subprocess, p))
talloc_free(p);
}
-
+*/
struct cycle_counter {
char **args;
int counter;
@@ -4631,7 +4631,7 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd)
char *args[MP_CMD_MAX_ARGS + 1] = {0};
for (int n = 0; n < cmd->nargs; n++)
args[n] = cmd->args[n].v.s;
- subprocess_detached(mpctx->log, args);
+// subprocess_detached(mpctx->log, args);
break;
}
--
2.2.2

View File

@@ -0,0 +1,40 @@
From f12700aa37882c3ac2fcb37ae522cec6143ac584 Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Sun, 26 Apr 2015 18:39:57 +0300
Subject: Haiku: comment out subprocess functions
diff --git a/osdep/subprocess.c b/osdep/subprocess.c
index 84a1b52..beed2d0 100644
--- a/osdep/subprocess.c
+++ b/osdep/subprocess.c
@@ -22,7 +22,7 @@
#include "common/msg_control.h"
#include "subprocess.h"
-
+/*
struct subprocess_args {
struct mp_log *log;
char **args;
@@ -55,3 +55,4 @@ void mp_subprocess_detached(struct mp_log *log, char **args)
if (pthread_create(&thread, NULL, run_subprocess, p))
talloc_free(p);
}
+*/
diff --git a/player/command.c b/player/command.c
index 3556986..d914848 100644
--- a/player/command.c
+++ b/player/command.c
@@ -4615,7 +4615,7 @@ int run_command(struct MPContext *mpctx, struct mp_cmd *cmd, struct mpv_node *re
char *args[MP_CMD_MAX_ARGS + 1] = {0};
for (int n = 0; n < cmd->nargs; n++)
args[n] = cmd->args[n].v.s;
- mp_subprocess_detached(mpctx->log, args);
+// mp_subprocess_detached(mpctx->log, args);
break;
}
--
2.2.2