From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-884214-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id B5C5813828B
	for <garchives@archives.gentoo.org>; Sat, 28 May 2016 15:50:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C6CA41427B;
	Sat, 28 May 2016 15:49:49 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1C4CD14292
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 May 2016 15:49:49 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0B4A7340CFB
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 May 2016 15:49:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F1E672324
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 May 2016 15:49:41 +0000 (UTC)
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" <pacho@gentoo.org>
Message-ID: <1464450569.879ba2ce160fd45fa92f23c32a74745dfded8016.pacho@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/shotwell/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-gfx/shotwell/Manifest media-gfx/shotwell/shotwell-0.23.1.ebuild
X-VCS-Directories: media-gfx/shotwell/
X-VCS-Committer: pacho
X-VCS-Committer-Name: Pacho Ramos
X-VCS-Revision: 879ba2ce160fd45fa92f23c32a74745dfded8016
X-VCS-Branch: master
Date: Sat, 28 May 2016 15:49:41 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: d3276d84-9a8e-4b7d-b70e-e82e3808f5b9
X-Archives-Hash: 5baabf8784a1463bb985e372a1ed6f67

commit:     879ba2ce160fd45fa92f23c32a74745dfded8016
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat May 28 15:46:42 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat May 28 15:49:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=879ba2ce

media-gfx/shotwell: Version bump

Package-Manager: portage-2.3.0_rc1

 media-gfx/shotwell/Manifest               |   1 +
 media-gfx/shotwell/shotwell-0.23.1.ebuild | 114 ++++++++++++++++++++++++++++++
 2 files changed, 115 insertions(+)

diff --git a/media-gfx/shotwell/Manifest b/media-gfx/shotwell/Manifest
index aea472b..021fa5c 100644
--- a/media-gfx/shotwell/Manifest
+++ b/media-gfx/shotwell/Manifest
@@ -1,3 +1,4 @@
 DIST shotwell-0.22.0.tar.xz 1872952 SHA256 01b192c5c1c188ecd11bfdb6143d8f177f313c7eab7fe320bd20ac3ca352f831 SHA512 486f27a1fa06512a925ecae60504f3cbc487d44834f635efd0897dd20cb304a731c08133ab4b04b32a754235fc8c63dc9b05787b1a0c72a98c89ca91c64f452c WHIRLPOOL 8b93b6a92822c26aa7962f30e7402322371db1e6d297d7cd4e612f01f0418bcf2ee3598954e7d2a59d62f7e9704479bb24cb6fcf4263ab5315668c20543445c3
+DIST shotwell-0.23.1.tar.xz 1963512 SHA256 e24d33ff19f1902fa9595ef73288784f6332bfa99d40171efe60ab2ac68d358a SHA512 c47da700f28a8c14e6ea81069399d381b5a2eb33f6bd4c21763d42d25d9f0f6dcb2894a8b6ebf9967809fc828ea65b222be7002a4ff6f6a6165dbecdac66f96f WHIRLPOOL e99c29ed18cbcedcc5b975509d33cc4a7af0ab4e6f41e373c9f6c9fc1a3560e3eff7c383202dd78352f5a156d1d5a556275e2e3bac7f7c536c74375c04d65817
 DIST shotwell-icons.tar.bz2 61397 SHA256 edab0b34992dab8e1d397c30a4dca2ef3dad601c6c75e9c1cc771040089762c2 SHA512 b06ce3bb34728253bc3a3643ff7adde38ed7939961d79e001ae445e71435efc8aaefa94e5a3306a10abb9821511d2421590db7488bf7a95c8e5d6d677ecc712c WHIRLPOOL 783c5d0f354791cc8a9ec47aadda2ab3fdc2c73add236306f641422d02ecd6ff36ee38a45d356cd805cd592358471e24f27b67e8e24694523cf4f6340d7ca8bb
 DIST shotwell.1 1238 SHA256 7f4036f14a6c599835bd121d63705ddc766388aae8c6414eb3a405c85b9a5014 SHA512 8090d5d339a44992d2543ba9ed1bb6e0eb18da8d3fe6ad4f95f917d3aca352e6af0b8c21a7da3a8be9aa1cb04a13e8602d9db8484d4801547cfadc6c40500ad4 WHIRLPOOL cb3c1ef3cb6a577fa94d0aec4dfc06ee84a1f77771268e3217704fed269cd0cd3c220a4e68d270c152b34dc2e438e193d47aee87dd891a39fd8236a6d269eb3b

