Accepting request 76515 from home:dimstar:branches:GNOME:Factory
Use keys from libsocialweb-branding-openSUSE OBS-URL: https://build.opensuse.org/request/show/76515 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-online-accounts?expand=0&rev=3
This commit is contained in:
parent
fd9f8ba8fb
commit
d7699dac89
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 18 22:25:32 UTC 2011 - dimstar@opensuse.org
|
||||
|
||||
- Add libsocialweb-branding-openSUSE BuildRequires. This package
|
||||
contains our API keys for the various backends.
|
||||
- Pass --enable-twitter and the corresponding keys to configure.
|
||||
This allows us to enable the twitter backend for
|
||||
gnome-online-accounts. Part of bnc#703759.
|
||||
- For completeness pass --enable-google to configure. It's there by
|
||||
default and it does not require API keys; anonymous works just
|
||||
fine.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 3 12:39:36 CEST 2011 - vuntz@opensuse.org
|
||||
|
||||
|
@ -30,6 +30,9 @@ BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: intltool
|
||||
# libsocialweb-branding-openSUSE is a package that already contains the right API keys. Instead of
|
||||
# duplicating them in the .spec file here, we include them from libsocialweb-branding.
|
||||
BuildRequires: libsocialweb-branding-openSUSE
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gnome-keyring-1)
|
||||
@ -86,9 +89,16 @@ libraries in GNOME can access the user's online accounts.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
TWITTER=$(cat %{_datadir}/libsocialweb/keys/twitter)
|
||||
TWITTER_KEY=$(echo $TWITTER | awk '{print $1}')
|
||||
TWITTER_SECRET=$(echo $TWITTER | awk '{print $2}')
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-gtk-doc
|
||||
--enable-gtk-doc \
|
||||
--enable-twitter \
|
||||
--with-twitter-consumer-key=$TWITTER_KEY \
|
||||
--with-twitter-consumer-secret=$TWITTER_SECRET \
|
||||
--enable-google
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user