Compare commits
4 Commits
58698ab53b
...
0a9e774471
Author | SHA1 | Date |
---|---|---|
Stephan Jauernick | 0a9e774471 | |
Stephan Jauernick | abe090a634 | |
Stephan Jauernick | 5aa41b8133 | |
Stephan Jauernick | 022d2ab655 |
|
@ -1,6 +1,8 @@
|
|||
Icecast 2 - README
|
||||
---------------------------------------------------------------------
|
||||
|
||||
TODO: add info regarding forks and expected repo layout in gitlab/*blub*
|
||||
|
||||
[![Build Status](https://travis-ci.org/xiph/Icecast-Server.svg?branch=master)](https://travis-ci.org/xiph/Icecast-Server)
|
||||
|
||||
Icecast is a streaming media server which currently supports _WebM_ and
|
||||
|
|
|
@ -7,6 +7,6 @@ Maintainer: Thomas B. Ruecker <thomas@ruecker.fi>
|
|||
Uploaders: Thomas B. Ruecker <thomas@ruecker.fi>
|
||||
Homepage: http://www.icecast.org/
|
||||
Standards-Version: 3.9.5
|
||||
Build-Depends: cdbs, autotools-dev, devscripts, libtool, automake1.11, autoconf, debhelper, dh-buildinfo, libogg-dev (>> 1.0.0), libvorbis-dev (>> 1.0.0), libxslt1-dev | libxslt-dev, libxml2-dev, libcurl4-gnutls-dev, libtheora-dev (>= 0.0.0.alpha7), libspeex-dev, libssl-dev, po-debconf, pkg-config, dh-autoreconf, automake
|
||||
Build-Depends: cdbs, autotools-dev, devscripts, libtool, automake1.11, autoconf, debhelper, dh-buildinfo, libogg-dev (>> 1.0.0), libvorbis-dev (>> 1.0.0), libxslt1-dev | libxslt-dev, libxml2-dev, libcurl4-gnutls-dev, libtheora-dev (>= 0.0.0.alpha7), libspeex-dev, libssl-dev, po-debconf, pkg-config, dh-autoreconf, automake, librhash-dev, libigloo-dev
|
||||
Package-List:
|
||||
icecast2 deb sound optional arch=any
|
||||
|
|
|
@ -41,7 +41,7 @@ BuildRequires: automake, pkgconfig
|
|||
BuildRequires: libvorbis-devel >= 1.0, libogg-devel >= 1.0, curl-devel >= 7.10.0
|
||||
BuildRequires: libxml2-devel, libxslt-devel, speex-devel
|
||||
# To be enabled as soon as Fedora's libtheora supports ogg_stream_init
|
||||
BuildRequires: libtheora-devel >= 1.0, openssl-devel
|
||||
BuildRequires: libtheora-devel >= 1.0, openssl-devel >= 1.1, rhash-devel, libigloo-devel >= 0.9.2
|
||||
# From suse packaging
|
||||
BuildRequires: libtool,
|
||||
|
||||
|
|
|
@ -56,19 +56,23 @@ cp /etc/mime.types installer/
|
|||
find installer/
|
||||
%build
|
||||
cd installer
|
||||
cp icecast.nsis icecast.nsis.orig
|
||||
sed -i "s/\(\"DisplayVersion\" \"\).*\(\"\)$/\1%{version}\2/" icecast.nsis
|
||||
sed -i 's/\(OutFile "icecast_win32_\).*\(.exe"\)$/\1%{version}\2/' icecast.nsis
|
||||
diff -u icecast.nsis.orig icecast.nsis || true
|
||||
export -n MALLOC_CHECK_
|
||||
export -n MALLOC_PERTURB_
|
||||
makensis icecast.nsis -V4
|
||||
|
||||
%install
|
||||
mkdir -p "%{buildroot}/%{_mingw32_bindir}"
|
||||
cp %_builddir/installer/icecast_win32_2.5-beta3.exe "%{buildroot}/%{_mingw32_bindir}"
|
||||
cp %_builddir/installer/icecast_win32_%{version}.exe "%{buildroot}/%{_mingw32_bindir}"
|
||||
|
||||
%clean
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_mingw32_bindir}/icecast_win32_2.5-beta3.exe
|
||||
%{_mingw32_bindir}/icecast_win32_%{version}.exe
|
||||
|
||||
%changelog
|
||||
* Sun Mar 13 2022 Philipp Schafft <lion@lion.leolix.org> - 2.4.99.3-1
|
||||
|
|
|
@ -26,7 +26,9 @@ BuildRequires: mingw32-libxml2-devel
|
|||
BuildRequires: mingw32-libxslt-devel
|
||||
BuildRequires: mingw32-libspeex-devel
|
||||
BuildRequires: mingw32-libtheora-devel >= 1.0
|
||||
BuildRequires: mingw32-libopenssl-devel
|
||||
BuildRequires: mingw32-libopenssl-1_1-devel
|
||||
BuildRequires: mingw32-libigloo-devel >= 0.9.0
|
||||
BuildRequires: mingw32-librhash-devel >= 0.9.0
|
||||
%_mingw32_package_header_debug
|
||||
BuildArch: noarch
|
||||
|
||||
|
@ -57,12 +59,13 @@ MINGW32_CFLAGS="%{_mingw32_cflags}" \
|
|||
PATH="%{_mingw32_bindir}:$PATH" \
|
||||
%{_mingw32_configure} \
|
||||
--with-curl=%{_mingw32_prefix} \
|
||||
--disable-static --enable-shared #\
|
||||
%{__make} %{?_smp_mflags}
|
||||
--disable-static --enable-shared
|
||||
|
||||
%{_mingw32_make} %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
%{_mingw32_makeinstall} %{?_smp_mflags}
|
||||
find %{buildroot}
|
||||
rm %{buildroot}%{_mingw32_sysconfdir}/icecast.xml
|
||||
cp -rfvp win32 %{buildroot}%{_mingw32_datadir}/icecast/win32
|
||||
|
||||
|
|
|
@ -9,4 +9,4 @@ echo Please open http://localhost:8000/ in your web browser to see the web inter
|
|||
echo.
|
||||
echo.
|
||||
echo Leave this window open to keep Icecast running and, if necessary, minimize it.
|
||||
.\bin\icecast.exe -c .\etc\icecast.xml
|
||||
.\bin\icecast.exe -c icecast.xml
|
||||
|
|
Loading…
Reference in New Issue