From e2bad8e79d5bca438289b298e81844f5ff3d6ec8 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Wed, 9 Sep 2020 09:28:50 -0700 Subject: [PATCH] obs-filters: Remove unnecessary files --- plugins/obs-filters/rnnoise/CMakeLists.txt | 39 ------------------- plugins/obs-filters/rnnoise/autogen.sh | 10 ----- .../rnnoise/rnnoise-uninstalled.pc.in | 13 ------- plugins/obs-filters/rnnoise/rnnoise.pc.in | 14 ------- 4 files changed, 76 deletions(-) delete mode 100644 plugins/obs-filters/rnnoise/CMakeLists.txt delete mode 100644 plugins/obs-filters/rnnoise/autogen.sh delete mode 100644 plugins/obs-filters/rnnoise/rnnoise-uninstalled.pc.in delete mode 100644 plugins/obs-filters/rnnoise/rnnoise.pc.in diff --git a/plugins/obs-filters/rnnoise/CMakeLists.txt b/plugins/obs-filters/rnnoise/CMakeLists.txt deleted file mode 100644 index f4d0bf5b4..000000000 --- a/plugins/obs-filters/rnnoise/CMakeLists.txt +++ /dev/null @@ -1,39 +0,0 @@ -cmake_minimum_required(VERSION 3.1) -project(rnnoise) - -option(RNNOISE_COMPILE_OPUS ON) - -if(RNNOISE_COMPILE_OPUS) - add_definitions(-DCOMPILE_OPUS) -endif() - -# Ignore CRT warnings -add_definitions(-D_CRT_SECURE_NO_WARNINGS) - -# Get source files -file(GLOB SOURCES "src/*.c" "src/*.h" "include/*.h") - -# Build rnnoise -add_definitions(-DRNNOISE_BUILD) - -# Compile the library -add_library(rnnoise ${SOURCES}) - -# Build DLL if needed -if(BUILD_SHARED_LIBS) - if(WIN32) - target_compile_definitions(rnnoise PRIVATE DLL_EXPORT) - else() - include(CheckCCompilerFlag) - check_c_compiler_flag(-fvisibility=hidden COMPILER_HAS_HIDDEN_VISIBILITY) - if(COMPILER_HAS_HIDDEN_VISIBILITY) - set_target_properties(rnnoise PROPERTIES C_VISIBILITY_PRESET hidden) - endif() - endif() -endif() - -# Include dirs -target_include_directories(rnnoise PUBLIC - $ - $ - PRIVATE src) \ No newline at end of file diff --git a/plugins/obs-filters/rnnoise/autogen.sh b/plugins/obs-filters/rnnoise/autogen.sh deleted file mode 100644 index 937867769..000000000 --- a/plugins/obs-filters/rnnoise/autogen.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# Run this to set up the build system: configure, makefiles, etc. -set -e - -srcdir=`dirname $0` -test -n "$srcdir" && cd "$srcdir" - -echo "Updating build configuration files for rnnoise, please wait...." - -autoreconf -isf diff --git a/plugins/obs-filters/rnnoise/rnnoise-uninstalled.pc.in b/plugins/obs-filters/rnnoise/rnnoise-uninstalled.pc.in deleted file mode 100644 index e2af62feb..000000000 --- a/plugins/obs-filters/rnnoise/rnnoise-uninstalled.pc.in +++ /dev/null @@ -1,13 +0,0 @@ -# rnnoise uninstalled pkg-config file - -prefix= -exec_prefix= -libdir=${pcfiledir}/.libs -includedir=${pcfiledir}/@top_srcdir@/include - -Name: rnnoise uninstalled -Description: RNN-based noise suppression (not installed) -Version: @PACKAGE_VERSION@ -Conflicts: -Libs: ${libdir}/librnnoise.la @lrintf_lib@ -Cflags: -I${includedir} diff --git a/plugins/obs-filters/rnnoise/rnnoise.pc.in b/plugins/obs-filters/rnnoise/rnnoise.pc.in deleted file mode 100644 index 8c1325001..000000000 --- a/plugins/obs-filters/rnnoise/rnnoise.pc.in +++ /dev/null @@ -1,14 +0,0 @@ -# rnnoise installed pkg-config file - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: rnnoise -Description: RNN-based noise suppression -Version: @PACKAGE_VERSION@ -Conflicts: -Libs: -L${libdir} -lrnnoise -Libs.private: @lrintf_lib@ -Cflags: -I${includedir}/