Update to 0.3.7 and switch to meson
This commit is contained in:
parent
feec1725cd
commit
b0516e71a3
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: grilo-plugins
|
Name: grilo-plugins
|
||||||
Version: 0.3.7
|
Version: 0.3.7
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Plugins for the Grilo framework
|
Summary: Plugins for the Grilo framework
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -14,6 +14,7 @@ URL: https://wiki.gnome.org/Projects/Grilo
|
|||||||
Source0: https://download.gnome.org/sources/grilo-plugins/%{release_version}/grilo-plugins-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/grilo-plugins/%{release_version}/grilo-plugins-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: meson
|
||||||
BuildRequires: avahi-gobject-devel
|
BuildRequires: avahi-gobject-devel
|
||||||
BuildRequires: grilo-devel >= %{grilo_version}
|
BuildRequires: grilo-devel >= %{grilo_version}
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
@ -72,35 +73,32 @@ This package contains plugins to get information from theses sources:
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%meson \
|
||||||
--disable-static \
|
-Denable-static=no \
|
||||||
--disable-shoutcast \
|
-Denable-shoutcast=no \
|
||||||
--enable-bookmarks \
|
-Denable-bookmarks=yes \
|
||||||
--enable-dleyna \
|
-Denable-dleyna=yes \
|
||||||
--enable-dmap \
|
-Denable-dmap=yes \
|
||||||
--enable-filesystem \
|
-Denable-filesystem=yes \
|
||||||
--enable-flickr \
|
-Denable-flickr=yes \
|
||||||
--enable-freebox \
|
-Denable-freebox=yes \
|
||||||
--enable-gravatar \
|
-Denable-gravatar=yes \
|
||||||
--enable-jamendo \
|
-Denable-jamendo=yes \
|
||||||
--enable-lua-factory \
|
-Denable-lua-factory=yes \
|
||||||
--enable-metadata-store \
|
-Denable-metadata-store=yes \
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
--enable-podcasts \
|
-Denable-podcasts=yes \
|
||||||
%endif
|
%endif
|
||||||
--enable-tmdb \
|
-Denable-tmdb=yes \
|
||||||
--enable-tracker \
|
-Denable-tracker=yes \
|
||||||
--enable-vimeo \
|
-Denable-vimeo=yes \
|
||||||
--enable-youtube \
|
-Denable-youtube=yes \
|
||||||
--enable-tracker
|
-Denable-tracker=yes
|
||||||
|
|
||||||
# Silence unused-direct-shlib-dependency
|
%meson_build
|
||||||
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
|
|
||||||
# Remove files that will not be packaged
|
# Remove files that will not be packaged
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/grilo-%{release_version}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/grilo-%{release_version}/*.la
|
||||||
@ -116,12 +114,12 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/*
|
|||||||
%{_libdir}/grilo-%{release_version}/*.so*
|
%{_libdir}/grilo-%{release_version}/*.so*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 28 2018 Victor Toso <victortoso@redhat.com> - 0.3.7-3
|
||||||
|
- Switch build to meson
|
||||||
|
|
||||||
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.7-2
|
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.7-2
|
||||||
- Rebuild for new binutils
|
- Rebuild for new binutils
|
||||||
|
|
||||||
* Fri Jul 27 2018 Victor Toso <victortoso@redhat.com> - 0.3.7-1
|
|
||||||
- Update to 0.3.7
|
|
||||||
|
|
||||||
* Wed Jul 18 2018 Victor Toso <victortoso@redhat.com> - 0.3.6-1
|
* Wed Jul 18 2018 Victor Toso <victortoso@redhat.com> - 0.3.6-1
|
||||||
- Update to 0.3.6
|
- Update to 0.3.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user