From e1e190166cb0a6440989395736306a0d6f32dd52 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Feb 21 2017 18:27:49 +0000 Subject: conditionalize (and disable) gtk3 support, banshee is not ready for gtk3 yet --- diff --git a/libgpod.spec b/libgpod.spec index e754efc..af783ff 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -3,6 +3,9 @@ # python-gpod should not advertise _gpod.so in its Provides %define __provides_exclude_from %{python_sitearch}/.*\.so$ +# If banshee ever stablizes around gtk3, we need to flip this on. +%global with_gtk3 0 + %ifarch %{mono_arches} %global with_mono 1 %else @@ -15,7 +18,7 @@ Summary: Library to access the contents of an iPod Name: libgpod Version: 0.8.3 -Release: 16%{?dist} +Release: 17%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtkpod.org/libgpod.html @@ -40,7 +43,11 @@ BuildRequires: libxml2-devel BuildRequires: libxslt %if %{with_mono} BuildRequires: mono-devel +%if %{with_gtk3} BuildRequires: gtk-sharp3-devel +%else +BuildRequires: gtk-sharp2-devel +%endif %endif BuildRequires: pygobject2-devel BuildRequires: python-devel @@ -131,12 +138,16 @@ libgpod-sharp. # remove execute perms on the python examples as they'll be installed in %%doc chmod -x bindings/python/examples/*.py +%if %{with_gtk3} sed -i "s#sharp-2.0#sharp-3.0#g" bindings/mono/libgpod-sharp/libgpod-sharp.pc.in sed -i "s#public DateTime#public System.DateTime#g" bindings/mono/libgpod-sharp/Artwork.cs +%endif %build autoreconf -vif +%if %{with_gtk3} sed -i "s#sharp-2.0#sharp-3.0#g" configure +%endif %configure --without-hal --enable-udev --with-temp-mount-dir=/run/%{name} make %{?_smp_mflags} V=1 @@ -213,6 +224,10 @@ find %{buildroot} -type f -name "*.a" -delete %endif %changelog +* Tue Feb 21 2017 Tom Callaway - 0.8.3-17 +- conditionalize (and disable) gtk3 support + banshee is not ready for gtk3 yet + * Fri Feb 10 2017 Fedora Release Engineering - 0.8.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild