Geary 0.7.1 added
This commit is contained in:
parent
aacfd6f7b5
commit
2f43da22ee
|
@ -0,0 +1 @@
|
|||
DIST geary-0.7.1.tar.xz 799176 SHA256 de2590eb0bed3f1fc330bd05abbf5bd568540336cd25a74feed3f2d76b2b9078 SHA512 1a9e669cb72a396615dbbf58ec6d4c7ec94ad7c0974f1d67a545c85c32aa9b2a0947bbefd1d2dcc25799884cf1ac49ba97d080c05a8c3e685ebcb652f8f27b68 WHIRLPOOL fbdf67fbac2e639b8150e122aa67217df5ab246457a08b35930aa80df2bde532c122033cff587ac7120ab21a1b4b060ea1062b5dcc7f351a6b564fe765c5c314
|
|
@ -0,0 +1,27 @@
|
|||
commit e41cf68206eb16be678eeaa1dc998d94d2f93d57
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Tue Aug 27 01:40:58 2013 +0200
|
||||
|
||||
respect system CFLAGS
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 5202b99..949d494 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -471,16 +471,8 @@ set(CFLAGS
|
||||
-D_GSETTINGS_DIR=\"${CMAKE_BINARY_DIR}/gsettings\"
|
||||
-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\"
|
||||
-DLANGUAGE_SUPPORT_DIRECTORY=\"${LANGUAGE_SUPPORT_DIRECTORY}\"
|
||||
- -g
|
||||
)
|
||||
|
||||
-if (NOT DEBUG)
|
||||
- set(CFLAGS
|
||||
- ${CFLAGS}
|
||||
- -O2
|
||||
- )
|
||||
-endif ()
|
||||
-
|
||||
if (REF_TRACKING)
|
||||
message(STATUS "Reference tracking: ON")
|
||||
set(EXTRA_VALA_OPTIONS
|
|
@ -0,0 +1,29 @@
|
|||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sun Feb 2 00:17:18 UTC 2014
|
||||
Subject: gentoo specific
|
||||
|
||||
--- geary-0.5.1.tar.xz/src/CMakeLists.txt
|
||||
+++ geary-0.5.1.tar.xz/src/CMakeLists.txt
|
||||
@@ -399,12 +399,7 @@
|
||||
include(ValaPrecompile)
|
||||
|
||||
# Vapigen
|
||||
-find_program(VAPIGEN vapigen)
|
||||
-if (VAPIGEN STREQUAL "VAPIGEN-NOTFOUND")
|
||||
- message(FATAL_ERROR "vapigen must be installed to build Geary.")
|
||||
-else ()
|
||||
- message(STATUS "Found vapigen: " ${VAPIGEN})
|
||||
-endif ()
|
||||
+set(VAPIGEN $ENV{VAPIGEN})
|
||||
|
||||
# Packages
|
||||
if (LIBMESSAGINGMENU_FOUND)
|
||||
@@ -615,7 +610,7 @@
|
||||
WORKING_DIRECTORY
|
||||
${CMAKE_SOURCE_DIR}/bindings/metadata
|
||||
COMMAND
|
||||
- vapigen --pkg=gio-2.0 --pkg=gtk+-3.0 --pkg=libsoup-2.4 --metadatadir=. --metadatadir=${WEBKITGTK_METADATA_DIR} --library=webkitgtk-3.0 --directory=${CMAKE_BINARY_DIR}/src ${WEBKITGTK_CUSTOM_VALA} `pkg-config --variable=girdir gobject-introspection-1.0`/WebKit-3.0.gir
|
||||
+ $ENV{VAPIGEN} --pkg=gio-2.0 --pkg=gtk+-3.0 --pkg=libsoup-2.4 --metadatadir=. --metadatadir=${WEBKITGTK_METADATA_DIR} --library=webkitgtk-3.0 --directory=${CMAKE_BINARY_DIR}/src ${WEBKITGTK_CUSTOM_VALA} `pkg-config --variable=girdir gobject-introspection-1.0`/WebKit-3.0.gir
|
||||
)
|
||||
|
||||
# Geary client app
|
|
@ -0,0 +1,12 @@
|
|||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Sun Mar 23 22:56:46 UTC 2014
|
||||
Subject: fix desktop file
|
||||
|
||||
--- a/desktop/geary.desktop.in
|
||||
+++ b/desktop/geary.desktop.in
|
||||
@@ -17,5 +17,3 @@
|
||||
[Desktop Action Compose]
|
||||
_Name=Compose Message
|
||||
Exec=geary mailto:
|
||||
-OnlyShowIn=X-Messaging Menu;Unity;
|
||||
-
|
|
@ -0,0 +1,99 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/geary/geary-0.7.1.ebuild,v 1.1 2014/07/24 20:56:54 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
VALA_MIN_API_VERSION=0.22
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils vala cmake-utils
|
||||
|
||||
MY_P=${P/_pre/pr}
|
||||
DESCRIPTION="A lightweight, easy-to-use, feature-rich email client"
|
||||
HOMEPAGE="http://www.yorba.org/projects/geary/"
|
||||
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/sources/geary/${PV:0:3}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/libsecret
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/libgee-0.8.5:0.8
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/gmime:2.6
|
||||
media-libs/libcanberra
|
||||
>=net-libs/webkit-gtk-1.10.0:3[introspection]
|
||||
>=x11-libs/gtk+-3.10.0:3[introspection]
|
||||
x11-libs/libnotify"
|
||||
RDEPEND="${DEPEND}
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${DEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
dev-util/desktop-file-utils
|
||||
nls? ( sys-devel/gettext )
|
||||
$(vala_depend)
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS MAINTAINERS README NEWS THANKS )
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.5.3-{cflags,vapigen}.patch \
|
||||
"${FILESDIR}"/${PN}-0.6.0-desktopfile.patch
|
||||
|
||||
local i
|
||||
if use nls ; then
|
||||
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
|
||||
else
|
||||
sed -i -e 's#add_subdirectory(po)##' CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
cmake-utils_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDESKTOP_UPDATE=OFF
|
||||
-DGSETTINGS_COMPILE=OFF
|
||||
-DICON_UPDATE=OFF
|
||||
-DVALA_EXECUTABLE="${VALAC}"
|
||||
-DWITH_UNITY=OFF
|
||||
-DDESKTOP_VALIDATE=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For libnotify sounds you will need"
|
||||
elog "\"alsa\" or \"pulseaudio\" useflag of media-libs/libcanberra"
|
||||
elog "enabled."
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
Loading…
Reference in New Issue