fix /sbin/ip path; add -DRELY_UDEV=ON [release 1.0.20200710git-2mamba;Fri Jul 10 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 07:10:41 +01:00
parent 1bcd1d067d
commit de61a631f2
2 changed files with 75 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# miraclecast # miraclecast
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.

71
miraclecast.spec Normal file
View File

@ -0,0 +1,71 @@
Name: miraclecast
Version: 1.0.20200710git
Release: 2mamba
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: ldconfig
BuildRequires: libglib-devel
BuildRequires: libncurses-devel
BuildRequires: libreadline-devel
BuildRequires: libsystemd-devel
BuildRequires: libudev-devel
## AUTOBUILDREQ-END
BuildRequires: meson
Requires: iproute
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
* 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