1
0
forked from pool/libcamera

restore trimmed changelog, adjust .pc files to not contain -suse

OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=21
This commit is contained in:
Jan Engelhardt 2021-07-23 16:47:23 +00:00 committed by Git OBS Bridge
parent f3896c2908
commit a727b83745
2 changed files with 12 additions and 4 deletions

View File

@ -1,8 +1,14 @@
-------------------------------------------------------------------
Wed May 5 07:01:02 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
Fri Jul 23 16:39:41 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to snapshot 0~2809 (e0704e97) [boo#1188650]
* cam: support using multiple cameras concurrently
-------------------------------------------------------------------
Wed May 5 07:01:02 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to snapshot 0~2532 (093b71b2)
* No changelog available, understandably.
- Add -Wno-error
-------------------------------------------------------------------

View File

@ -110,11 +110,13 @@ export CXXFLAGS="$CFLAGS"
%install
%meson_install
# Together with patch1, this makes for the "-release" feature from libtool
# libtool's -release would be so much more direct, but alas, meson...
mv "%buildroot/%_libdir/libcamera-suse.so" "%buildroot/%_libdir/libcamera.so"
perl -i -pe 's{-lcamera-suse}{-lcamera}' "%buildroot/%_libdir/pkgconfig"/*.pc
mv "%buildroot/%_libdir/libcamera-base-suse.so" "%buildroot/%_libdir/libcamera-base.so"
perl -i -pe 's{-lcamera-base-suse}{-lcamera-base}' "%buildroot/%_libdir/pkgconfig"/*.pc
mv "%buildroot/%_libdir/pkgconfig/libcamera-suse.pc" "%buildroot/%_libdir/pkgconfig/libcamera.pc"
mv "%buildroot/%_libdir/pkgconfig/libcamera-base-suse.pc" "%buildroot/%_libdir/pkgconfig/libcamera-base.pc"
perl -i -pe 's{camera-suse}{camera}' "%buildroot/%_libdir/pkgconfig"/*.pc
perl -i -pe 's{camera-base-suse}{camera-base}' "%buildroot/%_libdir/pkgconfig"/*.pc
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig