Changes of Revision 18

vlc-beta.spec Changed
x
 
1
@@ -38,18 +38,34 @@
2
 Source3:        %name-rpmlintrc
3
 Patch0:         vlc-beta.patch
4
 
5
-%ifarch x86_64 aarch64
6
-Requires:       libqtquickcontrols2plugin.so()(64bit)
7
-Requires:       libqtgraphicaleffectsplugin.so()(64bit)
8
-%endif
9
-
10
 # avoid stale debug.rpm
11
 Conflicts:      %name-debuginfo < %version-%release 
12
 Conflicts:      %name-debugsource < %version-%release 
13
 #
14
 Conflicts:      vlc
15
+Conflicts:      vlc-codec-fluidsynth
16
+Conflicts:      vlc-codec-fluidsynth-debuginfo
17
+Conflicts:      vlc-codec-gstreamer
18
+Conflicts:      vlc-codec-gstreamer-debuginfo
19
+Conflicts:      vlc-codecs
20
+Conflicts:      vlc-codecs-debuginfo
21
+Conflicts:      vlc-debuginfo
22
+Conflicts:      vlc-debugsource
23
 Conflicts:      vlc-devel
24
+Conflicts:      vlc-jack
25
+Conflicts:      vlc-jack-debuginfo
26
+Conflicts:      vlc-lang
27
+Conflicts:      vlc-noX
28
+Conflicts:      vlc-noX-debuginfo
29
+Conflicts:      vlc-opencv
30
+Conflicts:      vlc-opencv-debuginfo
31
 Conflicts:      vlc-qt
32
+Conflicts:      vlc-qt-debuginfo
33
+Conflicts:      vlc-vdpau
34
+Conflicts:      vlc-vdpau-debuginfo
35
+Obsoletes:      vlc < %version-%release
36
+Obsoletes:      vlc-codec-fluidsynth < %version-%release
37
+Obsoletes:      vlc-codec-fluidsynth-debuginfo < %version-%release
38
 Obsoletes:      vlc-codec-gstreamer < %version-%release
39
 Obsoletes:      vlc-codec-gstreamer-debuginfo < %version-%release
40
 Obsoletes:      vlc-codecs < %version-%release
41
@@ -68,6 +84,9 @@
42
 Obsoletes:      vlc-qt-debuginfo < %version-%release
43
 Obsoletes:      vlc-vdpau < %version-%release
44
 Obsoletes:      vlc-vdpau-debuginfo < %version-%release
45
+Provides:       vlc = %version-%release
46
+Provides:       vlc-codec-fluidsynth = %version-%release
47
+Provides:       vlc-codec-fluidsynth-debuginfo = %version-%release
48
 Provides:       vlc-codec-gstreamer = %version-%release
49
 Provides:       vlc-codec-gstreamer-debuginfo = %version-%release
50
 Provides:       vlc-codecs = %version-%release
51
@@ -236,9 +255,9 @@
52
 BuildRequires:  pkgconfig(libchromaprint) >= 0.6.0
53
 BuildRequires:  pkgconfig(Qt6Core)
54
 BuildRequires:  pkgconfig(Qt6Gui)
55
-BuildRequires:  pkgconfig(Qt6Network)
56
 BuildRequires:  pkgconfig(Qt6Qml)
57
 BuildRequires:  pkgconfig(Qt6QmlModels)
58
+BuildRequires:  pkgconfig(Qt6QmlWorkerScript)
59
 BuildRequires:  pkgconfig(Qt6Quick)
60
 BuildRequires:  pkgconfig(Qt6QuickControls2)
61
 BuildRequires:  pkgconfig(Qt6QuickLayouts)
62
@@ -270,7 +289,9 @@
63
 BuildRequires:  pkgconfig(libsecret-1) >= 0.18
64
 BuildRequires:  pkgconfig(libnotify)
65
 BuildRequires:  pkgconfig(gtk+-3.0)
66
+%if 0%{?suse_version} > 1500
67
 BuildRequires:  pkgconfig(protobuf-lite)
68
+%endif
69
 
70
 BuildRequires:  fdupes
71
 BuildRequires:  update-desktop-files
72
@@ -335,9 +356,11 @@
73
 test -x "$(type -p gcc-10)" && BUILDCC="$_"
74
 test -x "$(type -p gcc-10)" && CC="$_"
75
 test -x "$(type -p g++-10)" && CXX="$_"
76
+test -x "$(type -p qmake6)" && QMAKE6="$_"
77
 export BUILDCC="$(readlink -f ${BUILDCC})"
78
 export CC="$(readlink -f ${CC})"
79
 export CXX="$(readlink -f ${CXX})"
80
+export QMAKE6="$(readlink -f ${QMAKE6})"
81
 CFLAGS='%optflags -Wno-unused-variable -Wno-unused-parameter -Wno-deprecated-declarations -Wno-unused-but-set-variable'
82
 CXXFLAGS='%optflags -Wno-unused-variable -Wno-unused-parameter -Wno-deprecated-declarations -Wno-unused-but-set-variable'
83
 ./bootstrap
84
@@ -348,6 +371,7 @@
85
    --enable-shared \
86
    --enable-dbus \
87
    --disable-avx \
88
+   --disable-chromecast \
89
    --disable-debug \
90
    --disable-gprof \
91
    --disable-cprof \
92
@@ -491,7 +515,9 @@
93
    --enable-soxr \
94
    --disable-kai \
