1 |
commit: 70e86adf73324c4d3b078aa39da91c5f0a185483 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 4 09:32:25 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 4 09:40:26 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e86adf |
7 |
|
8 |
mail-client/mail-notification: Drop old |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
.../mail-notification-5.4-r9.ebuild | 115 --------------------- |
13 |
1 file changed, 115 deletions(-) |
14 |
|
15 |
diff --git a/mail-client/mail-notification/mail-notification-5.4-r9.ebuild b/mail-client/mail-notification/mail-notification-5.4-r9.ebuild |
16 |
deleted file mode 100644 |
17 |
index 6458da6..00000000 |
18 |
--- a/mail-client/mail-notification/mail-notification-5.4-r9.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,115 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
-GCONF_DEBUG="no" |
27 |
- |
28 |
-inherit gnome2 eutils multilib flag-o-matic toolchain-funcs |
29 |
- |
30 |
-DESCRIPTION="Status icon informing about new mail" |
31 |
-HOMEPAGE="http://www.nongnu.org/mailnotify/ https://github.com/epienbroek/mail-notification" |
32 |
- |
33 |
-GIT_REVISION="eab5c13" # Same as Fedora |
34 |
-SRC_URI="https://github.com/epienbroek/${PN}/tarball/${GIT_REVISION} -> ${PN}-${GIT_REVISION}.tar.gz" |
35 |
-S="${WORKDIR}/epienbroek-${PN}-${GIT_REVISION}" |
36 |
- |
37 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-linux" |
38 |
-SLOT="0" |
39 |
-LICENSE="GPL-3" |
40 |
-IUSE="+gnome-keyring libressl sasl +sound ssl sylpheed" |
41 |
- |
42 |
-LANGS="bg ca cs de es fr ja nl pl pt pt_BR ru sr sr@Latn sv" |
43 |
-for lang in ${LANGS}; do |
44 |
- IUSE+=" linguas_${lang}" |
45 |
-done |
46 |
- |
47 |
-# gmime is actually optional, but it's used by so much of the package |
48 |
-# it's pointless making it optional. gnome-keyring is required for |
49 |
-# several specific access methods, and thus linked to those USE flags |
50 |
-# instead of adding a keyring USE flag. |
51 |
-RDEPEND=" |
52 |
- x11-libs/gtk+:3 |
53 |
- >=dev-libs/glib-2.14:2 |
54 |
- >=gnome-base/gconf-2.6 |
55 |
- >=gnome-base/libgnomeui-2.14 |
56 |
- dev-libs/dbus-glib |
57 |
- dev-libs/gmime:2.6 |
58 |
- >=x11-libs/libnotify-0.4.1 |
59 |
- gnome-keyring? ( gnome-base/libgnome-keyring ) |
60 |
- ssl? ( |
61 |
- !libressl? ( dev-libs/openssl:0 ) |
62 |
- libressl? ( dev-libs/libressl ) |
63 |
- ) |
64 |
- sasl? ( >=dev-libs/cyrus-sasl-2 ) |
65 |
- sound? ( media-libs/gstreamer:0.10 ) |
66 |
- sylpheed? ( mail-client/sylpheed ) |
67 |
-" |
68 |
-DEPEND="${RDEPEND} |
69 |
- app-text/scrollkeeper |
70 |
- dev-util/gob |
71 |
- sys-devel/gettext |
72 |
- virtual/pkgconfig |
73 |
- >=dev-util/intltool-0.35.0 |
74 |
-" |
75 |
-# this now uses JB (the Jean-Yves Lefort's Build System) as a build system |
76 |
-# instead of autotools, this is a little helper function that basically does |
77 |
-# the same thing as use_enable |
78 |
-use_var() { |
79 |
- echo "${2:-$1}=$(usex $1)" |
80 |
-} |
81 |
- |
82 |
-src_prepare() { |
83 |
- sed -i -e '/jb_rule_set_install_message/d' \ |
84 |
- -e '/jb_rule_add_install_command/d' \ |
85 |
- jbsrc/jb.c || die |
86 |
- |
87 |
- # Ensure we never append -Werror |
88 |
- sed -i -e 's/ -Werror//' jb jbsrc/jb.c || die |
89 |
- |
90 |
- # We are not Ubuntu, and this could be the cause of #215281 |
91 |
- epatch "${FILESDIR}/${P}-remove-ubuntu-special-case.patch" |
92 |
- |
93 |
- # Apply Fedora patches |
94 |
- # Fix gcc warning |
95 |
- epatch "${FILESDIR}/${PN}-jb-gcc-format.patch" |
96 |
- # Support aarch64 |
97 |
- epatch "${FILESDIR}/${PN}-aarch64.patch" |
98 |
- # Fix build with latest libc |
99 |
- epatch "${FILESDIR}/${PN}-dont-link-against-bsd-compat.patch" |
100 |
-} |
101 |
- |
102 |
-src_configure() { |
103 |
- set -- \ |
104 |
- ./jb configure destdir="${D}" prefix="${EPREFIX}/usr" libdir="${EPREFIX}/usr/$(get_libdir)" \ |
105 |
- sysconfdir="${EPREFIX}/etc" localstatedir="${EPREFIX}/var" cc="$(tc-getCC)" \ |
106 |
- cflags="${CFLAGS}" cppflags="${CXXFLAGS}" ldflags="${LDFLAGS}" \ |
107 |
- scrollkeeper-dir="${EPREFIX}/var/lib/scrollkeeper" \ |
108 |
- $(use_var gnome-keyring gmail) \ |
109 |
- $(use_var gnome-keyring imap) \ |
110 |
- $(use_var gnome-keyring pop3) \ |
111 |
- $(use_var sasl) \ |
112 |
- $(use_var ssl) \ |
113 |
- $(use_var sylpheed) |
114 |
- echo "$@" |
115 |
- "$@" || die |
116 |
-} |
117 |
- |
118 |
-src_compile() { |
119 |
- ./jb build || die |
120 |
-} |
121 |
- |
122 |
-src_install() { |
123 |
- GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" ./jb install || die |
124 |
- dodoc NEWS README AUTHORS TODO TRANSLATING |
125 |
- rm -rf "${ED}/var/lib/scrollkeeper" |
126 |
- |
127 |
- einfo "Cleaning up locales..." |
128 |
- for lang in ${LANGS}; do |
129 |
- use "linguas_${lang}" && { |
130 |
- einfo "- keeping ${lang}" |
131 |
- continue |
132 |
- } |
133 |
- rm -Rf "${D}"/usr/share/locale/"${lang}" || die |
134 |
- done |
135 |
-} |