commit:     d5dc25afec8ea4de582ae732ce4a2a3db9f847f5
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 13 22:19:17 2017 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Wed Sep 13 22:19:17 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=d5dc25af

gnome-extra/gnome-recipes: initial ebuild

Package-Manager: Portage-2.3.8, Repoman-2.3.3
Manifest-Sign-Key: 0x5A56C8CD0C13248A

 .../gnome-recipes/gnome-recipes-1.6.2.ebuild       | 48 ++++++++++++++++++++++
 gnome-extra/gnome-recipes/metadata.xml             | 11 +++++
 2 files changed, 59 insertions(+)

diff --git a/gnome-extra/gnome-recipes/gnome-recipes-1.6.2.ebuild 
b/gnome-extra/gnome-recipes/gnome-recipes-1.6.2.ebuild
new file mode 100644
index 00000000..9d265b7d
--- /dev/null
+++ b/gnome-extra/gnome-recipes/gnome-recipes-1.6.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils gnome.org meson xdg
+
+DESCRIPTION="Cooking recipe application"
+HOMEPAGE="https://wiki.gnome.org/Apps/Recipes";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="archive spell"
+
+RDEPEND="
+       dev-libs/glib:2
+       media-libs/libcanberra
+       net-libs/libsoup:2.4
+       >=x11-libs/gtk+-3.22:3
+       archive? ( app-arch/gnome-autoar )
+       spell? ( >=app-text/gspell-1 )
+"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local emesonargs=(
+               -Denable-autoar=$(usex archive yes no)
+               -Denable-gspell=$(usex spell yes no)
+               -Denable-canberra=yes
+       )
+
+       meson_src_configure
+}
+
+pkg_postinst() {
+       gnome2_schemas_update
+       gnome2_icon_cache_update
+       xdg_pkg_postinst
+}
+
+pkg_postrm() {
+       gnome2_schemas_update
+       gnome2_icon_cache_update
+       xdg_pkg_postrm
+}

diff --git a/gnome-extra/gnome-recipes/metadata.xml 
b/gnome-extra/gnome-recipes/metadata.xml
new file mode 100644
index 00000000..767f96d9
--- /dev/null
+++ b/gnome-extra/gnome-recipes/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo GNOME Desktop</name>
+       </maintainer>
+       <use>
+               <flag name="archive">Enable archive support using 
app-arch/libarchive</flag>
+       </use>
+</pkgmetadata>

Reply via email to