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 https://bugs.opensuse.org/
#
Name: medialibrary-beta
Version: 0
Release: 0
Summary: a VideoLAN project
License: LGPL-2.1+
URL: https://code.videolan.org/videolan/medialibrary.git
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
%description
The new medialibary is a library which, if used correctly, will do medialibrary things.
%prep
%autosetup -p1
%build
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 \
%nil
%meson_build
%install
%meson_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
%_includedir/*
%_libdir/*.so
%_libdir/*.so.*
%_libdir/pkgconfig/*.pc
%changelog