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:
commit
0c20f78735
3
orc-0.4.27.tar.gz
Normal file
3
orc-0.4.27.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:49f331f1edbd43a0d8fae2634ded9c4a0fc8558a3388f6cbb203858e69165652
|
||||||
|
size 281936
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:51e53e58fc8158e5986a1f1a49a6d970c5b16493841cf7b9de2c2bde7ce36b93
|
|
||||||
size 465116
|
|
11
orc.changes
11
orc.changes
@ -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
|
Mon Jul 17 16:15:12 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
21
orc.spec
21
orc.spec
@ -24,13 +24,12 @@ Summary: The Oil Runtime Compiler
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Multimedia/Other
|
Group: Productivity/Multimedia/Other
|
||||||
Url: http://cgit.freedesktop.org/gstreamer/orc
|
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
|
Source99: baselibs.conf
|
||||||
BuildRequires: gtk-doc >= 1.12
|
BuildRequires: gtk-doc >= 1.12
|
||||||
BuildRequires: pkg-config
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
Provides: %{name}-devel = %{version}
|
Provides: %{name}-devel = %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Orc is a library and set of tools for compiling and executing very simple
|
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.
|
arithmetic operations.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%meson
|
||||||
--disable-static \
|
%meson_build
|
||||||
--enable-gtk-doc
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%meson_install
|
||||||
|
|
||||||
# These are some examples that seem not to make sense to be distributed
|
# These are some examples that seem not to make sense to be distributed
|
||||||
rm -rf %{buildroot}%{_libdir}/orc
|
rm -rf %{buildroot}%{_libdir}/orc
|
||||||
@ -82,7 +79,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%check
|
%check
|
||||||
# Disable testsuite for almost all arches, it's only stable on x86_64
|
# Disable testsuite for almost all arches, it's only stable on x86_64
|
||||||
%ifnarch aarch64 %{arm} %{ix86} ppc64le
|
%ifnarch aarch64 %{arm} %{ix86} ppc64le
|
||||||
make check %{?_smp_mflags}
|
%meson_test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n liborc-0_4-0 -p /sbin/ldconfig
|
%post -n liborc-0_4-0 -p /sbin/ldconfig
|
||||||
@ -100,8 +97,8 @@ make check %{?_smp_mflags}
|
|||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir /usr/share/gtk-doc
|
%dir %{_datadir}/gtk-doc
|
||||||
%dir /usr/share/gtk-doc/html
|
%dir %{_datadir}/gtk-doc/html
|
||||||
%{_datadir}/gtk-doc/html/orc/
|
%{_datadir}/gtk-doc/html/orc/
|
||||||
|
|
||||||
%files -n liborc-0_4-0
|
%files -n liborc-0_4-0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user