13 Commits

Author SHA256 Message Date
9248362e98 Accepting request 1327441 from multimedia:xine
OBS-URL: https://build.opensuse.org/request/show/1327441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xine-lib?expand=0&rev=95
2026-01-17 13:52:36 +00:00
20002cd9ab - Use ffmpeg-4 because postproc is required
OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=166
2026-01-15 16:35:09 +00:00
163ec849c2 Accepting request 1319465 from multimedia:xine
OBS-URL: https://build.opensuse.org/request/show/1319465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xine-lib?expand=0&rev=94
2025-11-24 13:11:30 +00:00
2e42ef8e7a - Remove unused BuildRequires: update-desktop-files.
OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=164
2025-11-23 12:43:03 +00:00
2b13c28a19 Accepting request 1310975 from multimedia:xine
OBS-URL: https://build.opensuse.org/request/show/1310975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xine-lib?expand=0&rev=93
2025-10-13 13:35:03 +00:00
fed05e3636 - build with gcc 15 if available
* fix build failure on Leap 16.0 with some configuration setup
- add -std=gnu11 to CFLAGS
  * fix buid with gcc15
- Use %make_build instead of %jobs (boo#1237231)
- Convert BuildRequires from libfaad-devel to pkgconfig(faad2)
  and everything else as well
- Add ffmpeg-7 compatibility patch:
  * xine-lib-ffmpeg-7.patch
- Add xine-lib-configure-c99.patch to avoid C99 violations during
  configure phase [boo#1225957]
- Add version constraints for all ffmpeg subpackages
- Add explicit pkgconfig(egl) BuildRequires, configure checks for
  it. Previously pulled in by chance via cairo.
- Prevent Leap:15.4 building with ffmpeg-3
- Update to version 1.2.13
- Remove xine-lib-ffmpeg5.patch, fixed upstream
- Upstream changes:
  * Add dav1d 1.0.0 support.
  * Add user video frame rate limiter.
  * Add xine_query_stream_info ().
  * Add user OpenGL2 scale modes.
  * Add xine timespec tools.
  * FFmpeg compatibility update.
  * Update german translation.
  * Improved DVB subtitle support.
  * Improved HLS input.
  * Improved AAC demux.
  * Fix clang build.
  * Fix build with libcaca.
  * Fix fine time display.
  * Fix .mp4 audio.
  * Fix wav demuxer.
  * Work around broken Mesa vdpau drivers.
  * Fix OpenGL2 deep color display.
  * Various small fixes.
  * Optimize OpenGL2 video output.
  * Optimize audio out.
  * Optimize OSD.
  * Small engine optimizations.
- Add xine-lib-ffmpeg5.patch: Fix build with ffmpeg-5.
- Replace SDL-devel BuildRequires with pkgconfig(sdl): allow to use
  sdl12_compat as an alternative.
- Fix non-distributable build:
  * Add "BuildRequires: pkgconfig(glesv2)" to avoid compiler error
    about missing include file
  * Adjust plugins filelist
- Update to version 1.2.12
- Rebase xine-lib-libdvdread_udf.diff
- Upstream changes:
  * Add string tree library (generic info parser).
  * Add OpenSL ES audio output plugin.
  * Add mpeg-dash input plugin.
  * Add crypto input plugin.
  * Add VAAPI support to opengl2 video output (requires using EGL).
  * Better hls support.
  * Improved DVB/live stream timing.
  * Improved BT.2020 support.
  * Fix compatibility with ffmpeg 5.0.
  * Fix RSS parser.
  * Fix output parameter setting (audio amplification, video hue etc.).
  * Fix AC3 demuxer.
  * Diverse small fixes and optimizations.
  * Update german translation.
  * Code cleanup.
  * Build fixes.
- Use pkgconfig(smbclient) to refer to samba libaries
- Update to version 1.2.11
- Remove xine-lib-dec_info_real.patch, fixed upstream
- Upstream changes:
  * Add gopher input plugin.
  * Add user settings for IPv6.
  * Split a52 spdif output to separate decoder.
  * Code cleanup.
  * More engine optimization.
  * Small optimizations (opengl2, dvb subtitles, png, mpeg-ts).
  * Better A/V sync.
  * Fix a few crashes.
  * Fix bluray playback.
  * Fix VAAPI picture jitter and green flashes.
  * Fix Opus and EAC3 audio playback.
  * Fix text subtitles.
  * Fix mpeg-ts (hdmv mode, detection of cut TV recordings).
  * Fix mpeg layer 1-4 audio timing.
  * Fix some VDR issues.
  * Fix HLS VOD mode.
  * Many small fixes.
  * Build fixes.
  * BSD fixes.
  * Update german translation.
  * Update internal libdca to upstream 0.0.7.
- Remove xineplug_decode_qt to fix i386 build
- Fix build with xine-lib-dec_info_real.patch
- Update to version 1.2.10 and remove incorporated patches:
  xine-lib-contrib.patch, xine-lib-alsa.patch, xine-lib-a52dec.patch
  and xine-lib-ImageMagick7.patch.
- Upstream changes:
  *Add (xcb)xv yuy2 emulation.
  *Add libavcodec v58 compatibility.
  *Add avio seek support.
  *Add libdav1d, libaom and lavc AV1 video decoders.
  *Add libvpx multithreading.
  *Add libpng decoder.
  *Add a52 double and fixed point modes.
  *Add Opus audio support to ogg demuxer.
  *Add AV1 video support to matroska demuxer.
  *Add ivf demuxer.
  *Add mpeg-ts split payload support.
  *Add TLS support using gnutls or OpenSSL.
  *Add ftp input plugin (ftp://) with TLS support (ftpes://)
  *Add tls:// input plugin (raw TLS over TCP).
  *Add libnfs NFS input plugin.
  *Add ftp/http seek support.
  *Add scp forward seek support.
  *Add mp4 http streaming support (plain and fragment modes).
  *Add HLS streaming support.
  *Add HTTP 1.1 support.
  *Add OpenGL EGL and Wayland support.
  *Add side stream feature.
  *Optimize OSD.
  *Optimize output layers.
  *Optimize decoder threads.
  *Optimize event handling.
  *Optimize stream info.
  *Optimize TCP/TLS/HTTP network input.
  *Optimize network buffering control.
  *Alsa/oss startup optimization.
  *Optimize input_stdin_fifo.
  *Optimize internal liba52.
  *Optimize user seek.
  *Better support for audio out drivers that cannot resume after pause.
  *Better support for mpeg pts jumps.
  *Better bluray seek.
  *XML parser fixes.
  *Fix midstream audio mode switch.
  *Fix FLAC audio playback via ffmpeg.
  *Fix ffmpeg mpeg1/2 video.
  *Fix/optimize mpeg, mpeg-ts, qt, flv, matroska, real & asf demuxers.
  *Fix network seek.
  *Fix/optimize audio CD.
  *Fix DVD (occasional crashes, damaged video after a DVD had been
   played).
  *Fix opengl2 freeze after X server failure.
  *Fix tvtime deinterlacer crash.
  *Fix/optimize overlay.
  *Fix/optimize old VDR plugin.
  *Fix xine-ui freeze when opening a playlist while paused.
  *Security fixes.
  *More error handling instead of aborting.
- Package xineplug_post_tvtime also on arm64
- Added xine-lib-contrib.patch
- Remove disabled esd support
- Remove disabled directfb support
- Remove disabled aalib support
- Remove disabled gnome_vfs support
- Use gcc8 in SLE_12
- Use plain configure macro
- Fix opensuse.org XINE URL
- Use without instead of !with distributable/onlynondistributable/ffmpeg/sdl
- Remove disabled code for sle10
- Remove conditional for ffmpeg because it always exists
- Remove unused xine-lib-without-ffmpeg.patch
- Remove unused xine-lib-nukefaadetc.patch, use sed instead
- Adjust all patches for autosetup:
  xine-lib-libdvdread_udf.diff
  xine-lib-v4l-2.6.38.patch
  xine-lib-alsa.patch
  xine-lib-theora.patch
  xine-lib-ImageMagick7.patch
  xine-lib-a52dec.patch
- Use alsa API properly with xine-lib-alsa.patch. Consumers are
  expected to use <alsa/asoundlib.h> instead of <asoundlib.h>.
  This is in preparation of an change to pkgconfig(alsa) to
  not pollute CFLAGS with -I/usr/include/alsa anymore (bsc#1130333)
- Package xineplug_post_tvtime also on arm32
- fix-non-x86-build.diff: remove
- Patched up crippled build with new perl, the perl scripts no
  longer work.
- Added xine-lib-nukefaadetc.patch for the same reason.
- Build with libmpeg2.
- Set to bcond_without gnome_vfs to bcond_with, no longer build
  gnome-vfs support by default, gnome-vfs is deprecated upstream
  for a long time.
- Rebase fix-non-x86-build.diff to fix arm build.
- Update to release 1.2.9 and add xine-lib-a52dec.patch.
- Moved xineplug_decode_mad and xineplug_decode_a52 into the main
  package as they are now unrestricted.
- Enabled sdl and jack subpackages.
- Upstream changes:
 * Add LIBXINE_VERBOSITY environment var override.
 * Add auto gapless switch. Play clips to their very end when that
   is likely what the user wants.
 * Add video single step feature.
 * Add generic keyframe index feature.
 * Add x32 (x86 32 on 64bit) support.
 * Add some more debug logging.
 * Join 4 network input plugins into a single file.
 * Matroska fixes.
 * Build fixes.
 * Directx2 audio fixes.
 * VAAPI fixes.
 * XCB video fixes and optimizations.
 * Return driver held video frames on shutdown properly.
 * FAAD audio compatibility fixes.
 * Fix VP9 playback.
 * Fix post filtering crash.
 * Make xml parser thread safe.
 * More user configuration safety.
 * Inline assembly fixes.
 * Failed memory allocation safety fixes.
 * Memory leak fixes.
 * Debug and LOG build fixes.
 * Again, lots of small fixes and optimizations.
 * Better multiengine client safety.
 * Hide yuv2rgb implementation details.
 * Use a single libyuv2rgb copy in both engine and plugins.
 * Minor ffmpeg optimization.
 * Lift a few video engine handbrakes. Less CPU load, fewer frame
   drops, faster seeking.
 * Optimize audio engine.
 * Optimize demux buffering system.
 * Optimize metronom clock.
 * Optimize port tickets.
 * Optimize sse/mmx2 memcpy.
 * Code simplification and cleanup.
 * Update german translation.
- Cleanup buildrequires so neither Mesa-devel nor xorg-x11-devel 
  meta/mega packages are required anymore.
- Build unconditionally with modplug and pulseaudio
- Remove dependency to gcc5
- Use simple bcond for ffmpeg
- Update to release 1.2.8
- Remove patches fixed upstream:
  xine-lib-crippled-ffmpeg3.0.patch, xine-lib-ffmpeg3.0.patch and
  xine-lib-link-xcb.patch.
- Removed precheckin_cripple_tarball.sh and integrated it into the
  spec file.
- Upstream changes:
  * Add HEVC to QT demuxer.
  * Add libOpenHEVC decoder.
  * Add h.265/HEVC decoding to VAAPI.
  * Detach VAAPI video out from ffmpeg.
  * VAAPI fixes.
  * Improved Matroska compatibility (TrueHD and PCM sound,
    HDMV/Text subtitles).
  * Add faad LATM support.
  * Add faad preamp gain control and channel mixer.
  * Update/fix internal libfaad.
  * Integrate 6 basic plugins into libxine.
  * ffmpeg fixes and optimizations.
  * Use external libdvdnav by default.
  * Optimize video out.
  * AVFormat demuxer fixes.
  * (XCB)XV video out fixes.
  * Lots of small fixes and optimizations.
  * Build fixes (newer automake, xcb, libdvdcss, dxr3, make dist,
    32+64bit dual install, gcc 4.x with GNU ld 2.26 ...).
  * Better C++ compatibility.
  * Add support for avi WAVE_FORMAT_EXTENSIBLE.
  * Add "Time Domain Audio Analyzer" Visualization Post Plugin.
  * Add support for compressed HDMV PGS subtitles in Matroska.
  * Add HW accelerated OSD for Raspberry Pi.
  * Add simple deep color (9/10bit) support via ffmpeg.
  * Join 15 video demuxers into a single multiplugin lib.
  * Join 5 vdpau decoders into a single multiplugin lib.
  * Join 3 raw video decoders into a single multiplugin lib.
  * Make ffmpeg/postproc optional.
  * Log individual items when loading multiplugin libs.
  * Improved qt/mp4 edit list handling.
  * Detect mp3 files with large id3v2 tags.
  * Auto recover from temporary DVB signal loss.
  * Fix demuxing low framerate mp4.
  * DVB AAC sound compatibility fix.
  * ffmpeg audio downmix level fix and optimization.
  * ffmpeg multithreading fixes.
  * ffmpeg compatibility fixes.
  * BluRay subtitle fixes.
  * Various small fixes.
  * OpenGL(2) video out fixes and optimizations.
  * Fix some issues with heavy stream seeking.
  * Build fixes, including missing vcd libs and much less warnings.
  * Code simplifications.
- fix build with ImageMagick 7
  + xine-lib-ImageMagick7.patch
- Fixed build in Leap:42.2 by building with gcc5.
- Removed conditinals for old openSUSE versions from spec file.
- Modified pre checkin script to enable build with the ffmpeg libs
  that are in the distribution.
- Added xine-lib-crippled-ffmpeg3.0.patch to enable leap and above
  to build with ffmpeg3.
- Removed unused build flags.
- Accept any ffmpeg version in BuildRequires
- Add xine-lib-link-xcb.patch: fix linking of libxcb. As our code
  uses the functions, we must not rely on 3rd parties to hopefully
  bring the right libraries to link.
  https://bugs.xine-project.org/show_bug.cgi?id=573
- Drop libsmbclient BuildRequires: requiring a library to build is
  in any case wrong. It's the responsibility of a -devel package to
  pull in the real libraries.
- Added xine-lib-ffmpeg3.0.patch to build against ffmpeg-3.0
  libraries on PMBS.
- Add pkgconfig(libva-glx) to BuildRequires because it's a separate
  package for openSUSE > 13.2.
- Replace implicit Requires from old ffmpeg with BuildRequires to
  fix build in packman
- update to 1.2.6
  * Add libmmal video output plugin for Raspberry Pi.
  * Add libmmal HW video decoder plugin for Raspberry Pi.
  * Add overlay colormatrix support.
  * Add "sqare monitor pixels" config option.
  * Add VAAPI colormatrix and fullrange video support.
  * Add "radeonhd" XV colormatrix support.
  * Add Opus audio support.
  * Update german translation.
  * Optimize OpenGL2 video out.
  * Optimize raw RGB video decoder.
  * Fix multithread ffmpeg video decoding.
  * Fix/optimize DVB subtitles.
  * Fix external text subtitles.
  * BSD build fixes.
  * Clang build fixes.
  * Build optimization fixes (aliasing).
  * AVformat demux build fix.
  * More safety on memory allocation failure.
  * Fix detection of and compilation with libcaca 0.99 beta 19.
- use the xz compressed tarball provided by upstream and change
  precheckin_cripple_tarball.sh accordingly
- should fix boo#913588
- update to 1.2.5
  * Update german translation.
  * Add bass downmix support to AC3 decoder.
  * Add experimental YCgCo colorspace support.
  * Add avformat demux plugin.
    - Support for new formats and protocols.
    - Proper rtsp support (with avformat+rtsp://, rtsp+tcp:// and rtsp+http:// mrls).
    - by default native xine demux plugins are probed first.
      This can be overridden in config, by selecting demuxer in mrl (#demux:avformat),
      or by using "avformat+" mrl prefix.
  * Add avio (libavformat) input plugin:
    - Support for new protocols (https://, ftp://, sftp://, ...).
    - Support for seekable http streams (with "avio+http://" mrl).
    - By default native xine input plugins are used. This can be overridden in config or by using "avio+" mrl prefix.
  * Recognise & use HEVC/H.265. (ffmpeg)
  * Add support for HEVC/H.265 to the mpeg-ts demuxer.
  * Add support for HEVC/H.265 and VP9 to the matroska demuxer.
  * Add VP8/VP9 decoder using libvpx.
  * Modernise Quicktime demuxer:
    - Multiple user selectable audio traks.
    - Support AC3, EAC3, vorbis, Purevoice audio.
    - Support ISO fragment media files.
    - More safety on broken files.
    - Slightly faster.
  * Recognise & use ADPCM G.726 and ATRAC3. (ffmpeg/libva)
  * Build fixes.
  * Fix HDMV subtitle channel.
  * FFmpeg compatibility fixes.
  * Some colour format conversion fixes.
  * Fix RealVideo re-ordered PTS: pass through, let the decoder re-order it.
  * Fix some problems with COOK audio.
- from 1.2.4
  * Some VAAPI plugin fixes (build, image size changes).
  * ffmpeg multi-channel playback fixes:
    - Handle channel configuration changes sooner.
    - Generic layout if none provided; follow user changes.
    - Defer opening output if nothing to play.
    - Don't re-open with identical settings.
    - Don't use the bits-per-sample value (may not match decoder output).
  * ffmpeg video fixes:
    - Default to square pixels, avoiding black bars & unnecessary scaling.
    - Avoid CODEC_FLAG_EMU_EDGE (and some possible segfaults).
    - Use MPEG2VIDEO.
  * OpenGL2 output: don't render into invalid drawable.
  * Fix a possible xine_play() hang related to display locking.
  * FLV demuxer rewrite:
    - Improved metadata parsing.
    - PTS/DTS fixes.
    - Large file support on 32-bit.
    - Much improved seeking.
    - Much optimisation.
    - More codecs supported.
  * audio_out speed control fixes.
  * Optimised RGB→YUY2 conversion.
  * Avoid a possible performance penalty where AVX-optimised memcpy is used.
  * Add BD-J (BluRay Java) support with ARGB overlay capable video drivers (opengl2, vaapi, vdpau)
  * Add support for theora 4:2:2 and 4:4:4 pixel formats
- Removed xine-lib-missing-include-1.2.3.patch, the missing file is now included in the upstream tarball
- detect smbclient
- update to 1.2.3
  * Add VAAPI HW decoding support
  * Add OpenGL 2.0 output plugin
  * Add crop support to XShm output plugins
  * Add color matrix and full range support to OpenGL/Xv/XShm output plugins
  * Add test image generator input plugin
  * Add fast libjpeg based JPEG decoder
  * Add max. Xv image size detection to Xv video output plugin
  * Fix crash when trying to display too large jpeg image with Xv output plugin
  * Fix possible crash when stopping playback with deinterlacing enabled
  * Support large PAT in MPEG TS
  * Handle EAC3 audio (via ffmpeg)
- update license to new format
- Added xine-lib-theora.patch to add fourcc code to xine
- fix build for non-x86 architectures (disable deinterlace plugin)
- don't include .la files in libxine-devel to avoid bogus libtool errors
- provide and obsolete xine-devel and xine-lib for backward compat
- update to 1.2.2
  * Fix musepack decoder compilation if libmpcdec headers aren't available.
  * Configure tests for xinerama & VideoCD support now soft-fail properly.
  * The DVB plugin is working again.
  * OpenGL OSD fix.
  * YUV conversion MMX/SSE optimisations.
  * YUV420 H.264 is playable now; YUVJ444P is correctly handled.
  * Support FLAC in Matroska; support BMP.
  * Various build fixes for Windows.
- updated crippled version, removed mad and a52dec
- Remove dependency from libxine-devel to libffmpeg-devel
- update to 1.2.1
  * The "I'm at Tyneside LUG" release.
  * Enable PulseAudio, JACK and VDPAU on the Hurd.
  * Rewrite of VDPAU OSD handling.
  * sndio plugin is now buildable.
  * Various bug fixes.
- first build of xine-lib-12 for packman

OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=162
2025-10-13 04:21:32 +00:00
cea524580c Accepting request 1295877 from multimedia:xine
OBS-URL: https://build.opensuse.org/request/show/1295877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xine-lib?expand=0&rev=92
2025-07-26 11:41:30 +00:00
ccf6169d1a - add -std=gnu11 to CFLAGS
* fix buid with gcc15

OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=160
2025-07-26 06:03:59 +00:00
231be736c9 Accepting request 1277524 from multimedia:xine
OBS-URL: https://build.opensuse.org/request/show/1277524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xine-lib?expand=0&rev=91
2025-05-15 15:01:22 +00:00
ca115ddfa3 Use %make_build instead of %jobs (boo#1237231)
OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=158
2025-05-15 04:52:32 +00:00
6b57444cbf Accepting request 1225704 from multimedia:xine
fix 15.6 build

OBS-URL: https://build.opensuse.org/request/show/1225704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xine-lib?expand=0&rev=90
2024-11-22 22:51:39 +00:00
d7b6a12c0e fix 15.6 build
OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=156
2024-11-22 05:31:09 +00:00
d740b353a6 - Convert BuildRequires from libfaad-devel to pkgconfig(faad2)
and everything else as well

OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=155
2024-11-22 04:15:43 +00:00
2 changed files with 70 additions and 40 deletions

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Thu Jan 15 12:34:56 UTC 2026 - olaf@aepfle.de
- Use ffmpeg-4 because postproc is required
-------------------------------------------------------------------
Sat Nov 22 21:27:02 CET 2025 - Stanislav Brabec <sbrabec@suse.com>
- Remove unused BuildRequires: update-desktop-files.
-------------------------------------------------------------------
Sun Oct 12 20:20:58 UTC 2025 - Giacomo Comes <gcomes.obs@gmail.com>
- build with gcc 15 if available
* fix build failure on Leap 16.0 with some configuration setup
-------------------------------------------------------------------
Sat Jul 26 01:38:02 UTC 2025 - Giacomo Comes <gcomes.obs@gmail.com>
- add -std=gnu11 to CFLAGS
* fix buid with gcc15
-------------------------------------------------------------------
Wed May 14 16:21:42 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Use %make_build instead of %jobs (boo#1237231)
-------------------------------------------------------------------
Mon Nov 11 11:11:11 UTC 2024 - olaf@aepfle.de
- Convert BuildRequires from libfaad-devel to pkgconfig(faad2)
and everything else as well
-------------------------------------------------------------------
Thu Aug 8 05:29:06 UTC 2024 - Christophe Marin <christophe@krop.fr>

View File

@@ -1,7 +1,7 @@
#
# spec file for package xine-lib
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,51 +26,49 @@ Name: xine-lib
# default for buildservice is no patented codecs
%bcond_without distributable
%bcond_with onlynondistributable
%if 0%{?suse_version} > 1320
BuildRequires: gcc
BuildRequires: pkgconfig(libmpeg2)
%else
BuildRequires: gcc8
%endif
%bcond_without sdl
%bcond_without jack
#
BuildRequires: ImageMagick-devel
BuildRequires: alsa-devel
BuildRequires: flac-devel
BuildRequires: giflib-devel
BuildRequires: glib2-devel
BuildRequires: gnutls-devel
BuildRequires: gtk2-devel
BuildRequires: imlib2-devel
BuildRequires: krb5-devel
BuildRequires: libcdio-devel
BuildRequires: libdrm-devel
BuildRequires: libmng-devel
BuildRequires: libmpcdec-devel
BuildRequires: libtheora-devel
BuildRequires: libtool
BuildRequires: libv4l-devel >= 0.8.4
BuildRequires: libvorbis-devel
BuildRequires: lirc-devel
BuildRequires: perl
BuildRequires: readline-devel
BuildRequires: speex-devel
BuildRequires: update-desktop-files
BuildRequires: vcdimager-devel
BuildRequires: pkgconfig(ImageMagick)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(dvdnav)
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(imlib2)
BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(liba52)
#Prevent building against ffmpeg 3
BuildRequires: pkgconfig(libavcodec) >= 58
BuildRequires: pkgconfig(libavformat) >= 58
BuildRequires: pkgconfig(libavutil) >= 56
BuildRequires: ffmpeg-4-libavcodec-devel
BuildRequires: ffmpeg-4-libavformat-devel
BuildRequires: ffmpeg-4-libavutil-devel
BuildRequires: pkgconfig(libbluray)
BuildRequires: pkgconfig(libpostproc) >= 55
BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libmng)
BuildRequires: pkgconfig(libmodplug)
BuildRequires: pkgconfig(libmpeg2)
BuildRequires: ffmpeg-4-libpostproc-devel
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libvcdinfo)
BuildRequires: pkgconfig(lirc)
BuildRequires: pkgconfig(mad)
%if 0%{?suse_version} < 1600
BuildRequires: readline-devel
%else
BuildRequires: pkgconfig(readline)
%endif
BuildRequires: pkgconfig(smbclient)
BuildRequires: pkgconfig(theora)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vpx)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb-shape)
@@ -81,21 +79,19 @@ BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(xvmc)
BuildRequires: pkgconfig(zlib)
%if %{without distributable}
BuildRequires: libfaad-devel
BuildRequires: pkgconfig(faad2)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(libdts)
BuildRequires: pkgconfig(libva)
BuildRequires: pkgconfig(libva-glx)
BuildRequires: pkgconfig(vdpau)
%endif
BuildRequires: libpulse-devel
%if %{with sdl}
BuildRequires: pkgconfig(sdl)
%endif
%if %{with jack}
BuildRequires: libjack-devel
BuildRequires: pkgconfig(jack)
%endif
BuildRequires: libmodplug-devel
Version: 1.2.13
Release: 0
%define abiversion 2.11
@@ -182,11 +178,11 @@ Autoren:
Summary: Development environment for xine-based media players
License: GPL-2.0-or-later AND SUSE-Public-Domain
Group: Development/Libraries/C and C++
Requires: freetype2-devel
Requires: glibc-devel
Requires: libv4l-devel
Requires: libxine2 = %{version}
Requires: zlib-devel
Requires: pkgconfig(freetype2)
Requires: pkgconfig(libv4l2)
Requires: pkgconfig(zlib)
Obsoletes: libxine2-devel < %{version}-%{release}
Provides: libxine2-devel = %{version}-%{release}
Obsoletes: xine-lib2-devel < %{version}-%{release}
@@ -452,10 +448,11 @@ sed -i 's@libfaad@@g' contrib/Makefile.am
rm -f m4/libtool15.m4
sed -i -e 's|/tmp/vdr-xine|/var/lib/vdr-xine|g' src/vdr/input_vdr.c
export CFLAGS="%{optflags} -fno-strict-aliasing -fno-force-addr `pkg-config --cflags smbclient`"
export CFLAGS="%{optflags} -fno-strict-aliasing -fno-force-addr `pkg-config --cflags smbclient` -std=gnu11"
export CCASFLAGS=-Wa,--noexecstack
test -x "$(type -p gcc-7)" && export CC="$_"
test -x "$(type -p gcc-8)" && export CC="$_"
test -x "$(type -p gcc-15)" && export CC="$_"
echo 'AC_DEFUN([AC_REQUIRE_AUX_FILE])dnl' >> acinclude.m4
#rm -f configure
@@ -492,7 +489,7 @@ echo 'AC_DEFUN([AC_REQUIRE_AUX_FILE])dnl' >> acinclude.m4
# --disable-libxine-builtins
# --with-install-plugins-helper=${_prefix}/lib/opensuse-codecs-installer
echo $CFLAGS
make %{?jobs:-j%{jobs}} V=1
%make_build
%install
make install DESTDIR=%{buildroot}