pkg-config files: add -logg -lvorbis to libs [release 1.3.4-2mamba;Tue May 20 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 06:05:13 +01:00
parent 682699d749
commit c470df6d96
2 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,21 @@
diff -Nru libvorbis-1.3.4.orig/vorbisenc.pc.in libvorbis-1.3.4/vorbisenc.pc.in
--- libvorbis-1.3.4.orig/vorbisenc.pc.in 2014-01-22 10:53:31.000000000 +0100
+++ libvorbis-1.3.4/vorbisenc.pc.in 2014-05-20 11:52:03.928126503 +0200
@@ -10,5 +10,5 @@
Version: @VERSION@
Requires.private: vorbis
Conflicts:
-Libs: -L${libdir} -lvorbisenc
+Libs: -L${libdir} -lvorbisenc -logg -lvorbis
Cflags: -I${includedir}
diff -Nru libvorbis-1.3.4.orig/vorbis.pc.in libvorbis-1.3.4/vorbis.pc.in
--- libvorbis-1.3.4.orig/vorbis.pc.in 2014-01-22 10:53:32.000000000 +0100
+++ libvorbis-1.3.4/vorbis.pc.in 2014-05-20 11:52:19.297963621 +0200
@@ -10,6 +10,6 @@
Version: @VERSION@
Requires.private: ogg
Conflicts:
-Libs: -L${libdir} -lvorbis
+Libs: -L${libdir} -lvorbis -logg
Libs.private: -lm
Cflags: -I${includedir}

View File

@ -1,6 +1,6 @@
Name: libvorbis
Version: 1.3.4
Release: 1mamba
Release: 2mamba
Summary: A general purpose public domain audio and music encoding format
Group: System/Libraries
Vendor: openmamba
@ -8,9 +8,13 @@ Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.vorbis.com
Source: http://downloads.xiph.org/releases/vorbis/libvorbis-%{version}.tar.gz
Patch0: libvorbis-1.3.4-pkg-config.patch
License: GPL
BuildRequires: pkgconfig
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libogg-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -31,6 +35,7 @@ This package contains static libraries and header files need for development.
%prep
%setup -q
%patch0 -p1
%build
%configure
@ -77,6 +82,9 @@ rm -f %{buildroot}%{_libdir}/*.a
%doc pckdocs/*
%changelog
* Tue May 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-2mamba
- pkg-config files: add -logg -lvorbis to libs
* Thu Jan 23 2014 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic version update by autodist