]> git.pld-linux.org Git - packages/gerbera.git/blobdiff - gerbera.spec
up to 1.8.1
[packages/gerbera.git] / gerbera.spec
index 08137a93efaa06ae1d50ec84e97a5ff2db7f7a62..c132dd1c603bd53363038832e9e3b02fddf04ee3 100644 (file)
@@ -1,30 +1,39 @@
+#
+# Conditional build:
+%bcond_without js              # JavaScript scripting support
+
 Summary:       UPnP Media Server
 Name:          gerbera
-Version:       1.6.4
+Version:       1.8.1
 Release:       1
 License:       GPL v2
 Group:         Applications
 Source0:       https://github.com/gerbera/gerbera/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 3d62bd2404ea2a5055560a2dd55bb5bf
+# Source0-md5: c71467c52ca503b2ae16785f87f614b4
 URL:           https://gerbera.io
-BuildRequires: cmake >= 3.14
+BuildRequires: cmake >= 3.13
 BuildRequires: curl-devel
+%{?with_js:BuildRequires:      duktape-devel}
 BuildRequires: exiv2-devel
 BuildRequires: ffmpeg-devel
 BuildRequires: ffmpegthumbnailer-devel
-BuildRequires: libfmt-devel
+BuildRequires: libexif-devel
+BuildRequires: libfmt-devel >= 5.3
 BuildRequires: libmagic-devel
 BuildRequires: libmatroska-devel
 BuildRequires: libstdc++-devel >= 6:7.1
-BuildRequires: libupnp-devel >= 1.12.1
+BuildRequires: libupnp-devel >= 1.14.0
 BuildRequires: libuuid-devel
 BuildRequires: pugixml-devel
+BuildRequires: rpmbuild(macros) >= 1.742
 BuildRequires: spdlog-devel
-BuildRequires: sqlite3-devel
+BuildRequires: sqlite3-devel >= 3.7.0
 BuildRequires: systemd-devel
 BuildRequires: taglib-devel
 BuildRequires: zlib-devel
-Requires:      libupnp >= 1.12.1
+Requires:      libfmt >= 5.3
+Requires:      libupnp >= 1.14.0
+Requires:      sqlite3-libs >= 3.7.0
 Requires:      systemd-units >= 38
 Provides:      group(gerbera)
 Provides:      user(gerbera)
@@ -42,11 +51,11 @@ compatible devices.
 install -d build
 cd build
 %cmake .. \
-       -DWITH_AVCODEC=1 \
-       -DWITH_DEBUG=0 \
-       -DWITH_EXIV2=1 \
-       -DWITH_FFMPEGTHUMBNAILER=1 \
-       -DWITH_JS=0
+       -DWITH_AVCODEC:BOOL=OFF \
+       -DWITH_DEBUG:BOOL=OFF \
+       -DWITH_EXIV2:BOOL=OFF \
+       -DWITH_FFMPEGTHUMBNAILER:BOOL=ON \
+       %{cmake_on_off js WITH_JS}
 
 %{__make}
 
This page took 0.716094 seconds and 4 git commands to generate.