diff options
-rw-r--r-- | multimedia/vlc/patch-freerdp.diff | 76 | ||||
-rw-r--r-- | multimedia/vlc/patch-freerdp_vlc221.diff (renamed from multimedia/vlc/patch-freerdp_1_2.diff) | 23 | ||||
-rw-r--r-- | multimedia/vlc/vlc.SlackBuild | 9 | ||||
-rw-r--r-- | multimedia/vlc/vlc.info | 6 |
4 files changed, 11 insertions, 103 deletions
diff --git a/multimedia/vlc/patch-freerdp.diff b/multimedia/vlc/patch-freerdp.diff deleted file mode 100644 index c1f4f23295..0000000000 --- a/multimedia/vlc/patch-freerdp.diff +++ /dev/null @@ -1,76 +0,0 @@ ---- modules/access/rdp.c.orig 2013-06-24 18:00:38.000000000 +0000 -+++ modules/access/rdp.c 2014-08-14 07:20:03.000000000 +0000 -@@ -41,6 +41,22 @@ - #include <freerdp/channels/channels.h> - #include <freerdp/gdi/gdi.h> - -+#if !defined(FREERDP_INTERFACE_VERSION) -+# include <freerdp/version.h> -+#endif -+ -+#if !defined(FREERDP_VERSION_MAJOR) || \ -+ (defined(FREERDP_VERSION_MAJOR) && !(FREERDP_VERSION_MAJOR >= 1 && FREERDP_VERSION_MINOR >= 1 )) -+# define SoftwareGdi sw_gdi -+# define Fullscreen fullscreen -+# define ServerHostname hostname -+# define Username username -+# define Password password -+# define ServerPort port -+# define EncryptionMethods encryption -+# define ContextSize context_size -+#endif -+ - #include <errno.h> - #ifdef HAVE_POLL - # include <poll.h> -@@ -198,15 +214,15 @@ - demux_sys_t *p_sys = p_vlccontext->p_demux->p_sys; - - /* Configure connexion */ -- p_instance->settings->sw_gdi = true; /* render in buffer */ -- p_instance->settings->fullscreen = true; -- p_instance->settings->hostname = strdup( p_sys->psz_hostname ); -- p_instance->settings->username = -+ p_instance->settings->SoftwareGdi = true; /* render in buffer */ -+ p_instance->settings->Fullscreen = true; -+ p_instance->settings->ServerHostname = strdup( p_sys->psz_hostname ); -+ p_instance->settings->Username = - var_InheritString( p_vlccontext->p_demux, CFG_PREFIX "user" ); -- p_instance->settings->password = -+ p_instance->settings->Password = - var_InheritString( p_vlccontext->p_demux, CFG_PREFIX "password" ); -- p_instance->settings->port = p_sys->i_port; -- p_instance->settings->encryption = -+ p_instance->settings->ServerPort = p_sys->i_port; -+ p_instance->settings->EncryptionMethods = - var_InheritBool( p_vlccontext->p_demux, CFG_PREFIX "encrypt" ); - - return true; -@@ -217,9 +233,16 @@ - vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_instance->context; - - msg_Dbg( p_vlccontext->p_demux, "connected to desktop %dx%d (%d bpp)", -+#if (FREERDP_VERSION_MAJOR >= 1 && FREERDP_VERSION_MINOR >= 1 ) -+ p_instance->settings->DesktopWidth, -+ p_instance->settings->DesktopHeight, -+ p_instance->settings->ColorDepth -+#else - p_instance->settings->width, - p_instance->settings->height, -- p_instance->settings->color_depth ); -+ p_instance->settings->color_depth -+#endif -+ ); - - p_instance->update->DesktopResize = desktopResizeHandler; - p_instance->update->BeginPaint = beginPaintHandler; -@@ -415,7 +438,7 @@ - p_sys->p_instance->Authenticate = authenticateHandler; - - /* Set up context handlers and let it be allocated */ -- p_sys->p_instance->context_size = sizeof( vlcrdp_context_t ); -+ p_sys->p_instance->ContextSize = sizeof( vlcrdp_context_t ); - freerdp_context_new( p_sys->p_instance ); - - vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_sys->p_instance->context; -diff -Nru vlc-2.1.5/modules/access/rtp/input.c vlc-2.2.0~pre2/modules/access/rtp/input.c diff --git a/multimedia/vlc/patch-freerdp_1_2.diff b/multimedia/vlc/patch-freerdp_vlc221.diff index 743501d7d2..df3e5c683d 100644 --- a/multimedia/vlc/patch-freerdp_1_2.diff +++ b/multimedia/vlc/patch-freerdp_vlc221.diff @@ -1,5 +1,5 @@ ---- modules/access/rdp.c.orig 2015-02-21 11:01:32.145593444 +1000 -+++ modules/access/rdp.c 2015-02-21 10:34:14.875061312 +1000 +--- modules/access/rdp.c.orig 2015-04-28 21:38:25.117593997 +1000 ++++ modules/access/rdp.c 2015-04-28 21:42:40.133609568 +1000 @@ -83,7 +83,7 @@ set_category( CAT_INPUT ) set_subcategory( SUBCAT_INPUT_ACCESS ) @@ -18,22 +18,7 @@ p_instance->settings->DesktopWidth, p_instance->settings->DesktopHeight, p_instance->settings->ColorDepth -@@ -248,7 +248,13 @@ - p_instance->update->BeginPaint = beginPaintHandler; - p_instance->update->EndPaint = endPaintHandler; - -- gdi_init( p_instance, CLRBUF_16BPP | CLRBUF_24BPP | CLRBUF_32BPP, NULL ); -+ gdi_init( p_instance, -+ CLRBUF_16BPP | -+#if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && \ -+ !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2)) -+ CLRBUF_24BPP | -+#endif -+ CLRBUF_32BPP, NULL ); - - desktopResizeHandler( p_instance->context ); - return true; -@@ -422,7 +428,9 @@ +@@ -428,7 +428,9 @@ if ( p_sys->f_fps <= 0 ) p_sys->f_fps = 1.0; p_sys->i_frame_interval = 1000000 / p_sys->f_fps; @@ -43,7 +28,7 @@ p_sys->p_instance = freerdp_new(); if ( !p_sys->p_instance ) -@@ -498,7 +506,9 @@ +@@ -504,7 +506,9 @@ freerdp_disconnect( p_sys->p_instance ); freerdp_free( p_sys->p_instance ); diff --git a/multimedia/vlc/vlc.SlackBuild b/multimedia/vlc/vlc.SlackBuild index 22c735d0ae..7ab8d178b8 100644 --- a/multimedia/vlc/vlc.SlackBuild +++ b/multimedia/vlc/vlc.SlackBuild @@ -28,8 +28,8 @@ # ----------------------------------------------------------------------------- PRGNAM=vlc -VERSION=${VERSION:-2.1.5} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.2.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -85,8 +85,7 @@ mkdir -p decklink/include unzip -o $CWD/$DECKLINKSDK cp -p Blackmagic\ DeckLink\ SDK\ ${DECKLINK_SDK_VERSION}/Linux/include/* decklink/include/ -patch -p0 < $CWD/patch-freerdp.diff -patch -p0 < $CWD/patch-freerdp_1_2.diff +patch -p0 < $CWD/patch-freerdp_vlc221.diff patch -p0 < $CWD/patch-projectM-fontpath.diff chown -R root:root . @@ -111,7 +110,7 @@ LDFLAGS="$SLKLDFLAGS" \ --with-kde-solid=no \ --with-decklink-sdk=$TMP/$PRGNAM-$VERSION/decklink -make -j4 +make make DESTDIR=$PKG install mkdir -p $PKG/usr/man/man1 diff --git a/multimedia/vlc/vlc.info b/multimedia/vlc/vlc.info index 269d6941ac..29058e30fa 100644 --- a/multimedia/vlc/vlc.info +++ b/multimedia/vlc/vlc.info @@ -1,9 +1,9 @@ PRGNAM="vlc" -VERSION="2.1.5" +VERSION="2.2.1" HOMEPAGE="http://www.videolan.org/vlc/" -DOWNLOAD="http://download.videolan.org/vlc/2.1.5/vlc-2.1.5.tar.xz \ +DOWNLOAD="http://download.videolan.org/vlc/2.2.1/vlc-2.2.1.tar.xz \ http://software.blackmagicdesign.com/SDK/Blackmagic_DeckLink_SDK_10.1.4.zip" -MD5SUM="3941b561f590cc95ca5e795213cba2f2 \ +MD5SUM="42273945758b521c408fabc7fd6d9946 \ 16fbc2f49dc62fecac15835c538f78d4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |