mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
Small amount of further work on VLC port
This commit is contained in:
@@ -175,3 +175,53 @@
|
||||
int setenv (const char *name, const char *value, int overwrite)
|
||||
{
|
||||
if (override)
|
||||
--- vlc-2.0.3-orig/src/Makefile.am 2012-05-15 12:41:19.024641536 +0000
|
||||
+++ vlc-2.0.3/src/Makefile.am 2012-08-04 15:28:09.958136320 +0000
|
||||
@@ -221,6 +221,9 @@
|
||||
if HAVE_OS2
|
||||
libvlccore_la_SOURCES += $(SOURCES_libvlc_os2)
|
||||
else
|
||||
+if HAVE_HAIKU
|
||||
+libvlccore_la_SOURCES += $(SOURCES_libvlc_haiku)
|
||||
+else
|
||||
libvlccore_la_SOURCES += $(SOURCES_libvlc_other)
|
||||
endif
|
||||
endif
|
||||
@@ -228,6 +231,7 @@
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
+endif
|
||||
if BUILD_HTTPD
|
||||
libvlccore_la_SOURCES += $(SOURCES_libvlc_httpd)
|
||||
endif
|
||||
@@ -287,6 +291,16 @@
|
||||
os2/specific.c \
|
||||
$(NULL)
|
||||
|
||||
+SOURCES_libvlc_haiku = \
|
||||
+ posix/dirs.c \
|
||||
+ misc/atomic.c \
|
||||
+ posix/filesystem.c \
|
||||
+ network/poll.c \
|
||||
+ posix/thread.c \
|
||||
+ posix/plugin.c \
|
||||
+ posix/specific.c \
|
||||
+ $(NULL)
|
||||
+
|
||||
SOURCES_libvlc_other = \
|
||||
posix/dirs.c \
|
||||
misc/atomic.c \
|
||||
|
||||
--- vlc-2.0.3-orig/modules/text_renderer/freetype.c 2012-06-20 18:07:49.059244544 +0000
|
||||
+++ vlc-2.0.3/modules/text_renderer/freetype.c 2012-08-04 15:22:01.509870080 +0000
|
||||
@@ -58,6 +58,9 @@
|
||||
#elif defined( HAVE_MAEMO )
|
||||
# define DEFAULT_FONT_FILE "/usr/share/fonts/nokia/nosnb.ttf"
|
||||
# define DEFAULT_FAMILY "Nokia Sans Bold"
|
||||
+#elif defined(__HAIKU__)
|
||||
+# define DEFAULT_FONT_FILE "/boot/system/data/fonts/ttfonts/DejaVuSans.ttf"
|
||||
+# define DEFAULT_FAMILY "DejaVu Sans"
|
||||
#else
|
||||
# define DEFAULT_FONT_FILE "/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf"
|
||||
# define DEFAULT_FAMILY "Serif Bold"
|
||||
|
||||
@@ -18,6 +18,8 @@ DEPEND="faad2,
|
||||
lame >= 3.98.4,
|
||||
libgcrypt,
|
||||
libcddb,
|
||||
x264,
|
||||
flac,
|
||||
ffmpeg = 0.10.2-vlc"
|
||||
CHECKSUM_MD5="a7e79565e3df07dcf9abc6cad3ac26bb"
|
||||
BUILD {
|
||||
|
||||
Reference in New Issue
Block a user