File: 020_ignore-build-number.patch

package info (click to toggle)
obs-ashmanix-blur-filter 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 832 kB
  • sloc: cpp: 549; sh: 324; makefile: 24
file content (30 lines) | stat: -rw-r--r-- 1,950 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: ignore buildnumber generation to avoid a FTBFS on Salsa
  dh_auto_configure -- -DBUILD_OUT_OF_TREE=On \
                               -DLIB_OUT_DIR=lib/x86_64-linux-gnu/obs-plugins \
                               -DDATA_OUT_DIR=share/obs/obs-plugins/ashmanix-blur-filter \
                               -DLINUX_PORTABLE=Off
      cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DBUILD_OUT_OF_TREE=On -DLIB_OUT_DIR=lib/x86_64-linux-gnu/obs-plugins -DDATA_OUT_DIR=share/obs/obs-plugins/ashmanix-blur-filter -DLINUX_PORTABLE=Off ..
  CMake Error at cmake/common/buildnumber.cmake:15 (if):
    if given arguments:
      "true" "AND"
    Unknown arguments specified
  Call Stack (most recent call first):
    cmake/common/bootstrap.cmake:63 (include)
    CMakeLists.txt:3 (include)
  -- Configuring incomplete, errors occurred!
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Forwarded: https://github.com/ashmanix/blur-filter-obs-plugin/issues/9
Last-Update: 2023-11-09
Index: obs-ashmanix-blur-filter/cmake/common/bootstrap.cmake
===================================================================
--- obs-ashmanix-blur-filter.orig/cmake/common/bootstrap.cmake
+++ obs-ashmanix-blur-filter/cmake/common/bootstrap.cmake
@@ -64,7 +64,7 @@ list(GET _version_canonical 1 PLUGIN_VER
 list(GET _version_canonical 2 PLUGIN_VERSION_PATCH)
 unset(_version_canonical)
 
-include(buildnumber)
+# include(buildnumber)
 include(osconfig)
 
 # Allow selection of common build types via UI