From c828c9200bbf6e9766422aa41129e9178e32173b Mon Sep 17 00:00:00 2001 From: Sobhan Mohammadpour Date: Tue, 19 Mar 2019 07:19:12 -0400 Subject: mail-client/geary: fix Q&A and make dependency on libunwind optional remove non existing function call, closes: 680888 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sobhan Mohammadpour --- mail-client/geary/geary-3.32.0-r1.ebuild | 90 +++++++++++++++++++++++++++++++ mail-client/geary/geary-3.32.0.ebuild | 92 -------------------------------- 2 files changed, 90 insertions(+), 92 deletions(-) create mode 100644 mail-client/geary/geary-3.32.0-r1.ebuild delete mode 100644 mail-client/geary/geary-3.32.0.ebuild (limited to 'mail-client') diff --git a/mail-client/geary/geary-3.32.0-r1.ebuild b/mail-client/geary/geary-3.32.0-r1.ebuild new file mode 100644 index 000000000000..dd806a26e5b3 --- /dev/null +++ b/mail-client/geary/geary-3.32.0-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_MIN_API_VERSION="0.40" + +inherit gnome.org gnome2-utils meson vala xdg + +DESCRIPTION="A lightweight, easy-to-use, feature-rich email client" +HOMEPAGE="https://wiki.gnome.org/Apps/Geary" + +LICENSE="LGPL-2.1+ BSD-2 CC-BY-3.0 CC-BY-SA-3.0" # code is LGPL-2.1+, BSD-2 for bundled snowball-stemmer, CC licenses for some icons +SLOT="0" + +IUSE="unwind" + +KEYWORDS="~amd64" + +# for now both enchants work +# FIXME: add valadoc support + +DEPEND=" + >=dev-libs/glib-2.54:2 + >=x11-libs/gtk+-3.22.26:3[introspection] + >=net-libs/webkit-gtk-2.20:4=[introspection] + app-text/iso-codes + >=dev-db/sqlite-3.12:3 + + >=net-libs/libsoup-2.48:2.4[introspection] + net-libs/gnome-online-accounts + + >=dev-libs/libgee-0.8.5:0.8=[introspection] + >=x11-libs/libnotify-0.7.5[introspection] + >=media-libs/libcanberra-0.28 + >=dev-libs/gmime-2.6.17:2.6 + >=app-crypt/libsecret-0.11[introspection,vala] + >=dev-libs/libxml2-2.7.8:2 + >=app-crypt/gcr-3.10.1:0=[gtk,introspection,vala] + app-text/enchant + >=dev-libs/folks-0.11:0 + dev-libs/json-glib + unwind? ( >=sys-libs/libunwind-1.1:7 ) +" +RDEPEND="${DEPEND} + gnome-base/dconf + gnome-base/gsettings-desktop-schemas +" +# org.gnome.desktop.interface clock-format global setting usage +# gnome-doc-utils for xml2po for TRANSLATE_HELP option +DEPEND="${DEPEND} + sys-devel/gettext + dev-util/desktop-file-utils + virtual/pkgconfig + $(vala_depend) +" + +src_prepare() { + local i + if [[ -n "${LINGUAS+x}" ]] ; then + for i in $(cd po ; echo *.po) ; do + if ! has ${i%.po} ${LINGUAS} ; then + sed -i -e "/^${i%.po}$/d" po/LINGUAS || die + fi + done + fi + + vala_src_prepare + xdg_src_prepare +} + +src_configure() { + # appstream_util & desktop_file_validate doesn't seem to + # doing anything useful for an actual release, maybe for 9999? + local emesonargs=( + -Dlibunwind_optional=$(usex unwind false true) + -Dpoodle=true + ) + + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/mail-client/geary/geary-3.32.0.ebuild b/mail-client/geary/geary-3.32.0.ebuild deleted file mode 100644 index 44c256f2c5a5..000000000000 --- a/mail-client/geary/geary-3.32.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -VALA_MIN_API_VERSION="0.40" - -inherit gnome.org gnome2-utils meson vala xdg - -DESCRIPTION="A lightweight, easy-to-use, feature-rich email client" -HOMEPAGE="https://wiki.gnome.org/Apps/Geary" - -LICENSE="LGPL-2.1+ BSD-2 CC-BY-3.0 CC-BY-SA-3.0" # code is LGPL-2.1+, BSD-2 for bundled snowball-stemmer, CC licenses for some icons -SLOT="0" - -IUSE="unwind" - -KEYWORDS="~amd64" - -# for now both enchants work -# FIXME: add valadoc support - -DEPEND=" - >=dev-libs/glib-2.54:2 - >=x11-libs/gtk+-3.22.26:3[introspection] - >=net-libs/webkit-gtk-2.20:4=[introspection] - app-text/iso-codes - >=dev-db/sqlite-3.12:3 - - >=net-libs/libsoup-2.48:2.4[introspection] - net-libs/gnome-online-accounts - - >=dev-libs/libgee-0.8.5:0.8=[introspection] - >=x11-libs/libnotify-0.7.5[introspection] - >=media-libs/libcanberra-0.28 - >=dev-libs/gmime-2.6.17:2.6 - >=app-crypt/libsecret-0.11[introspection,vala] - >=dev-libs/libxml2-2.7.8:2 - >=app-crypt/gcr-3.10.1:0=[gtk,introspection,vala] - app-text/enchant - >=dev-libs/folks-0.11:0 - dev-libs/json-glib - >=sys-libs/libunwind-1.1:7 -" -RDEPEND="${DEPEND} - gnome-base/dconf - gnome-base/gsettings-desktop-schemas -" -# org.gnome.desktop.interface clock-format global setting usage -# gnome-doc-utils for xml2po for TRANSLATE_HELP option -DEPEND="${DEPEND} - sys-devel/gettext - dev-util/desktop-file-utils - virtual/pkgconfig - $(vala_depend) -" - -src_prepare() { - local i - if [[ -n "${LINGUAS+x}" ]] ; then - for i in $(cd po ; echo *.po) ; do - if ! has ${i%.po} ${LINGUAS} ; then - sed -i -e "/^${i%.po}$/d" po/LINGUAS || die - fi - done - fi - - meson_src_prepare - gnome2_src_prepare - vala_src_prepare - xdg_src_prepare -} - -src_configure() { - # appstream_util & desktop_file_validate doesn't seem to - # doing anything useful for an actual release, maybe for 9999? - local emesonargs=( - -Dlibunwind_optional=$(usex unwind false true) - -Dpoodle=true - ) - - meson_src_configure -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} -- cgit v1.2.3-65-gdbad