--- /dev/null
+#!/bin/bash
+# Produced, tested, and used by Andrew-R on an Android tablet
+export FFMPEG_EXTRA_CFG="--disable-debug --disable-ffprobe --enable-libdav1d"
+export EXTRA_LIBS="-ldav1d"
+./configure --without-lv2 --without-vdpau --without-vaapi --without-ladspa-build \
+ --without-nv --with-single-user --with-clang --without-gl --disable-dav1d
$(OBJDIR)/assets.o \
$(OBJDIR)/atrack.o \
$(OBJDIR)/attachmentpoint.o \
- $(OBJDIR)/audio1394.o \
$(OBJDIR)/audioalsa.o \
$(OBJDIR)/audiodevice.o \
$(OBJDIR)/audiodvb.o \
$(OBJDIR)/automation.o \
$(OBJDIR)/auto.o \
$(OBJDIR)/autos.o \
- $(OBJDIR)/avc1394control.o \
- $(OBJDIR)/avc1394transport.o \
$(OBJDIR)/awindowgui.o \
$(OBJDIR)/awindow.o \
$(OBJDIR)/batch.o \
$(OBJDIR)/cwindowtool.o \
$(OBJDIR)/dcoffset.o \
$(OBJDIR)/deleteallindexes.o \
- $(OBJDIR)/device1394input.o \
- $(OBJDIR)/device1394output.o \
$(OBJDIR)/devicedvbinput.o \
$(OBJDIR)/devicev4l2base.o \
$(OBJDIR)/devicev4l2input.o \
$(OBJDIR)/garbage.o \
$(OBJDIR)/gwindowgui.o \
$(OBJDIR)/gwindow.o \
- $(OBJDIR)/iec61883input.o \
- $(OBJDIR)/iec61883output.o \
$(OBJDIR)/indexable.o \
$(OBJDIR)/indexfile.o \
$(OBJDIR)/indexstate.o \
$(OBJDIR)/undostack.o \
$(OBJDIR)/vattachmentpoint.o \
$(OBJDIR)/vautomation.o \
- $(OBJDIR)/vdevice1394.o \
$(OBJDIR)/vdevicebase.o \
$(OBJDIR)/vdevicedvb.o \
$(OBJDIR)/vdeviceprefs.o \
$(OBJDIR)/zwindow.o \
$(OBJDIR)/zwindowgui.o \
+ifneq ($(WANT_FIREWIRE),no)
+OBJS += \
+ $(OBJDIR)/audio1394.o \
+ $(OBJDIR)/avc1394control.o \
+ $(OBJDIR)/avc1394transport.o \
+ $(OBJDIR)/vdevice1394.o \
+ $(OBJDIR)/device1394input.o \
+ $(OBJDIR)/device1394output.o \
+ $(OBJDIR)/iec61883input.o \
+ $(OBJDIR)/iec61883output.o \
+
+endif
ifneq ($(WANT_LIBZMPEG),no)
OBJS += \
$(OBJDIR)/audiompeg.o \
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
-
+#ifdef HAVE_LIBZMPEG
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
}
#endif
+#endif //libzmpeg
AC_SUBST(MAK_UNINSTALLS)
if test "x$WANT_JOBS" = "xauto"; then
- CPUS=`grep -c "^proc" /proc/cpuinfo`
+# CPUS=`grep -c "^proc" /proc/cpuinfo`
+ CPUS=nproc
WANT_JOBS=`expr $CPUS + $CPUS / 2 + 2`
fi
--- /dev/null
+/* BThread main header
+ Copyright (C) 2002 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+# define PTHREAD_CANCEL_ENABLE 0x00000010
+# define PTHREAD_CANCEL_DISABLE 0x00000000
+
+# define PTHREAD_CANCEL_ASYNCHRONOUS 0x00000020
+# define PTHREAD_CANCEL_DEFERRED 0x00000000
+
+#define PTHREAD_CANCELED ((void *) -1)
+
+int pthread_setcancelstate (int , int *);
+int pthread_setcanceltype (int , int *);
+void pthread_testcancel (void);
+int pthread_cancel (pthread_t t);
/* for quicktime build */
#define MAXFRAMESAMPLES 65536
#define ZDVB
+#if defined(__i386__) || defined(__x86_64__)
#define USE_FUTEX
+#endif
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#include "libzmpeg3.h"
+#if defined(__TERMUX__)
+#include "bthread.h"
+#endif
#ifdef USE_FUTEX
typedef zmpeg3_t::zloc_t zzloc_t;