diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-07-11 18:04:48 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-10-20 16:40:03 +0200 |
commit | fe2b5632e0933394c28406e61097c6f28a1b6506 (patch) | |
tree | eea20e54187fc7b72e24a893109fdf4dec81ce7f | |
parent | 4d33d316a131c201c3737f6be621013f66f6bd8a (diff) |
avscale: Initial dummy build system
-rw-r--r-- | Makefile | 3 | ||||
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | libavscale/Makefile | 7 | ||||
-rw-r--r-- | libavscale/avscale.c | 0 | ||||
-rw-r--r-- | libavscale/version.h | 50 |
5 files changed, 64 insertions, 2 deletions
@@ -20,7 +20,7 @@ $(foreach VAR,$(SILENT),$(eval override $(VAR) = @$($(VAR)))) $(eval INSTALL = @$(call ECHO,INSTALL,$$(^:$(SRC_PATH)/%=%)); $(INSTALL)) endif -ALLFFLIBS = avcodec avdevice avfilter avformat avresample avutil swscale +ALLFFLIBS = avcodec avdevice avfilter avformat avresample avscale avutil swscale IFLAGS := -I. -I$(SRC_PATH) CPPFLAGS := $(IFLAGS) $(CPPFLAGS) @@ -91,6 +91,7 @@ FFLIBS-$(CONFIG_AVFILTER) += avfilter FFLIBS-$(CONFIG_AVFORMAT) += avformat FFLIBS-$(CONFIG_AVCODEC) += avcodec FFLIBS-$(CONFIG_AVRESAMPLE) += avresample +FFLIBS-$(CONFIG_AVSCALE) += avscale FFLIBS-$(CONFIG_SWSCALE) += swscale FFLIBS := avutil @@ -116,6 +116,7 @@ Component options: --disable-avdevice disable libavdevice build --disable-avcodec disable libavcodec build --disable-avformat disable libavformat build + --disable-avscale disable libavscale build --disable-avutil disable libavutil build --disable-swscale disable libswscale build --disable-avfilter disable video filter support [no] @@ -1247,6 +1248,7 @@ LIBRARY_LIST=" avfilter avformat avresample + avscale avutil swscale " @@ -2324,6 +2326,7 @@ avdevice_deps="avformat avcodec avutil" avfilter_deps="avutil" avformat_deps="avcodec avutil" avresample_deps="avutil" +avscale_deps="avutil" swscale_deps="avutil" # programs @@ -4620,7 +4623,7 @@ check_disable_warning -Wno-pointer-sign # add some linker flags check_ldflags -Wl,--warn-common -check_ldflags -Wl,-rpath-link=libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample +check_ldflags -Wl,-rpath-link=libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample:libavscale enabled rpath && add_ldexeflags -Wl,-rpath,$libdir test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic @@ -5183,5 +5186,6 @@ pkgconfig_generate libavcodec "Libav codec library" "$LIBAVCODEC_V pkgconfig_generate libavformat "Libav container format library" "$LIBAVFORMAT_VERSION" "$extralibs" pkgconfig_generate libavdevice "Libav device handling library" "$LIBAVDEVICE_VERSION" "$extralibs" pkgconfig_generate libavfilter "Libav video filtering library" "$LIBAVFILTER_VERSION" "$extralibs" +pkgconfig_generate libavscale "Libav image rescaling library" "$LIBAVSCALE_VERSION" "$LIBM" pkgconfig_generate libavresample "Libav audio resampling library" "$LIBAVRESAMPLE_VERSION" "$LIBM" pkgconfig_generate libswscale "Libav image rescaling library" "$LIBSWSCALE_VERSION" "$LIBM" diff --git a/libavscale/Makefile b/libavscale/Makefile new file mode 100644 index 0000000000..bae67043ab --- /dev/null +++ b/libavscale/Makefile @@ -0,0 +1,7 @@ +NAME = avscale + +HEADERS = avscale.h + +OBJS = avscale.o \ + utils.o \ + diff --git a/libavscale/avscale.c b/libavscale/avscale.c new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/libavscale/avscale.c diff --git a/libavscale/version.h b/libavscale/version.h new file mode 100644 index 0000000000..3e9f76878a --- /dev/null +++ b/libavscale/version.h @@ -0,0 +1,50 @@ +/* + * This file is part of Libav. + * + * Libav is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * Libav 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Libav; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVSCALE_VERSION_H +#define AVSCALE_VERSION_H + +/** + * @file + * @ingroup lavs + * Libavscale version macros. + */ + +#include "libavutil/version.h" + +#define LIBAVSCALE_VERSION_MAJOR 1 +#define LIBAVSCALE_VERSION_MINOR 0 +#define LIBAVSCALE_VERSION_MICRO 0 + +#define LIBAVSCALE_VERSION_INT AV_VERSION_INT(LIBAVSCALE_VERSION_MAJOR, \ + LIBAVSCALE_VERSION_MINOR, \ + LIBAVSCALE_VERSION_MICRO) +#define LIBAVSCALE_VERSION AV_VERSION(LIBAVSCALE_VERSION_MAJOR, \ + LIBAVSCALE_VERSION_MINOR, \ + LIBAVSCALE_VERSION_MICRO) +#define LIBAVSCALE_BUILD LIBAVSCALE_VERSION_INT + +#define LIBAVSCALE_IDENT "Lavs" AV_STRINGIFY(LIBAVSCALE_VERSION) + +/** + * FF_API_* defines may be placed below to indicate public API that will be + * dropped at a future version bump. The defines themselves are not part of + * the public API and may change, break or disappear at any time. + */ + +#endif /* AVSCALE_VERSION_H */ |