]> git.pld-linux.org Git - packages/gerbera.git/blobdiff - gerbera.spec
up to 1.8.1
[packages/gerbera.git] / gerbera.spec
index c553647a8d9d98ca220522c33390464ded0fa308..c132dd1c603bd53363038832e9e3b02fddf04ee3 100644 (file)
@@ -1,14 +1,19 @@
+#
+# Conditional build:
+%bcond_without js              # JavaScript scripting support
+
 Summary:       UPnP Media Server
 Name:          gerbera
-Version:       1.7.0
+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: 254f734208a112bc46a7263406488e95
+# Source0-md5: c71467c52ca503b2ae16785f87f614b4
 URL:           https://gerbera.io
 BuildRequires: cmake >= 3.13
 BuildRequires: curl-devel
+%{?with_js:BuildRequires:      duktape-devel}
 BuildRequires: exiv2-devel
 BuildRequires: ffmpeg-devel
 BuildRequires: ffmpegthumbnailer-devel
@@ -17,17 +22,18 @@ 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.644
+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:      libfmt >= 5.3
-Requires:      libupnp >= 1.12.1
+Requires:      libupnp >= 1.14.0
+Requires:      sqlite3-libs >= 3.7.0
 Requires:      systemd-units >= 38
 Provides:      group(gerbera)
 Provides:      user(gerbera)
@@ -45,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.800846 seconds and 4 git commands to generate.