Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:sdr-devel
CubicSDR
CubicSDR.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CubicSDR.spec of Package CubicSDR
# # spec file for package CubicSDR # # Copyright (c) 2017-2020, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: CubicSDR Version: 0.2.5+git.20200824 Release: 0 Summary: Cross-Platform Software-Defined Radio Application License: GPL-2.0-only Group: Productivity/Hamradio/Other URL: https://github.com/cjcliffe/CubicSDR Source: %{name}-%{version}.tar.xz Patch0: CubicSDR-update-hamlib-define.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libliquid-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(SoapySDR) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(hamlib) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(librtlsdr) # Recommends: soapysdr0.7-module-rtlsdr %if 0%{?suse_version} <= 1315 # static version of wxWidgets-3.1.0 Source2: wxWidgets-3.1.0.tar.bz2 %endif %if 0%{?suse_version} >= 1320 BuildRequires: wxWidgets-3_2-devel %endif %if 0%{?suse_version} <= 1315 BuildRequires: SDL-devel # dependencies for wxWidgets BuildRequires: autoconf BuildRequires: automake BuildRequires: libtiff-devel BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(gtk+-2.0) %endif %description Cross-Platform Software-Defined Radio Application %prep %setup -q %patch0 -p1 %if 0%{?suse_version} <= 1315 # static version of wxWidgets-3.1.0 tar xjf %{SOURCE2} %endif %build %if 0%{?suse_version} <= 1315 # static version of wxWidgets-3.1.0 cd wxWidgets-3.1.0/ mkdir -p /tmp/wxWidgets-staticlib ./autogen.sh # FIXME: you should use the %%configure macro ./configure \ --with-opengl \ --disable-shared \ --enable-monolithic \ --with-libjpeg \ --with-libtiff \ --with-libpng \ --with-zlib \ --disable-sdltest \ --enable-unicode \ --enable-display \ --enable-propgrid \ --disable-webkit \ --disable-webview \ --disable-webviewwebkit \ --prefix=`echo /tmp/wxWidgets-staticlib` \ --with-libiconv=%{_prefix} \ CXXFLAGS="-std=c++0x" %make_build %make_build install cd .. %endif # CubicSDR %cmake \ -DENABLE_DIGITAL_LAB=1 \ %if 0%{?suse_version} <= 1315 -DwxWidgets_CONFIG_EXECUTABLE=/tmp/wxWidgets-staticlib/bin/wx-config \ %endif -DUSE_HAMLIB=1 %make_build %install %cmake_install %files %license LICENSE %doc README.md %{_bindir}/CubicSDR %dir %{_datadir}/cubicsdr %{_datadir}/cubicsdr/fonts %{_datadir}/cubicsdr/CubicSDR.png %{_datadir}/applications/CubicSDR.desktop %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor