ports

morpheus ports
git clone git://git.2f30.org/ports.git
Log | Files | Refs | LICENSE

commit dc1dc68fa73e0d193c489705990e73a085f4bbee
parent 86ed8c8bf5dd624be696fd1015c1a3b6a63f2ef1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue Jul 22 22:40:39 +0000

add mpv and deps

- libass
- libav
- libfribidi
- xorg libXv

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
libass/checksums | 1+
libass/depsinc.mk | 11+++++++++++
libass/libass.mk | 34++++++++++++++++++++++++++++++++++
libass/mkfile | 6++++++
libass/v.mk | 1+
libav/checksums | 1+
libav/depsinc.mk | 11+++++++++++
libav/libav.mk | 25+++++++++++++++++++++++++
libav/mkfile | 6++++++
libav/v.mk | 1+
libfribidi/checksums | 1+
libfribidi/depsinc.mk | 11+++++++++++
libfribidi/libfribidi.mk | 21+++++++++++++++++++++
libfribidi/mkfile | 6++++++
libfribidi/v.mk | 1+
mpv/checksums | 1+
mpv/config.h | 132+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mpv/config.mak | 103+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mpv/mkfile | 6++++++
mpv/mpv.mk | 27+++++++++++++++++++++++++++
mpv/v.mk | 1+
xorglibxv/checksums | 1+
xorglibxv/depsinc.mk | 11+++++++++++
xorglibxv/mkfile | 6++++++
xorglibxv/v.mk | 1+
xorglibxv/xorglibxv.mk | 25+++++++++++++++++++++++++
26 files changed, 451 insertions(+), 0 deletions(-)
diff --git a/libass/checksums b/libass/checksums @@ -0,0 +1 @@ +50e77a488bc47d03a8cfca49cd7d26b702f88f649640cc63b40eb288c0f2771a6db5656e77fb8ab072a2a0b10dadf4a21e375ed831605c6de37466003f36bfd7 libass-0.10.2.tar.xz diff --git a/libass/depsinc.mk b/libass/depsinc.mk @@ -0,0 +1,11 @@ +<$libass_DEPDIR/v.mk + +libass_bindir = ${libass_DEPDIR}/libass-$v/lib/bin +libass_libdir = ${libass_DEPDIR}/libass-$v/lib/lib +libass_includedir = ${libass_DEPDIR}/libass-$v/lib/include + +libass_CFLAGS = -I${libass_includedir} +libass_LDFLAGS = -L${libass_libdir} -lass + +DEPS_CFLAGS = $DEPS_CFLAGS ${libass_CFLAGS} +DEPS_LDFLAGS = $DEPS_LDFLAGS ${libass_LDFLAGS} diff --git a/libass/libass.mk b/libass/libass.mk @@ -0,0 +1,34 @@ +TARG = libass +DEPS = freetype libfribidi + +<$mkbuild/mk.common-noinst + +libass:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export LIBPNG_CFLAGS="${libpng_CFLAGS}" + export LIBPNG_LIBS="${libpng_LDFLAGS}" + export FREETYPE_CFLAGS="${freetype_CFLAGS}" + export FREETYPE_LIBS="${freetype_LDFLAGS}" + export FRIBIDI_CFLAGS="${libfribidi_CFLAGS}" + export FRIBIDI_LIBS="${libfribidi_LDFLAGS}" + # + CC="$CC" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --disable-enca \ + --disable-test \ + --disable-harfbuzz \ + --disable-fontconfig \ + --enable-static + make -j$nprocs + # install lib for use as a dependency. + make -j$nprocs install DESTDIR="`pwd`/lib" + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; + +install:QV: + make -j$nprocs install DESTDIR="$ROOT" diff --git a/libass/mkfile b/libass/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libass-$v +url = https://libass.googlecode.com/files/libass-$v.tar.xz +mkfile = ../libass.mk diff --git a/libass/v.mk b/libass/v.mk @@ -0,0 +1 @@ +v = 0.10.2 diff --git a/libav/checksums b/libav/checksums @@ -0,0 +1 @@ +fe9b303759f4ef6ce188d252558ea91c3388989edb96db18b5ad0b43e7152ae3eebddcf1d7471ee6a3d5becd477846d7f7f9c12bcac83c12dd100600a042dd62 libav-10.2.tar.xz diff --git a/libav/depsinc.mk b/libav/depsinc.mk @@ -0,0 +1,11 @@ +<$libav_DEPDIR/v.mk + +libav_bindir = ${libav_DEPDIR}/libav-$v/lib/usr/local/bin +libav_libdir = ${libav_DEPDIR}/libav-$v/lib/usr/local/lib +libav_includedir = ${libav_DEPDIR}/libav-$v/lib/usr/local/include + +libav_CFLAGS = -I${libav_includedir} +libav_LDFLAGS = -L${libav_libdir} -lavformat -lavfilter -lavcodec -lavdevice -lswscale -lavresample -lavutil + +DEPS_CFLAGS = $DEPS_CFLAGS ${libav_CFLAGS} +DEPS_LDFLAGS = $DEPS_LDFLAGS ${libav_LDFLAGS} diff --git a/libav/libav.mk b/libav/libav.mk @@ -0,0 +1,25 @@ +TARG = libav + +<$mkbuild/mk.common-noinst + +libav:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + CC="$CC" ./configure \ + --target-os="linux" \ + --cross-prefix="`$CC -dumpmachine`-" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --disable-doc \ + --disable-asm \ + --enable-static \ + --enable-cross-compile + make -j$nprocs + # install lib for use as a dependency. + make -j$nprocs install DESTDIR="`pwd`/lib" + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; + +install:QV: + make -j$nprocs install DESTDIR="$ROOT" diff --git a/libav/mkfile b/libav/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libav-$v +url = https://libav.org/releases/libav-$v.tar.xz +mkfile = ../libav.mk diff --git a/libav/v.mk b/libav/v.mk @@ -0,0 +1 @@ +v = 10.2 diff --git a/libfribidi/checksums b/libfribidi/checksums @@ -0,0 +1 @@ +0661cf8e0985edfd5bf02c8de32432bf2faacadcaf35aef4e039a28f802a0468288e76b60231ebe7b54f909bd4d3ecc31a1fc94e83d434ae16dd21de6089629e fribidi-0.19.6.tar.bz2 diff --git a/libfribidi/depsinc.mk b/libfribidi/depsinc.mk @@ -0,0 +1,11 @@ +<$libfribidi_DEPDIR/v.mk + +libfribidi_bindir = ${libfribidi_DEPDIR}/fribidi-$v/lib/bin +libfribidi_libdir = ${libfribidi_DEPDIR}/fribidi-$v/lib/lib +libfribidi_includedir = ${libfribidi_DEPDIR}/fribidi-$v/lib/include/fribidi + +libfribidi_CFLAGS = -I${libfribidi_includedir} +libfribidi_LDFLAGS = -L${libfribidi_libdir} -lfribidi + +DEPS_CFLAGS = $DEPS_CFLAGS ${libfribidi_CFLAGS} +DEPS_LDFLAGS = $DEPS_LDFLAGS ${libfribidi_LDFLAGS} diff --git a/libfribidi/libfribidi.mk b/libfribidi/libfribidi.mk @@ -0,0 +1,21 @@ +TARG = libfribidi + +<$mkbuild/mk.common-noinst + +libfribidi:QV: + CC="$CC" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --with-glib=no \ + --enable-static + make -j$nprocs + # install lib for use as a dependency. + make -j$nprocs install DESTDIR="`pwd`/lib" + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; + +install:QV: + make -j$nprocs install DESTDIR="$ROOT" diff --git a/libfribidi/mkfile b/libfribidi/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = fribidi-$v +url = http://fribidi.org/download/fribidi-$v.tar.bz2 +mkfile = ../libfribidi.mk diff --git a/libfribidi/v.mk b/libfribidi/v.mk @@ -0,0 +1 @@ +v = 0.19.6 diff --git a/mpv/checksums b/mpv/checksums @@ -0,0 +1 @@ +154a27198c1690d5d1b3c097163e97eff6f375496c9fb7f7958936c84c776afd78b392df8e136798a1f5a1fc4924af3069cc7dbef36bfa8ff84aff9d7a0b8735 v0.4.1.tar.gz diff --git a/mpv/config.h b/mpv/config.h @@ -0,0 +1,132 @@ +/*---------------------------------------------------------------------------- +** This file has been automatically generated by configure any changes in it +** will be lost when you run configure again. +** Instead of modifying definitions here, use the --enable/--disable options +** of the configure script! See ./configure --help for details. +*---------------------------------------------------------------------------*/ + +#ifndef MPV_CONFIG_H +#define MPV_CONFIG_H + +#define CONFIGURATION "" +/*--cc=arm-linux-musleabi-gcc --prefix= --mandir=/share/man --disable-gl --disable-libguess --disable-terminfo --disable-termcap --disable-termios --disable-iconv --disable-lirc --disable-joystick --disable-vm --enable-xf86keysym --disable-dvb --disable-tv --disable-tv-v4l2 --disable-libv4l2 --disable-pvr --disable-smb --disable-libquvi4 --disable-libquvi9 --disable-lcms2 --disable-bluray --disable-dvdread --disable-dvdnav --disable-enca --enable-libass --disable-libpostproc --enable-libavdevice --enable-libavfilter --disable-vapoursynth --disable-jpeg --disable-libcdio --disable-ffmpeg --disable-ladspa --disable-libbs2b --disable-mpg123 --disable-libavresample --disable-libswresample --disable-caca --disable-sdl2 --disable-xv --disable-vdpau --disable-vaapi --disable-vm --enable-xinerama --enable-x11 --disable-wayland --disable-xss --enable-alsa --disable-ossaudio --disable-rsound --disable-sndio --disable-pulse --disable-portaudio --disable-jack --disable-openal --disable-select --enable-shm --disable-lua --disable-encoding --disable-build-man --enable-static"*/ + +#define MPLAYER_CONFDIR "/etc/mpv" + +/* we didn't bother to add actual config checks for this, or they are + for platforms not supported by this configure script */ +#define HAVE_BSD_FSTATFS 0 +#define HAVE_LINUX_FSTATFS 0 +#define HAVE_VDA_AV_VDA_ALLOC_CONTEXT 0 +#define HAVE_VDA_HWACCEL 0 +#define HAVE_VDA_LIBAVCODEC_REFCOUNTING 0 +#define HAVE_VDA_GL 0 +#define HAVE_GL_COCOA 0 +#define HAVE_COCOA 0 +#define HAVE_COREVIDEO 0 +#define HAVE_COREAUDIO 0 +#define HAVE_GL_WIN32 0 +#define HAVE_DIRECT3D 0 +#define HAVE_DSOUND 0 +#define HAVE_WASAPI 0 +#define HAVE_DOS_PATHS 0 +#define HAVE_PRIORITY 0 +#define HAVE_GLOB 1 +#define HAVE_POSIX_SELECT 1 +#define HAVE_SYS_MMAN_H 1 +#define HAVE_NANOSLEEP 1 +#define HAVE_SDL1 0 + +#define DEFAULT_CDROM_DEVICE "/dev/cdrom" +#define DEFAULT_DVD_DEVICE "/dev/dvd" +#define PATH_DEV_DSP "/dev/dsp" +#define PATH_DEV_MIXER "/dev/mixer" + + +#define HAVE_LIBDL 0 +#define HAVE_STDATOMIC 0 +#define HAVE_ATOMIC_BUILTINS 0 +#define HAVE_SYNC_BUILTINS 0 +#define HAVE_ICONV 0 +#define HAVE_SYS_SOUNDCARD_H 1 +#define HAVE_SOUNDCARD_H 0 +#define HAVE_SYS_VIDEOIO_H 0 +#define HAVE_TERMINFO 0 +#define HAVE_TERMCAP 0 +#define HAVE_TERMIOS_H 0 +#define HAVE_SYS_TERMIOS_H 0 +#define HAVE_TERMIOS 0 +#define HAVE_SHM 1 +#define HAVE_AUDIO_SELECT 0 +#define HAVE_LIBGUESS 0 +#define HAVE_LIBSMBCLIENT 0 +#define HAVE_LIBQUVI4 0 +#define HAVE_LIBQUVI9 0 +#define HAVE_LIBQUVI 0 +#define HAVE_WAYLAND 0 +#define HAVE_X11 1 +#define HAVE_XSS 0 +#define HAVE_XEXT 0 +#define HAVE_XV 0 +#define HAVE_VDPAU 0 +#define HAVE_VDPAU_HWACCEL 1 +#define HAVE_VAAPI 0 +#define HAVE_VAAPI_HWACCEL 1 +#define HAVE_VAAPI_VPP 0 +#define HAVE_VAAPI_GLX 0 +#define HAVE_XINERAMA 1 +#define HAVE_XF86VM 0 +#define HAVE_XF86XK 1 +#define HAVE_CACA 0 +#define HAVE_DVB 0 +#define HAVE_DVBIN 0 +#define HAVE_JPEG 0 +#define HAVE_GL 0 +#define HAVE_GL_X11 0 +#define HAVE_GL_WAYLAND 0 +#define HAVE_VDPAU_GL_X11 0 +#define HAVE_SDL2 0 +#define HAVE_OSS_AUDIO 0 +#define HAVE_RSOUND 0 +#define HAVE_SNDIO 0 +#define HAVE_PULSE 0 +#define HAVE_PORTAUDIO 0 +#define HAVE_JACK 0 +#define HAVE_OPENAL 0 +#define HAVE_ALSA 1 +#define HAVE_LIBBLURAY 0 +#define HAVE_DVDREAD 0 +#define HAVE_DVDNAV 0 +#define HAVE_CDDA 0 +#define HAVE_LIBASS 1 +#define HAVE_ENCA 0 +#define HAVE_ZLIB 0 +#define HAVE_MPG123 0 +#define HAVE_LADSPA 0 +#define HAVE_LIBBS2B 0 +#define HAVE_LCMS2 0 +#define HAVE_VAPOURSYNTH 0 +#define HAVE_FFMPEG 0 +#define HAVE_LIBAVRESAMPLE 1 +#define HAVE_LIBSWRESAMPLE 0 +#define HAVE_AVCODEC_CHROMA_POS_API 0 +#define HAVE_AVCOL_SPC_BT2020 1 +#define HAVE_AVCODEC_METADATA_UPDATE_SIDE_DATA 0 +#define HAVE_AVCODEC_REPLAYGAIN_SIDE_DATA 0 +#define HAVE_AV_DISPLAYMATRIX 0 +#define HAVE_AVFRAME_METADATA 0 +#define HAVE_AVUTIL_QP_API 0 +#define HAVE_LIBAVFILTER 1 +#define HAVE_LIBAVDEVICE 1 +#define HAVE_LIBPOSTPROC 0 +#define HAVE_TV 0 +#define HAVE_TV_V4L2 0 +#define HAVE_AUDIO_INPUT 0 +#define HAVE_LIBV4L2 0 +#define HAVE_PVR 0 +#define HAVE_LUA 0 +#define HAVE_JOYSTICK 0 +#define HAVE_LIRC 0 +#define HAVE_ENCODING 0 +#define HAVE_DLOPEN 1 +#endif /* MPV_CONFIG_H */ diff --git a/mpv/config.mak b/mpv/config.mak @@ -0,0 +1,103 @@ +# -------- Generated by configure ----------- +export LC_ALL = C + +CONFIGURATION = --butts +#--cc=arm-linux-musleabi-gcc --prefix= --mandir=/share/man --disable-gl --disable-libguess --disable-terminfo --disable-termcap --disable-termios --disable-iconv --disable-lirc --disable-joystick --disable-vm --enable-xf86keysym --disable-dvb --disable-tv --disable-tv-v4l2 --disable-libv4l2 --disable-pvr --disable-smb --disable-libquvi4 --disable-libquvi9 --disable-lcms2 --disable-bluray --disable-dvdread --disable-dvdnav --disable-enca --enable-libass --disable-libpostproc --enable-libavdevice --enable-libavfilter --disable-vapoursynth --disable-jpeg --disable-libcdio --disable-ffmpeg --disable-ladspa --disable-libbs2b --disable-mpg123 --disable-libavresample --disable-libswresample --disable-caca --disable-sdl2 --disable-xv --disable-vdpau --disable-vaapi --disable-vm --enable-xinerama --enable-x11 --disable-wayland --disable-xss --enable-alsa --disable-ossaudio --disable-rsound --disable-sndio --disable-pulse --disable-portaudio --disable-jack --disable-openal --disable-select --enable-shm --disable-lua --disable-encoding --disable-build-man --enable-static + +prefix = $(DESTDIR) +BINDIR = $(DESTDIR)/bin +MANDIR = $(DESTDIR)/share/man +CONFDIR = $(DESTDIR)/etc/mpv + +CC = gcc +#arm-linux-musleabi-gcc +INSTALL = install + +CFLAGS = +#-Iold_build -std=c99 -Wall -O2 -g -g3 -ggdb -Wundef -Wmissing-prototypes -Wshadow -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Werror=implicit-function-declaration -Wno-error=deprecated-declarations -Wno-error=unused-function -Wempty-body -D_BSD_SOURCE -D_GNU_SOURCE -I/home/morpheus/morpheus/mkbuild/../ports/xorglibxv/libXv-1.0.10/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorglibxinerama/libXinerama-1.1.3/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorglibxcb/libxcb-1.10/lib/include/ -I/home/morpheus/morpheus/mkbuild/../ports/xorglibxext/libXext-1.3.2/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorglibx11/libX11-1.6.2/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgbigreqsproto/bigreqsproto-1.1.2/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgcompositeproto/compositeproto-0.4.2/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgdamageproto/damageproto-1.2.1/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgdmxproto/dmxproto-2.3.1/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgdri2proto/dri2proto-2.8/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgfixesproto/fixesproto-5.0/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgfontsproto/fontsproto-2.1.3/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorginputproto/inputproto-2.3/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgkbproto/kbproto-1.0.6/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgrandrproto/randrproto-1.4.0/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgrecordproto/recordproto-1.14.2/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgrenderproto/renderproto-0.11.1/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgresourceproto/resourceproto-1.2.0/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgscrnsaverproto/scrnsaverproto-1.2.2/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgvideoproto/videoproto-2.3.2/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgxcbproto/xcb-proto-1.10/lib/share/xcb -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgxcmiscproto/xcmiscproto-1.2.2/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgxextproto/xextproto-7.2.1/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgxf86bigfontproto/xf86bigfontproto-1.2.0/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgxf86dgaproto/xf86dgaproto-2.1/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgxineramaproto/xineramaproto-1.2.1/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgxproto/xproto-7.0.26/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/libpthreadstubs/libpthread-stubs-0.3/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/libav/libav-10.2/lib/usr/local/include -I/home/morpheus/morpheus/mkbuild/../ports/alsalib/alsa-lib-1.0.27.2/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/libass/libass-0.10.2/lib/include -I/home/morpheus/morpheus/mkbuild/../ports/zlib/zlib-1.2.8 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -D_GNU_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE +DEPFLAGS = -MD -MP + +EXTRALIBS = +#-static -s -Wl,--gc-sections -Wl,-z,relro,-z,now -L/home/morpheus/morpheus/mkbuild/../ports/xorglibxv/libXv-1.0.10/lib/lib -lXv -L/home/morpheus/morpheus/mkbuild/../ports/xorglibxinerama/libXinerama-1.1.3/lib/lib -lXinerama -L/home/morpheus/morpheus/mkbuild/../ports/xorglibxcb/libxcb-1.10/lib/lib/ -lxcb -L/home/morpheus/morpheus/mkbuild/../ports/xorglibxext/libXext-1.3.2/lib/lib -lXext -L/home/morpheus/morpheus/mkbuild/../ports/xorglibx11/libX11-1.6.2/lib/lib -lX11 -L/home/morpheus/morpheus/mkbuild/../ports/xorgprotoall/../xorgdri2proto/dri2proto-2.8/lib/lib -L/home/morpheus/morpheus/mkbuild/../ports/libpthreadstubs/libpthread-stubs-0.3/lib/lib -L/home/morpheus/morpheus/mkbuild/../ports/libav/libav-10.2/lib/usr/local/lib -L/home/morpheus/morpheus/mkbuild/../ports/alsalib/alsa-lib-1.0.27.2/lib/lib -lasound -L/home/morpheus/morpheus/mkbuild/../ports/libass/libass-0.10.2/lib/lib -lass -L/home/morpheus/morpheus/mkbuild/../ports/zlib/zlib-1.2.8 -lz -pthread -lpthread -lrt -static -lm + +RST2MAN = rst2man +BUILD_MAN = no + +# features + +STDATOMIC = no +ATOMIC_BUILTINS = no +SYNC_BUILTINS = no +ICONV = no +SYS_SOUNDCARD_H = yes +SOUNDCARD_H = no +SYS_VIDEOIO_H = no +TERMINFO = no +TERMCAP = no +TERMIOS_H = no +SYS_TERMIOS_H = no +SHM = yes +AUDIO_SELECT = no +LIBGUESS = no +LIBSMBCLIENT = no +LIBQUVI4 = no +LIBQUVI9 = no +WAYLAND = no +X11 = yes +XSS = no +XEXT = no +XV = no +VDPAU = no +VAAPI = no +VAAPI_VPP = no +VAAPI_GLX = no +XINERAMA = yes +XF86VM = no +XF86XK = yes +CACA = no +DVB = no +DVBIN = no +JPEG = no +GL = no +GL_X11 = no +GL_WAYLAND = no +VDPAU_GL_X11 = no +SDL2 = no +OSS_AUDIO = no +RSOUND = no +SNDIO = no +PULSE = no +PORTAUDIO = no +JACK = no +OPENAL = no +ALSA = yes +LIBBLURAY = no +DVDREAD = no +DVDNAV = no +CDDA = no +LIBASS = yes +LIBASS_OSD = yes +DUMMY_OSD = no +ENCA = no +ZLIB = no +MPG123 = no +LADSPA = no +LIBBS2B = no +LCMS2 = no +VAPOURSYNTH = no +FFMPEG = no +LIBAVRESAMPLE = no +LIBSWRESAMPLE = no +LIBAVFILTER = yes +LIBAVDEVICE = yes +LIBPOSTPROC = no +TV = no +TV_V4L2 = no +AUDIO_INPUT = no +LIBV4L2 = no +PVR = no +LUA = no +JOYSTICK = no +LIRC = no +ENCODING = no +DLOPEN = yes diff --git a/mpv/mkfile b/mpv/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = mpv-$v +url = https://github.com/mpv-player/mpv/archive/v$v.tar.gz +mkfile = ../mpv.mk diff --git a/mpv/mpv.mk b/mpv/mpv.mk @@ -0,0 +1,27 @@ +# TODO: +# - enable sndio, alsa, sdl2? +# - enable support for more libs (DVD etc). +# - ffmpeg ? +# make deps: python2.7?, perl +TARG = mpv +INSTALL_BIN = mpv +DEPS = xorglibxv xorglibxinerama xorglibx11 xorglibxcb xorglibxext xorglibxau \ + xorglibxdmcp xorgprotoall libav alsalib libass freetype libfribidi libpng zlib + +<$mkbuild/mk.common + +mpv:QV: + export CFLAGS="-std=c99 $CFLAGS -I`pwd` -I`pwd`/old_build $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + # + mkdir -p old_build + cp ../config.h old_build/config.h + cp ../config.mak old_build/config.mak + cp old-makefile Makefile + make -j$nprocs \ + CC="$CC" \ + LD="$LD" \ + LDFLAGS="$LDFLAGS" \ + CFLAGS="$CFLAGS" \ + EXTRALIBS="$LDFLAGS" \ + V="1" diff --git a/mpv/v.mk b/mpv/v.mk @@ -0,0 +1 @@ +v = 0.4.1 diff --git a/xorglibxv/checksums b/xorglibxv/checksums @@ -0,0 +1 @@ +3c9642006dbc7a74f91263aa3a94711a95ee436b03d97ef51fce2bc2f602c25589606e1fcb58287ea0efebb3b9dbe7ef5fcb94e11ad3ec6be7830947a4cefe03 libXv-1.0.10.tar.bz2 diff --git a/xorglibxv/depsinc.mk b/xorglibxv/depsinc.mk @@ -0,0 +1,11 @@ +<$xorglibxv_DEPDIR/v.mk + +xorglibxv_bindir = ${xorglibxv_DEPDIR}/libXv-$v/lib/bin +xorglibxv_libdir = ${xorglibxv_DEPDIR}/libXv-$v/lib/lib +xorglibxv_includedir = ${xorglibxv_DEPDIR}/libXv-$v/lib/include + +xorglibxv_CFLAGS = -I${xorglibxv_includedir} +xorglibxv_LDFLAGS = -L${xorglibxv_libdir} -lXv + +DEPS_CFLAGS = $DEPS_CFLAGS ${xorglibxv_CFLAGS} +DEPS_LDFLAGS = $DEPS_LDFLAGS ${xorglibxv_LDFLAGS} diff --git a/xorglibxv/mkfile b/xorglibxv/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libXv-$v +url = http://xorg.freedesktop.org/releases/individual/lib/libXv-$v.tar.bz2 +mkfile = ../xorglibxv.mk diff --git a/xorglibxv/v.mk b/xorglibxv/v.mk @@ -0,0 +1 @@ +v = 1.0.10 diff --git a/xorglibxv/xorglibxv.mk b/xorglibxv/xorglibxv.mk @@ -0,0 +1,25 @@ +TARG = xorglibxv +DEPS = xorgprotoall xorglibxext xorglibx11 + +<$mkbuild/mk.common-noinst + +xorglibxv:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export XV_CFLAGS=" " + export XV_LIBS=" " + CC="$CC" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static + make -j$nprocs + # install lib for use as a dependency. + make -j$nprocs install DESTDIR="`pwd`/lib" + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; + +install:QV: + make -j$nprocs install DESTDIR="$ROOT"