mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
LP-317: Update fedora package for OSG
This commit is contained in:
parent
8a153de206
commit
16c0915b26
@ -24,6 +24,8 @@ BuildRequires: qt5-qtserialport-devel
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
BuildRequires: qt5-qttools-devel
|
||||
BuildRequires: qt5-qttranslations
|
||||
BuildRequires: OpenSceneGraph-devel
|
||||
%{!?fc22:BuildRequires: osgearth-devel}
|
||||
BuildRequires: dwz
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python
|
||||
@ -38,6 +40,8 @@ Requires: qt5-qtmultimedia
|
||||
Requires: qt5-qtscript
|
||||
Requires: qt5-qtserialport
|
||||
Requires: qt5-qtsvg
|
||||
Requires: OpenSceneGraph-libs
|
||||
%{!?fc22:Requires: osgearth}
|
||||
|
||||
|
||||
%description
|
||||
@ -55,7 +59,8 @@ make config_new \
|
||||
prefix=%{_prefix} \
|
||||
QMAKE=qmake-qt5 \
|
||||
udevrulesdir=%{_udevrulesdir} \
|
||||
WITH_PREBUILT_FW=$(pwd)/build/firmware
|
||||
WITH_PREBUILT_FW=$(pwd)/build/firmware \
|
||||
GCS_EXTRA_CONF='osg%{!?fc22: osgearth}'
|
||||
|
||||
make %{?_smp_mflags} opfw_resource gcs
|
||||
|
||||
@ -87,7 +92,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
#
|
||||
%{_libdir}/librepilot-gcs/libAggregation.so.1*
|
||||
%{_libdir}/librepilot-gcs/libExtensionSystem.so.1*
|
||||
%{_libdir}/librepilot-gcs/libGLC_lib.so.1*
|
||||
%{_libdir}/librepilot-gcs/libopmapwidget.so.1*
|
||||
%{_libdir}/librepilot-gcs/libQScienceSpinBox.so.1*
|
||||
%{_libdir}/librepilot-gcs/libQtConcurrent.so.1*
|
||||
|
Loading…
x
Reference in New Issue
Block a user