95
    --enable-chromaprint \
96
+%if 0%{?suse_version} > 1500
97
    --enable-chromecast \
98
+%endif
99
    --enable-qt \
100
    --enable-qt \
101
    --enable-skins2 \
102
vlc-beta.patch Changed
79
 
1
@@ -9,14 +9,25 @@
2
              )
3
  
4
          if ret.returncode != 0:
5
-@@ -84,7 +84,7 @@ class QmlModuleChecker:
6
+@@ -83,16 +83,16 @@ class QmlModuleChecker:
7
+             print("qmake not found")
8
+             return False
9
  
10
-         ret = subprocess.run(
11
-              qmake, "-query",
12
--            capture_output=True,
13
-+            stdout=subprocess.PIPE, stderr=subprocess.PIPE,
14
-             encoding="utf8"
15
-         )
16
+-        if qtconf:
17
++        if False:
18
+             ret = subprocess.run(
19
+                  qmake, "-qtconf", qtconf, "-query",
20
+-                capture_output=True,
21
++                stdout=subprocess.PIPE, stderr=subprocess.PIPE,
22
+                 encoding="utf8"
23
+             )
24
+         else:
25
+             ret = subprocess.run(
26
+                  qmake, "-query",
27
+-                capture_output=True,
28
++                stdout=subprocess.PIPE, stderr=subprocess.PIPE,
29
+                 encoding="utf8"
30
+             )
31
  
32
 --- a/configure.ac
33
 +++ b/configure.ac
34
@@ -29,7 +40,7 @@
35
  LIBVLC_ABI_MINOR=0
36
  LIBVLC_ABI_MICRO=0
37
  
38
-@@ -2091,7 +2091,7 @@ AS_IF(test "$SYS" = "linux" -a "${enable_linsys}" != "no", 
39
+@@ -2124,7 +2124,7 @@ AS_IF(test "$SYS" = "linux" -a "${enable_linsys}" != "no", 
40
  dnl
41
  dnl dvdread module: check for libdvdread
42
  dnl
43
@@ -38,7 +49,7 @@
44
  
45
  dnl
46
  dnl libdvdnav plugin
47
-@@ -2406,7 +2406,7 @@ AC_ARG_ENABLE(mod,
48
+@@ -2471,7 +2471,7 @@ AC_ARG_ENABLE(mod,
49
    AS_HELP_STRING(--disable-mod,
50
      do not use libmodplug (default auto)))
51
  if test "${enable_mod}" != "no" ; then
52
@@ -47,7 +58,7 @@
53
            VLC_ADD_PLUGIN(mod)
54
            VLC_ADD_CXXFLAGS(mod,$LIBMODPLUG_CFLAGS)
55
            VLC_ADD_CFLAGS(mod,$LIBMODPLUG_CFLAGS) #modules/demux/mod.c needs CFLAGS_mod, not CXXFLAGS_mod
56
-@@ -4676,7 +4676,7 @@ AS_IF(test -z "$VLC_COMPILE_HOST",
57
+@@ -4750,7 +4750,7 @@ AS_IF(test -z "$VLC_COMPILE_HOST",
58
     VLC_COMPILE_HOST=`hostname -f 2>/dev/null || hostname`
59
  )
60
  AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, "$VLC_COMPILE_HOST", host which ran configure)
61
@@ -83,7 +94,7 @@
62
          msg_Err( p_this, "unable to initialize liba52" );
63
 --- a/modules/control/cli/cli.c
64
 +++ b/modules/control/cli/cli.c
65
-@@ -577,6 +577,7 @@ static void *Run(void *data)
66
+@@ -580,6 +580,7 @@ static void *Run(void *data)
67
  
68
          vlc_restorecancel(canc);
69
      }
70
@@ -93,7 +104,7 @@
71
  #else // _WIN32
72
 --- a/src/Makefile.am
73
 +++ b/src/Makefile.am
74
-@@ -554,7 +554,7 @@ libvlccore_la_LDFLAGS = \
75
+@@ -566,7 +566,7 @@ libvlccore_la_LDFLAGS = \
76
    $(LDFLAGS_libvlccore) \
77
    -no-undefined \
78
    -export-symbols $(srcdir)/libvlccore.sym \
79
_constraints Added
18
 
1
@@ -0,0 +1,16 @@
2
+<constraints>
3
+   <overwrite>
4
+       <conditions>
5
+           <arch>i586</arch>
6
+           <arch>x86_64</arch>
7
+       </conditions>
8
+       <hardware>
9
+           <disk>
10
+               <size unit="G">8</size>
11
+           </disk>
12
+           <physicalmemory>
13
+               <size unit="G">4</size>
14
+           </physicalmemory>
15
+       </hardware>
16
+   </overwrite>
17
+</constraints>
18
_service:obs_scm:vlc-beta-20240329.f2fed209e4.obscpio Deleted
_service:obs_scm:vlc-beta-20240501.0e39c49c95.obscpio Added
_service:obs_scm:vlc-beta.obsinfo Changed
9
 
1
@@ -1,4 +1,4 @@
2
 name: vlc-beta
3
-version: 20240329.f2fed209e4
4
-mtime: 1711733642
5
-commit: f2fed209e4e758e6a9aec87940481f4a4bed884f
6
+version: 20240501.0e39c49c95
7
+mtime: 1714566224
8
+commit: 0e39c49c95a97113006864d388b4cf9021c13ce2
9