diff options
author | LaserEyess <lasereyess@users.noreply.github.com> | 2022-11-12 09:27:07 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-07-23 19:55:51 +0000 |
commit | f2cce5f38f4031bf1a4b4919ec90e4e8f8c66a77 (patch) | |
tree | c5c7f21eb2e1556265655d166ea0bee258376d5b /waftools/fragments | |
parent | 60a263246e03d23c894ae0ef6bbfa29a5f1855dc (diff) | |
download | mpv-f2cce5f38f4031bf1a4b4919ec90e4e8f8c66a77.tar.bz2 mpv-f2cce5f38f4031bf1a4b4919ec90e4e8f8c66a77.tar.xz |
waf: remove waf as a build system
Remove waf entirely in favor of meson as the only supported build
system. Waf was officially deprecated in 0.36.0, and has not been
preferred over meson since 0.35.0.
Diffstat (limited to 'waftools/fragments')
-rw-r--r-- | waftools/fragments/audiounit.c | 15 | ||||
-rw-r--r-- | waftools/fragments/cocoa.m | 16 | ||||
-rw-r--r-- | waftools/fragments/coreaudio.c | 15 | ||||
-rw-r--r-- | waftools/fragments/gl_x11.c | 15 | ||||
-rw-r--r-- | waftools/fragments/iconv.c | 30 | ||||
-rw-r--r-- | waftools/fragments/pthreads.c | 6 | ||||
-rw-r--r-- | waftools/fragments/sse.c | 18 | ||||
-rw-r--r-- | waftools/fragments/touchbar.m | 7 | ||||
-rw-r--r-- | waftools/fragments/wasapi.c | 16 |
9 files changed, 0 insertions, 138 deletions
diff --git a/waftools/fragments/audiounit.c b/waftools/fragments/audiounit.c deleted file mode 100644 index e1d3266270..0000000000 --- a/waftools/fragments/audiounit.c +++ /dev/null @@ -1,15 +0,0 @@ -#include <AudioToolbox/AudioToolbox.h> -#include <AudioUnit/AudioUnit.h> -#include <CoreAudio/CoreAudioTypes.h> - -int main(int argc, char **argv) -{ - AudioComponentDescription desc = (AudioComponentDescription) { - .componentType = kAudioUnitType_Output, - .componentSubType = kAudioUnitSubType_RemoteIO, - .componentManufacturer = kAudioUnitManufacturer_Apple, - }; - - AudioComponentFindNext(NULL, &desc); - return 0; -} diff --git a/waftools/fragments/cocoa.m b/waftools/fragments/cocoa.m deleted file mode 100644 index 91b3aaa585..0000000000 --- a/waftools/fragments/cocoa.m +++ /dev/null @@ -1,16 +0,0 @@ -#import <CoreServices/CoreServices.h> -#import <OpenGL/OpenGL.h> -#import <Cocoa/Cocoa.h> - -#include "osdep/macosx_compat.h" - -int main(int argc, char **argv) -{ - @autoreleasepool { - NSArray *ary = @[@1, @2, @3]; - NSLog(@"test subscripting: %@", ary[0]); - NSApplicationLoad(); - CVDisplayLinkRef link; - CVDisplayLinkCreateWithCGDisplay(0, &link); - } -} diff --git a/waftools/fragments/coreaudio.c b/waftools/fragments/coreaudio.c deleted file mode 100644 index c7411311a7..0000000000 --- a/waftools/fragments/coreaudio.c +++ /dev/null @@ -1,15 +0,0 @@ -#include <CoreAudio/CoreAudio.h> -#include <AudioToolbox/AudioToolbox.h> -#include <AudioUnit/AudioUnit.h> - -int main(int argc, char **argv) -{ - AudioComponentDescription desc = (AudioComponentDescription) { - .componentType = kAudioUnitType_Output, - .componentSubType = kAudioUnitSubType_DefaultOutput, - .componentManufacturer = kAudioUnitManufacturer_Apple, - }; - - AudioComponentFindNext(NULL, &desc); - return 0; -} diff --git a/waftools/fragments/gl_x11.c b/waftools/fragments/gl_x11.c deleted file mode 100644 index 7d879b6c0d..0000000000 --- a/waftools/fragments/gl_x11.c +++ /dev/null @@ -1,15 +0,0 @@ -#include <X11/Xlib.h> -#include <GL/glx.h> -#include <stddef.h> - -#ifndef GL_VERSION_2_0 -#error "At least GL 2.0 headers needed." -#endif - -int main(int argc, char *argv[]) { - glXCreateContext(NULL, NULL, NULL, True); - glXQueryExtensionsString(NULL, 0); - glXGetProcAddressARB(""); - glXGetCurrentDisplay(); - return 0; -} diff --git a/waftools/fragments/iconv.c b/waftools/fragments/iconv.c deleted file mode 100644 index 78c963b643..0000000000 --- a/waftools/fragments/iconv.c +++ /dev/null @@ -1,30 +0,0 @@ -#include <stdio.h> -#include <unistd.h> -#include <iconv.h> -#define INBUFSIZE 1024 -#define OUTBUFSIZE 4096 - -char inbuffer[INBUFSIZE]; -char outbuffer[OUTBUFSIZE]; - -int main(void) { - size_t numread; - iconv_t icdsc; - char *tocode="UTF-8"; - char *fromcode="cp1250"; - if ((icdsc = iconv_open(tocode, fromcode)) != (iconv_t)(-1)) { - while ((numread = read(0, inbuffer, INBUFSIZE))) { - char *iptr=inbuffer; - char *optr=outbuffer; - size_t inleft=numread; - size_t outleft=OUTBUFSIZE; - if (iconv(icdsc, &iptr, &inleft, &optr, &outleft) - != (size_t)(-1)) { - write(1, outbuffer, OUTBUFSIZE - outleft); - } - } - if (iconv_close(icdsc) == -1) - ; - } - return 0; -} diff --git a/waftools/fragments/pthreads.c b/waftools/fragments/pthreads.c deleted file mode 100644 index 84f3d087fb..0000000000 --- a/waftools/fragments/pthreads.c +++ /dev/null @@ -1,6 +0,0 @@ -#include <pthread.h> -static void *func(void *arg) { return arg; } -int main(void) { - pthread_t tid; - return pthread_create (&tid, 0, func, 0) != 0; -} diff --git a/waftools/fragments/sse.c b/waftools/fragments/sse.c deleted file mode 100644 index e9689cda17..0000000000 --- a/waftools/fragments/sse.c +++ /dev/null @@ -1,18 +0,0 @@ -#pragma GCC push_options -#pragma GCC target("sse4.1") -#include <smmintrin.h> - -void *a_ptr; - -int main(void) -{ - __m128i xmm0; - __m128i* p = (__m128i*)a_ptr; - - _mm_sfence(); - - xmm0 = _mm_stream_load_si128(p + 1); - _mm_store_si128(p + 2, xmm0); - - return 0; -} diff --git a/waftools/fragments/touchbar.m b/waftools/fragments/touchbar.m deleted file mode 100644 index 3fa4f27aa1..0000000000 --- a/waftools/fragments/touchbar.m +++ /dev/null @@ -1,7 +0,0 @@ -#import <AppKit/AppKit.h> - -int main(int argc, char **argv) -{ - [[NSTouchBar alloc] init]; - return 0; -} diff --git a/waftools/fragments/wasapi.c b/waftools/fragments/wasapi.c deleted file mode 100644 index fbd2bb6e1b..0000000000 --- a/waftools/fragments/wasapi.c +++ /dev/null @@ -1,16 +0,0 @@ -#include <malloc.h> -#include <stdlib.h> -#include <process.h> -#include <audioclient.h> -#include <endpointvolume.h> -#include <mmdeviceapi.h> -#include <avrt.h> - const GUID *check1[] = { - &IID_IAudioClient, - &IID_IAudioRenderClient, - &IID_IAudioClient, - &IID_IAudioEndpointVolume, - }; -int main(void) { - return 0; -} |