Accepting request 72854 from home:plater
Update .pc files OBS-URL: https://build.opensuse.org/request/show/72854 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=2
This commit is contained in:
parent
543995b499
commit
62c6d03fa8
11
lilv-0.4.2-pc.patch
Normal file
11
lilv-0.4.2-pc.patch
Normal file
@ -0,0 +1,11 @@
|
||||
Index: lilv.pc.in
|
||||
===================================================================
|
||||
--- lilv.pc.in.orig 2011-06-06 22:57:35.000000000 +0200
|
||||
+++ lilv.pc.in 2011-06-06 23:00:04.880949663 +0200
|
||||
@@ -6,5 +6,5 @@ includedir=@includedir@
|
||||
Name: Lilv
|
||||
Version: @LILV_VERSION@
|
||||
Description: Simple C library for hosting LV2 plugins
|
||||
-Libs: -L${libdir} -l@LIB_LILV@ -ldl
|
||||
+Libs: -L${libdir} -l@LIB_LILV@ -ldl -lserd -lsord
|
||||
Cflags: -I${includedir}/lilv
|
@ -31,6 +31,7 @@ Source3: lv2_shaded_blue.svg
|
||||
Patch0: lilv-0.4.2-lserd.patch
|
||||
Patch1: lilv-0.4.2-serdlib.patch
|
||||
Patch2: lilv-0.4.2-sordlib.patch
|
||||
Patch3: lilv-0.4.2-pc.patch
|
||||
#Icon: lv2_shaded_blue.svg
|
||||
BuildRequires: python-base glib2-devel
|
||||
BuildRequires: doxygen graphviz fdupes
|
||||
@ -95,6 +96,7 @@ chmod --verbose 0644 %{S:3}
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
|
||||
# Create serd .pc file with macros for the build
|
||||
echo "prefix=%{buildir}/serd-%{version}">serd.pc
|
||||
@ -118,7 +120,7 @@ echo "">>sord.pc
|
||||
echo "Name: Sord">>sord.pc
|
||||
echo "Version: %{version}">>sord.pc
|
||||
echo "Description: A lightweight C library for storing RDF statements in memory.">>sord.pc
|
||||
echo "Libs: -L\${libdir} -lsord">>sord.pc
|
||||
echo "Libs: -L%{buildir}/serd-%{version}/build -lserd -L\${libdir} -lsord">>sord.pc
|
||||
echo "Cflags: -I\${includedir}">>sord.pc
|
||||
echo "">>sord.pc
|
||||
export PKG_CONFIG_PATH=${PWD}
|
||||
@ -151,6 +153,7 @@ fi
|
||||
if test $? != 0; then
|
||||
exit 1
|
||||
fi
|
||||
/sbin/ldconfig -vn build/
|
||||
}
|
||||
|
||||
pushd serd-%{version}
|
||||
@ -171,10 +174,11 @@ pushd sord-%{version}
|
||||
popd
|
||||
./waf install --destdir=%{buildroot}
|
||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
chmod -c 0755 %{buildroot}%{_libdir}/*.so.%{version}
|
||||
|
||||
documents="AUTHORS ChangeLog COPYING README"
|
||||
for i in ${documents}; do
|
||||
cp $i %{buildroot}%{_docdir}/%{name}/
|
||||
cp $i %{buildroot}%{_docdir}/%{name}/
|
||||
cp serd-%{version}/$i %{buildroot}%{_docdir}/serd/
|
||||
cp sord-%{version}/$i %{buildroot}%{_docdir}/sord/
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user