From: Jakub Bogusz Date: Wed, 4 Apr 2012 17:35:51 +0000 (+0000) Subject: - updated to 1.14 X-Git-Tag: auto/th/OpenAL-1_14-1 X-Git-Url: https://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Ftags%2Fauto%2Fth%2FOpenAL-1_14-1;p=packages%2FOpenAL.git - updated to 1.14 - added link patch (just in case examples are built; by default, disable them) Changed files: OpenAL-link.patch -> 1.1 OpenAL.spec -> 1.62 --- diff --git a/OpenAL-link.patch b/OpenAL-link.patch new file mode 100644 index 0000000..bd7abae --- /dev/null +++ b/OpenAL-link.patch @@ -0,0 +1,11 @@ +--- openal-soft-1.14/CMakeLists.txt.orig 2012-03-28 17:55:17.000000000 +0200 ++++ openal-soft-1.14/CMakeLists.txt 2012-04-04 17:43:01.116501828 +0200 +@@ -663,7 +663,7 @@ + + IF(EXAMPLES) + # Might be able to use earlier versions, but these definitely work +- PKG_CHECK_MODULES(FFMPEG libavcodec>=52.123.0 libavformat>=52.111.0) ++ PKG_CHECK_MODULES(FFMPEG libavcodec>=52.123.0 libavformat>=52.111.0 libavutil) + ENDIF() + + IF(LIBTYPE STREQUAL "STATIC") diff --git a/OpenAL.spec b/OpenAL.spec index 292d870..d113b8d 100644 --- a/OpenAL.spec +++ b/OpenAL.spec @@ -7,12 +7,13 @@ Summary: Open Audio Library Summary(pl.UTF-8): Otwarta Biblioteka Dźwięku Name: OpenAL -Version: 1.13 +Version: 1.14 Release: 1 License: LGPL v2+ Group: Libraries Source0: http://kcat.strangesoft.net/openal-releases/openal-soft-%{version}.tar.bz2 -# Source0-md5: 58b7d2809790c70681b825644c5f3614 +# Source0-md5: 3d8b86c21a2f87a2a5e60f78f3b3f03d +Patch0: %{name}-link.patch #URL: http://kcat.strangesoft.net/openal.html URL: http://www.openal.org/ %{?with_alsa:BuildRequires: alsa-lib-devel} @@ -53,11 +54,13 @@ OpenAL. %prep %setup -q -n openal-soft-%{version} +%patch0 -p1 %build %cmake . \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=1 \ + -DEXAMPLES=OFF \ -DLIB_INSTALL_DIR=%{_lib} \ %{!?with_alsa:-DALSA=OFF} \ %{!?with_portaudio:-DPORTAUDIO=OFF} \ @@ -79,6 +82,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/makehrtf %attr(755,root,root) %{_bindir}/openal-info %attr(755,root,root) %{_libdir}/libopenal.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libopenal.so.1