1 |
commit: 9822893bb1a99dc8e943d64b7067fa4cff897837 |
2 |
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 4 19:21:46 2015 +0000 |
4 |
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 4 19:21:46 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9822893b |
7 |
|
8 |
gnome-base/gnome-vfs: add libressl support |
9 |
|
10 |
gnome-base/gnome-vfs/gnome-vfs-2.24.4-r4.ebuild | 147 ++++++++++++++++++++++++ |
11 |
1 file changed, 147 insertions(+) |
12 |
|
13 |
diff --git a/gnome-base/gnome-vfs/gnome-vfs-2.24.4-r4.ebuild b/gnome-base/gnome-vfs/gnome-vfs-2.24.4-r4.ebuild |
14 |
new file mode 100644 |
15 |
index 0000000..48d052b |
16 |
--- /dev/null |
17 |
+++ b/gnome-base/gnome-vfs/gnome-vfs-2.24.4-r4.ebuild |
18 |
@@ -0,0 +1,147 @@ |
19 |
+# Copyright 1999-2015 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Id$ |
22 |
+ |
23 |
+EAPI=5 |
24 |
+GCONF_DEBUG="no" |
25 |
+GNOME_TARBALL_SUFFIX="bz2" |
26 |
+GNOME2_LA_PUNT="yes" |
27 |
+ |
28 |
+inherit autotools eutils gnome2 multilib-minimal virtualx |
29 |
+ |
30 |
+DESCRIPTION="Gnome Virtual Filesystem" |
31 |
+HOMEPAGE="https://www.gnome.org/" |
32 |
+ |
33 |
+LICENSE="GPL-2 LGPL-2" |
34 |
+SLOT="2" |
35 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
36 |
+IUSE="acl gnutls ipv6 kerberos libressl samba ssl zeroconf" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ >=gnome-base/gconf-2.32.4-r1[${MULTILIB_USEDEP}] |
40 |
+ >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] |
41 |
+ >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] |
42 |
+ >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] |
43 |
+ gnome-base/gnome-mime-data |
44 |
+ >=x11-misc/shared-mime-info-0.14 |
45 |
+ >=dev-libs/dbus-glib-0.100.2[${MULTILIB_USEDEP}] |
46 |
+ acl? ( |
47 |
+ >=sys-apps/acl-2.2.52-r1[${MULTILIB_USEDEP}] |
48 |
+ >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] ) |
49 |
+ kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] ) |
50 |
+ samba? ( >=net-fs/samba-3.6.23-r1[${MULTILIB_USEDEP}] ) |
51 |
+ ssl? ( |
52 |
+ gnutls? ( |
53 |
+ >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] |
54 |
+ !gnome-extra/gnome-vfs-sftp ) |
55 |
+ !gnutls? ( |
56 |
+ !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) |
57 |
+ libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) |
58 |
+ !gnome-extra/gnome-vfs-sftp ) ) |
59 |
+ zeroconf? ( >=net-dns/avahi-0.6.31-r2[${MULTILIB_USEDEP}] ) |
60 |
+ abi_x86_32? ( |
61 |
+ !<=app-emulation/emul-linux-x86-gtklibs-20140508-r1 |
62 |
+ !app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)] |
63 |
+ ) |
64 |
+" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ sys-devel/gettext |
67 |
+ gnome-base/gnome-common |
68 |
+ >=dev-util/intltool-0.40 |
69 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
70 |
+ >=dev-util/gtk-doc-am-1.13 |
71 |
+" |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ # Allow the Trash on afs filesystems (#106118) |
75 |
+ epatch "${FILESDIR}"/${PN}-2.12.0-afs.patch |
76 |
+ |
77 |
+ # Fix compiling with headers missing |
78 |
+ epatch "${FILESDIR}"/${PN}-2.15.2-headers-define.patch |
79 |
+ |
80 |
+ # Fix for crashes running programs via sudo |
81 |
+ epatch "${FILESDIR}"/${PN}-2.16.0-no-dbus-crash.patch |
82 |
+ |
83 |
+ # Fix automagic dependencies, upstream bug #493475 |
84 |
+ epatch "${FILESDIR}"/${PN}-2.20.0-automagic-deps.patch |
85 |
+ epatch "${FILESDIR}"/${PN}-2.20.1-automagic-deps.patch |
86 |
+ |
87 |
+ # Fix to identify ${HOME} (#200897) |
88 |
+ # thanks to debian folks |
89 |
+ epatch "${FILESDIR}"/${PN}-2.24.4-home_dir_fakeroot.patch |
90 |
+ |
91 |
+ # Configure with gnutls-2.7, bug #253729 |
92 |
+ # Fix building with gnutls-2.12, bug #388895 |
93 |
+ epatch "${FILESDIR}"/${PN}-2.24.4-gnutls27.patch |
94 |
+ |
95 |
+ # Prevent duplicated volumes, bug #193083 |
96 |
+ epatch "${FILESDIR}"/${PN}-2.24.0-uuid-mount.patch |
97 |
+ |
98 |
+ # Do not build tests with FEATURES="-test", bug #226221 |
99 |
+ epatch "${FILESDIR}"/${PN}-2.24.4-build-tests-asneeded.patch |
100 |
+ |
101 |
+ # Disable broken test, bug #285706 |
102 |
+ epatch "${FILESDIR}"/${PN}-2.24.4-disable-test-async-cancel.patch |
103 |
+ |
104 |
+ # Fix for automake-1.13 compatibility, #466944 |
105 |
+ epatch "${FILESDIR}"/${P}-automake-1.13.patch |
106 |
+ |
107 |
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in || die |
108 |
+ |
109 |
+ eautoreconf |
110 |
+ gnome2_src_prepare |
111 |
+} |
112 |
+ |
113 |
+multilib_src_configure() { |
114 |
+ local myconf=( |
115 |
+ --disable-schemas-install |
116 |
+ --disable-static |
117 |
+ --disable-cdda |
118 |
+ --disable-fam |
119 |
+ --disable-hal |
120 |
+ --disable-howl |
121 |
+ $(use_enable acl) |
122 |
+ $(use_enable gnutls) |
123 |
+ $(use_enable ipv6) |
124 |
+ $(use_enable kerberos krb5) |
125 |
+ $(use_enable samba) |
126 |
+ $(use_enable ssl openssl) |
127 |
+ $(use_enable zeroconf avahi) |
128 |
+ # Useless ? --enable-http-neon |
129 |
+ |
130 |
+ # fix path to krb5-config |
131 |
+ KRB5_CONFIG=/usr/bin/${CHOST}-krb5-config |
132 |
+ ) |
133 |
+ |
134 |
+ # this works because of the order of configure parsing |
135 |
+ # so should always be behind the use_enable options |
136 |
+ # foser <foser@g.o 19 Apr 2004 |
137 |
+ use gnutls && use ssl && myconf+=( --disable-openssl ) |
138 |
+ |
139 |
+ #bug #519060 |
140 |
+ #configure script is so messed up on res_init on Darwin |
141 |
+ [[ ${CHOST} == *-darwin* ]] && export LIBS="${LIBS} -lresolv" |
142 |
+ |
143 |
+ ECONF_SOURCE=${S} \ |
144 |
+ gnome2_src_configure "${myconf[@]}" |
145 |
+ |
146 |
+ if multilib_is_native_abi; then |
147 |
+ ln -s "${S}"/doc/html doc/html || die |
148 |
+ fi |
149 |
+} |
150 |
+ |
151 |
+multilib_src_test() { |
152 |
+ unset DISPLAY |
153 |
+ # Fix bug #285706 |
154 |
+ unset XAUTHORITY |
155 |
+ Xemake check |
156 |
+} |
157 |
+ |
158 |
+multilib_src_install() { |
159 |
+ gnome2_src_install |
160 |
+} |
161 |
+ |
162 |
+multilib_src_install_all() { |
163 |
+ DOCS="AUTHORS ChangeLog HACKING NEWS README TODO" |
164 |
+ einstalldocs |
165 |
+} |