diff --git a/media-gfx/shotwell/shotwell-0.23.1.ebuild b/media-gfx/shotwell/shotwell-0.23.1.ebuild
new file mode 100644
index 0000000..bb7c2ab
--- /dev/null
+++ b/media-gfx/shotwell/shotwell-0.23.1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+VALA_MIN_API_VERSION="0.28"
+
+inherit gnome2 multilib toolchain-funcs vala versionator
+
+MY_PV=$(get_version_component_range 1-2)
+DESCRIPTION="Open source photo manager for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Apps/Shotwell"
+SRC_URI="
+	mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.xz
+	http://pkgs.fedoraproject.org/cgit/shotwell.git/plain/shotwell.1
+	http://pkgs.fedoraproject.org/cgit/shotwell.git/plain/shotwell-icons.tar.bz2
+"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+CORE_SUPPORTED_LANGUAGES="
+	af ar as ast bg bn bn_IN bs ca cs da de el en_GB eo es et eu fi fr gd gl gu
+	he hi hr hu ia id it ja kk km kn ko ky lt lv mk ml mr nb nl nn or pa pl pt
+	pt_BR ro ru sk sl sr sr@latin sv ta te th tr uk vi zh_CN zh_HK zh_TW"
+
+for x in ${CORE_SUPPORTED_LANGUAGES}; do
+	IUSE+="linguas_${x} "
+done
+
+RDEPEND="
+	app-text/gnome-doc-utils
+	>=dev-db/sqlite-3.5.9:3
+	>=dev-libs/glib-2.30.0:2
+	>=dev-libs/json-glib-0.7.6
+	>=dev-libs/libgee-0.8.5:0.8
+	>=dev-libs/libxml2-2.6.32:2
+	>=dev-util/desktop-file-utils-0.13
+	gnome-base/dconf
+	>=media-libs/gexiv2-0.4.90
+	media-libs/gst-plugins-base:1.0
+	media-libs/gst-plugins-good:1.0
+	media-libs/gstreamer:1.0
+	media-libs/lcms:2
+	>=media-libs/libexif-0.6.16:=
+	>=media-libs/libgphoto2-2.4.2:=
+	>=media-libs/libraw-0.13.2:=
+	>=net-libs/libsoup-2.26.0:2.4
+	>=net-libs/rest-0.7:0.7
+	net-libs/webkit-gtk:4
+	virtual/libgudev:=[introspection]
+	>=x11-libs/gtk+-3.12.2:3[X]
+"
+DEPEND="${RDEPEND}
+	$(vala_depend)
+	>=sys-devel/m4-1.4.13
+"
+
+DOCS=( AUTHORS MAINTAINERS NEWS README THANKS )
+
+# This probably comes from libraries that
+# shotwell-video-thumbnailer links to.
+# Nothing we can do at the moment. #435048
+QA_FLAGS_IGNORED="/usr/libexec/${PN}/${PN}-video-thumbnailer"
+
+src_prepare() {
+	local x
+	local linguas="en_GB ${LINGUAS}"
+
+	vala_src_prepare
+
+	sed \
+		-e 's|CFLAGS :|CFLAGS +|g' \
+		-i plugins/Makefile.plugin.mk || die
+
+	# remove disabled lenguages from build
+	for x in ${CORE_SUPPORTED_LANGUAGES}; do
+		if ! has ${x} ${linguas}; then
+			sed -i "/^${x}$/d" "${S}"/po/LINGUAS || die
+		fi
+	done
+
+	gnome2_src_prepare
+}
+
+src_configure() {
+	# Not a normal configure
+	./configure \
+		--disable-schemas-compile \
+		--disable-desktop-update \
+		--disable-icon-update \
+		--prefix=/usr \
+		--lib=$(get_libdir) || die
+}
+
+src_compile() {
+	tc-export CC
+	local valaver="$(vala_best_api_version)"
+	gnome2_src_compile VALAC="$(type -p valac-${valaver})"
+}
+
+src_install() {
+	local res
+	gnome2_src_install
+
+	# https://bugzilla.gnome.org/show_bug.cgi?id=715578
+	doman "${DISTDIR}"/${PN}.1
+	# https://bugzilla.gnome.org/show_bug.cgi?id=766965
+	for res in 16 22 24 32 48 256; do
+		doicon -s ${res} "${WORKDIR}"/${res}x${res}/*
+	done
+}