Accepting request 520823 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/520823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orc?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2017-09-13 19:42:01 +00:00 committed by Git OBS Bridge
commit 0c20f78735
4 changed files with 23 additions and 15 deletions

3
orc-0.4.27.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49f331f1edbd43a0d8fae2634ded9c4a0fc8558a3388f6cbb203858e69165652
size 281936

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51e53e58fc8158e5986a1f1a49a6d970c5b16493841cf7b9de2c2bde7ce36b93
size 465116

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Sep 4 14:19:34 UTC 2017 - dimstar@opensuse.org
- Switch to the meson build system, which knows how to cope with
GTK 1.26+:
+ Use the tarball published on github (the automake bootstrapped
one does not contain the meson build system).
+ Add meson BuildRequires and switch configure/make/make_install
macros to the relevant meson/meson_build/meson_install
variants.
-------------------------------------------------------------------
Mon Jul 17 16:15:12 UTC 2017 - zaitor@opensuse.org

View File

@ -24,13 +24,12 @@ Summary: The Oil Runtime Compiler
License: BSD-3-Clause
Group: Productivity/Multimedia/Other
Url: http://cgit.freedesktop.org/gstreamer/orc
Source: http://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz
Source: https://github.com/GStreamer/orc/archive/%{name}-%{version}.tar.gz
Source99: baselibs.conf
BuildRequires: gtk-doc >= 1.12
BuildRequires: pkg-config
BuildRequires: meson
BuildRequires: pkgconfig(glib-2.0)
Provides: %{name}-devel = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Orc is a library and set of tools for compiling and executing very simple
@ -62,16 +61,14 @@ architectures, including saturated addition and subtraction, and many
arithmetic operations.
%prep
%setup -q
%setup -q -n %{name}-%{name}-%{version}
%build
%configure \
--disable-static \
--enable-gtk-doc
make %{?_smp_mflags}
%meson
%meson_build
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%meson_install
# These are some examples that seem not to make sense to be distributed
rm -rf %{buildroot}%{_libdir}/orc
@ -82,7 +79,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%check
# Disable testsuite for almost all arches, it's only stable on x86_64
%ifnarch aarch64 %{arm} %{ix86} ppc64le
make check %{?_smp_mflags}
%meson_test
%endif
%post -n liborc-0_4-0 -p /sbin/ldconfig
@ -100,8 +97,8 @@ make check %{?_smp_mflags}
%files doc
%defattr(-,root,root)
%dir /usr/share/gtk-doc
%dir /usr/share/gtk-doc/html
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/orc/
%files -n liborc-0_4-0