Skip to content

Instantly share code, notes, and snippets.

View gen2brain's full-sized avatar

Milan Nikolic gen2brain

  • Belgrade, Serbia
View GitHub Profile
#!/usr/bin/env bash
mkdir -p build
MINGW="/usr/i686-w64-mingw32"
INCPATH="$MINGW/usr/include"
PLUGPATH="$MINGW/usr/plugins"
export CC="i686-w64-mingw32-gcc" CXX="i686-w64-mingw32-g++"
export PKG_CONFIG="/usr/bin/i686-w64-mingw32-pkg-config"
export PKG_CONFIG_PATH="$MINGW/usr/lib/pkgconfig:$MINGW/usr/lib/pkgconfig"
// +build static
#include <qplugin.h>
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
From dd5c87e1d7cc11be76c56ad89317194816e4344b Mon Sep 17 00:00:00 2001
From: wm4 <wm4@nowhere>
Date: Fri, 7 Aug 2015 02:41:39 +0200
Subject: [PATCH] audio: remove unused legacy libavutil header
It was never used, but is a leftover from old times.
---
audio/filter/af_lavcac3enc.c | 1 -
audio/filter/af_lavrresample.c | 1 -
audio/out/ao_lavc.c | 1 -
diff -urN mpv-0.7.3.orig/osdep/win32/include/pthread.h mpv-0.7.3/osdep/win32/include/pthread.h
--- mpv-0.7.3.orig/osdep/win32/include/pthread.h 1970-01-01 01:00:00.000000000 +0100
+++ mpv-0.7.3/osdep/win32/include/pthread.h 2016-08-26 19:40:58.000000000 +0200
@@ -0,0 +1,85 @@
+#ifndef MP_WRAP_PTHREAD_H_
+#define MP_WRAP_PTHREAD_H_
+
+#include <windows.h>
+
+#include <sys/types.h>
Setting option 'geometry' = "960+353+284" (flags = 0) -> 0
Setting option 'osc' = "yes" (flags = 0) -> 0
Setting option 'ytdl' = "no" (flags = 0) -> 0
Setting option 'vo' = "direct3d,opengl,sdl,null" (flags = 0) -> 0
Setting option 'ao' = "wasapi,sdl,null" (flags = 0) -> 0
Setting option 'cache-default' = 128 (flags = 0) -> 0
Setting option 'cache-seek-min' = 32 (flags = 0) -> 0
Setting option 'cache-secs' = 1.000000 (flags = 0) -> 0
Setting option 'input-default-bindings' = "yes" (flags = 0) -> 0
Setting option 'input-vo-keyboard' = "yes" (flags = 0) -> 0
This file has been truncated, but you can view the full file.
diff -urN qt.orig/internal/binding/parser/class.go qt/internal/binding/parser/class.go
--- qt.orig/internal/binding/parser/class.go 2016-10-30 16:02:07.626868729 +0100
+++ qt/internal/binding/parser/class.go 2016-11-01 01:08:33.173592213 +0100
@@ -458,6 +458,7 @@
"SerialPort": {"Core"},
"SerialBus": {"Core"},
"PrintSupport": {"Widgets", "Gui", "Core"},
+ "WebKit": {"Widgets", "WebKitWidgets", "PrintSupport", "Positioning", "Sensors", "Sql", "Network", "Gui", "Core"},
//"PlatformHeaders": []string{}, //TODO:
"Designer": {"UiPlugin", "Widgets", "Gui", "Xml", "Core"},
This file has been truncated, but you can view the full file.
// GLFW single file
#include "external/glfw/src/context.c"
#include "external/glfw/src/init.c"
#include "external/glfw/src/input.c"
#include "external/glfw/src/monitor.c"
#include "external/glfw/src/vulkan.c"
#include "external/glfw/src/window.c"
// -D_GLFW_COCOA -D_GLFW_USE_CHDIR -D_GLFW_USE_MENUBAR -D_GLFW_USE_RETINA
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-multilib
DESCRIPTION="A simple and easy-to-use library to learn videogames programming"
HOMEPAGE="http://www.raylib.com/"
This file has been truncated, but you can view the full file.