miraclecast/miraclecast.spec

73 lines
2.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: miraclecast
Version: 1.0.20231112
Release: 1mamba
Summary: Wifi-Display/Miracast Implementation
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/albfan/miraclecast
## GITSOURCE https://github.com/albfan/miraclecast.git master
Source: https://github.com/albfan/miraclecast.git/master/miraclecast-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libncurses-devel
BuildRequires: libreadline-devel
BuildRequires: libsystemd-devel
BuildRequires: libudev-devel
## AUTOBUILDREQ-END
BuildRequires: meson
Requires: iproute
%description
The MiracleCast project provides software to connect external monitors to your system via Wi-Fi. It is compatible to the Wifi-Display specification also known as Miracast. MiracleCast implements the Display-Source as well as Display-Sink side.
The Display-Source side allows you to connect external displays to your system and stream local content to the device. A lot of effort is put into making this as easy as connecting external displays via HDMI.
On the other hand, the Display-Sink side allows you to create wifi-capable external displays yourself. You can use it on your embedded devices or even on full desktops to allow other systems to use your device as external display.
%debug_package
%prep
%setup -q
sed -i "s|/bin/ip|/sbin/ip|" src/dhcp/dhcp.c
%build
%cmake -d build \
-DRELY_UDEV=ON \
-DCMAKE_C_FLAGS="-lncurses"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.miracle.conf
%{_bindir}/gstplayer
%{_bindir}/miracle-dhcp
%{_bindir}/miracle-gst
%{_bindir}/miracle-sinkctl
%{_bindir}/miracle-uibcctl
%{_bindir}/miracle-wifictl
%{_bindir}/miracle-wifid
%{_bindir}/miracled
%{_bindir}/uibc-viewer
%{_datadir}/bash-completion/completions/miracle-*
%doc COPYING
%changelog
* Wed Apr 17 2024 Automatic Build System <autodist@openmamba.org> 1.0.20231112-1mamba
- automatic version update by autodist
* Fri Jul 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.20200710git-2mamba
- fix /sbin/ip path; add -DRELY_UDEV=ON
* Fri Jul 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.20200710git-1mamba
- package created using the webbuild interface