File medialibrary-beta.spec of Package medialibrary-beta

# spec file for package medialibrary-beta
# Copyright (c) 2023 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           medialibrary-beta
Version:        0
Release:        0
Summary:	a VideoLAN project
License:        LGPL-2.1+
Source0:        %name-%version.tar
Patch0:         %name.patch
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(sqlite3)

Conflicts:      %name-debuginfo < %version-%release
Conflicts:      %name-debugsource < %version-%release

The new medialibary is a library which, if used correctly, will do medialibrary things.

%autosetup -p1

test -x "$(type -p gcc)"    && CC="$_"
test -x "$(type -p g++)"    && CXX="$_"
export CC="$(readlink -f ${CC})"
export CXX="$(readlink -f ${CXX})"
%meson \
	-Dlibvlc=disabled \
	-Dlibtool_workaround=true \
	-Dtests=disabled \


%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%license COPYING