File medialibrary-beta.spec of Package medialibrary-beta
68
1
#
2
# spec file for package medialibrary-beta
3
#
4
# Copyright (c) 2023 SUSE LLC
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via https://bugs.opensuse.org/
16
#
17
18
19
Name: medialibrary-beta
20
Version: 0
21
Release: 0
22
Summary: a VideoLAN project
23
License: LGPL-2.1+
24
URL: https://code.videolan.org/videolan/medialibrary.git
25
Source0: %name-%version.tar
26
Patch0: %name.patch
27
BuildRequires: cmake
28
BuildRequires: gcc-c++
29
BuildRequires: meson
30
BuildRequires: pkgconfig
31
BuildRequires: pkgconfig(sqlite3)
32
33
Conflicts: %name-debuginfo < %version-%release
34
Conflicts: %name-debugsource < %version-%release
35
36
%description
37
The new medialibary is a library which, if used correctly, will do medialibrary things.
38
39
%prep
40
%autosetup -p1
41
42
%build
43
test -x "$(type -p gcc)" && CC="$_"
44
test -x "$(type -p g++)" && CXX="$_"
45
export CC="$(readlink -f ${CC})"
46
export CXX="$(readlink -f ${CXX})"
47
%meson \
48
-Dlibvlc=disabled \
49
-Dlibtool_workaround=true \
50
-Dtests=disabled \
51
%nil
52
%meson_build
53
54
%install
55
%meson_install
56
57
%post -p /sbin/ldconfig
58
%postun -p /sbin/ldconfig
59
%files
60
%license COPYING
61
%_includedir/*
62
%_libdir/*.so
63
%_libdir/*.so.*
64
%_libdir/pkgconfig/*.pc
65
66
%changelog
67
68