commit
d747de7917
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# gavl
|
||||
|
||||
#### Description
|
||||
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
39
README.md
39
README.md
@ -1,39 +0,0 @@
|
||||
# gavl
|
||||
|
||||
#### 介绍
|
||||
{**以下是码云平台说明,您可以替换此简介**
|
||||
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
|
||||
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 码云特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
60
gavl-1.1.1-system_libgdither.patch
Normal file
60
gavl-1.1.1-system_libgdither.patch
Normal file
@ -0,0 +1,60 @@
|
||||
diff -up gavl-1.1.1/configure.ac.gdither gavl-1.1.1/configure.ac
|
||||
--- gavl-1.1.1/configure.ac.gdither 2009-07-13 22:42:38.000000000 +0200
|
||||
+++ gavl-1.1.1/configure.ac 2009-10-28 00:02:31.461428785 +0100
|
||||
@@ -217,6 +217,27 @@ TOP_SRCDIR=`cd ${srcdir} && pwd`
|
||||
AC_SUBST(TOP_SRCDIR)
|
||||
|
||||
dnl
|
||||
+dnl System libraries
|
||||
+dnl
|
||||
+
|
||||
+AC_ARG_ENABLE(libgdither,
|
||||
+ [ --enable-libgdither System libgdither (experimental)])
|
||||
+if test "${enable_libgdither}" = "yes"
|
||||
+then
|
||||
+ PKG_CHECK_MODULES(LIBGDITHER, libgdither,
|
||||
+ [
|
||||
+ AC_DEFINE(HAVE_LIBGDITHER, 1, [Define to 1 if you have the `libgdither' library (-lgdither).])
|
||||
+ have_libgdither="true"
|
||||
+ ],
|
||||
+ [
|
||||
+ have_libgdither="false"
|
||||
+ ]
|
||||
+ )
|
||||
+fi
|
||||
+AM_CONDITIONAL(HAVE_LIBGDITHER, [test x$have_libgdither = xtrue])
|
||||
+
|
||||
+
|
||||
+dnl
|
||||
dnl Output variables
|
||||
dnl
|
||||
|
||||
diff -up gavl-1.1.1/gavl/Makefile.am.gdither gavl-1.1.1/gavl/Makefile.am
|
||||
--- gavl-1.1.1/gavl/Makefile.am.gdither 2009-05-13 17:10:37.000000000 +0200
|
||||
+++ gavl-1.1.1/gavl/Makefile.am 2009-10-28 00:04:37.837435280 +0100
|
||||
@@ -40,8 +40,15 @@ threednow_libs =
|
||||
threednow_subdirs =
|
||||
endif
|
||||
|
||||
+if HAVE_LIBGDITHER
|
||||
+ MAYBE_LIBGDITHER_LA = @LIBGDITHER_LIBS@
|
||||
+else
|
||||
+ MAYBE_LIBGDITHER = libgdither
|
||||
+ MAYBE_LIBGDITHER_LA = libgdither/libgdither.la
|
||||
+endif
|
||||
+
|
||||
|
||||
-SUBDIRS = hq c libgdither libsamplerate $(mmx_subdirs) \
|
||||
+SUBDIRS = hq c $(MAYBE_LIBGDITHER) libsamplerate $(mmx_subdirs) \
|
||||
$(sse_subdirs) \
|
||||
$(sse2_subdirs) \
|
||||
$(sse3_subdirs) \
|
||||
@@ -109,7 +116,7 @@ $(sse3_libs) \
|
||||
$(threednow_libs) \
|
||||
c/libgavl_c.la \
|
||||
hq/libgavl_hq.la \
|
||||
-libgdither/libgdither.la \
|
||||
+$(MAYBE_LIBGDITHER_LA) \
|
||||
libsamplerate/libsamplerate.la \
|
||||
@LIBGAVL_LIBS@ \
|
||||
-lm
|
||||
BIN
gavl-1.4.0.tar.gz
Normal file
BIN
gavl-1.4.0.tar.gz
Normal file
Binary file not shown.
64
gavl.spec
Normal file
64
gavl.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Name: gavl
|
||||
Version: 1.4.0
|
||||
Release: 14
|
||||
Summary: Library which provides basic support for uncompressed multimedia data
|
||||
License: GPLv3+
|
||||
URL: http://gmerlin.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/gmerlin/gavl-%{version}.tar.gz
|
||||
Patch0001: gavl-1.1.1-system_libgdither.patch
|
||||
BuildRequires: libtool doxygen libpng-devel >= 1.0.8 libgdither-devel
|
||||
|
||||
%description
|
||||
Gavl is short for Gmerlin Audio Video Library. It is a low level library, upon
|
||||
which multimedia APIs can be built. Gavl handles all the details of audio and
|
||||
video formats like colorspaces, samplerates, multichannel configurations etc. It
|
||||
provides standardized definitions for those formats as well as container
|
||||
structures for carrying audio samples or video images inside an application.
|
||||
|
||||
%package devel
|
||||
Summary: Development support for %{name} library
|
||||
Requires: %{name} = %{version}-%{release} pkgconfig
|
||||
|
||||
%description devel
|
||||
This package provides libraries and header files for developing applications when using
|
||||
%{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
sed -i -i 's/LQT_TRY_CFLAGS/dnl LQT_TRY_CFLAGS/g' configure.ac
|
||||
sed -i -i 's/LQT_OPT_CFLAGS/dnl LQT_OPT_CFLAGS/g' configure.ac
|
||||
|
||||
sh autogen.sh
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-cpu-clip --enable-libgdither
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la
|
||||
|
||||
touch -r include/gavl/gavl.h $RPM_BUILD_ROOT%{_includedir}/gavl/gavl_version.h
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING README TODO
|
||||
%{_libdir}/*.so.*
|
||||
%exclude %{_docdir}/gavl/apiref
|
||||
|
||||
%files devel
|
||||
%doc %{_docdir}/gavl/apiref/
|
||||
%{_includedir}/gavl/
|
||||
%{_libdir}/{*.so,pkgconfig/gavl.pc}
|
||||
|
||||
%changelog
|
||||
* Sat Dec 21 2019 yanzhihua <yanzhihua4@huawei.com> - 1.4.0-14
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user