summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2012-05-20 08:55:27 +0000
committerAndreas Proschofsky <suka@gentoo.org>2012-05-20 08:55:27 +0000
commitc337fae9a378670c522f12f2aa371d93eac68ecd (patch)
tree070cbb96c0e8f3d04967dfe0fb219d1f6a4dc8db
parentAdd newer accountsservice, needed for gnome-shell hiding some menu entries on... (diff)
downloadsuka-c337fae9a378670c522f12f2aa371d93eac68ecd.tar.gz
suka-c337fae9a378670c522f12f2aa371d93eac68ecd.tar.bz2
suka-c337fae9a378670c522f12f2aa371d93eac68ecd.zip
Add newer shotwell with dark theme patch
svn path=/; revision=329
-rw-r--r--media-gfx/shotwell/Manifest3
-rw-r--r--media-gfx/shotwell/files/shotwell-dark-theme.patch24
-rw-r--r--media-gfx/shotwell/shotwell-0.12.3.ebuild63
3 files changed, 90 insertions, 0 deletions
diff --git a/media-gfx/shotwell/Manifest b/media-gfx/shotwell/Manifest
new file mode 100644
index 0000000..c45cc96
--- /dev/null
+++ b/media-gfx/shotwell/Manifest
@@ -0,0 +1,3 @@
+AUX shotwell-dark-theme.patch 833 RMD160 5e72f7995b62b6ce836bc76d9f5254cfc6a5829b SHA1 1afe832d98f8880294a36e9c04f95ac94f2b3c0e SHA256 20c2cb03b820f79fb58b5e72df1b91d1aa25ef15aca8dec192145f1894c1e673
+DIST shotwell-0.12.3.tar.bz2 1649746 RMD160 ba8339b41f9a10ee41f317c4911a3d8135e62039 SHA1 7232ebb3e7592993b4b1cf835974e3725a1eda70 SHA256 1388f0ea5a27e1c1a1ab33302c6304cca1fadfb649aa879d11e406c7ede15601
+EBUILD shotwell-0.12.3.ebuild 1572 RMD160 c7ea1e568fe2b8dc44d5c838b58a774a735500f2 SHA1 7fc4bf9c9483f7b2188aab4e44a4ce22b5f39fd9 SHA256 00306f35859ef03add6c5cd044196060670c98f3ab9a031fd91e74a895c6f673
diff --git a/media-gfx/shotwell/files/shotwell-dark-theme.patch b/media-gfx/shotwell/files/shotwell-dark-theme.patch
new file mode 100644
index 0000000..2f827d8
--- /dev/null
+++ b/media-gfx/shotwell/files/shotwell-dark-theme.patch
@@ -0,0 +1,24 @@
+From 53021527d5d186181a4a3d7517a800d25fa673c2 Mon Sep 17 00:00:00 2001
+From: Jonas Bushart <jonas@bushart.org>
+Date: Sun, 30 Oct 2011 21:18:07 +0100
+Subject: [PATCH] Use dark gtk theme if available.
+
+---
+ src/main.vala | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/src/main.vala b/src/main.vala
+index 5401021..30dd628 100644
+--- a/src/main.vala
++++ b/src/main.vala
+@@ -377,6 +377,7 @@ void main(string[] args) {
+ try {
+ Gtk.init_with_args(ref args, _("[FILE]"), CommandlineOptions.get_options(),
+ Resources.APP_GETTEXT_PACKAGE);
++ Gtk.Settings.get_default().gtk_application_prefer_dark_theme = true;
+ } catch (Error e) {
+ print(e.message + "\n");
+ print(_("Run '%s --help' to see a full list of available command line options.\n"), args[0]);
+--
+1.7.5.4
+
diff --git a/media-gfx/shotwell/shotwell-0.12.3.ebuild b/media-gfx/shotwell/shotwell-0.12.3.ebuild
new file mode 100644
index 0000000..be1a487
--- /dev/null
+++ b/media-gfx/shotwell/shotwell-0.12.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/shotwell-0.12.2.ebuild,v 1.2 2012/05/11 21:37:05 hwoarang Exp $
+
+EAPI=4
+GCONF_DEBUG="no"
+inherit gnome2 versionator eutils multilib toolchain-funcs
+
+MY_PV=$(get_version_component_range 1-2)
+DESCRIPTION="Open source photo manager for GNOME"
+HOMEPAGE="http://www.yorba.org/shotwell/"
+SRC_URI="http://www.yorba.org/download/${PN}/${MY_PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-db/sqlite-3.5.9:3
+ >=dev-libs/dbus-glib-0.80
+ >=dev-libs/glib-2.30.0:2
+ >=dev-libs/json-glib-0.7.6
+ >=dev-libs/libgee-0.5.0:0
+ >=dev-libs/libunique-3.0.0:3
+ >=dev-libs/libxml2-2.6.32:2
+ >=media-libs/gexiv2-0.3.92
+ media-libs/gst-plugins-base:0.10
+ media-libs/gstreamer:0.10
+ media-libs/lcms:2
+ >=media-libs/libexif-0.6.16
+ >=media-libs/libgphoto2-2.4.2
+ >=media-libs/libraw-0.14.0
+ >=net-libs/libsoup-2.26.0:2.4
+ net-libs/rest:0.7
+ net-libs/webkit-gtk:3
+ || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] )
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ dev-lang/vala:0.16
+ sys-devel/m4"
+
+DOCS=( AUTHORS MAINTAINERS NEWS README THANKS )
+
+pkg_setup() {
+ tc-export CC
+ G2CONF="${G2CONF}
+ --disable-schemas-compile
+ --disable-desktop-update
+ --disable-icon-update
+ --lib=$(get_libdir)"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-dark-theme.patch
+ sed \
+ -e 's|CFLAGS :|CFLAGS +|g' \
+ -i plugins/Makefile.plugin.mk || die
+}
+
+src_compile() {
+ emake VALAC="$(type -p valac-0.16)"
+}