1 |
commit: 956561935ef9a44f0605e7ecc0478322872f188a |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 28 08:42:57 2017 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 28 08:42:57 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95656193 |
7 |
|
8 |
net-libs/gtk-vnc: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
11 |
|
12 |
net-libs/gtk-vnc/Manifest | 1 - |
13 |
net-libs/gtk-vnc/gtk-vnc-0.6.0.ebuild | 172 ---------------------------------- |
14 |
2 files changed, 173 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/gtk-vnc/Manifest b/net-libs/gtk-vnc/Manifest |
17 |
index a274811086f..2c9220b798e 100644 |
18 |
--- a/net-libs/gtk-vnc/Manifest |
19 |
+++ b/net-libs/gtk-vnc/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST gtk-vnc-0.6.0.tar.xz 439104 SHA256 9559348805e64d130dae569fee466930175dbe150d2649bb868b5c095f130433 SHA512 38d37753bd8c88d112c046eb8430383b073b6516c72660b3e53612986a6772b72e3e6037f61e7a3700980ab1509c1f44fbfe0b80594c8a5e5520df166212f158 WHIRLPOOL e156f368a9d70e90077253b031db49f5f58e2f248b3e15bc11340f01f6bcbd342cf08dd9810c8ee447ab372159d09c3353aa5ce6195f67c677e7c43a563a75c0 |
22 |
DIST gtk-vnc-0.7.1.tar.xz 444380 SHA256 f34baa696615ef67666e8465b4d0ac563355e999a77d2cc42ad4625a24f7aab1 SHA512 5d62f60e1c9fe70f93a9d21c529145459f0d59d588631597d533ecba94864271d1095599db9447ac4843814be61af7a7c947f69e5a9cd26db7e811f2c4e95f0c WHIRLPOOL b4736926bbd8ad49c6b2dd2a1b921a35a9ca5b8987c04b03ea588efe09b3db20eade41204d0a0542ee683efd6d2ec23636c13bc2e214ed452d885aef1302902a |
23 |
|
24 |
diff --git a/net-libs/gtk-vnc/gtk-vnc-0.6.0.ebuild b/net-libs/gtk-vnc/gtk-vnc-0.6.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index e8d0f456c9b..00000000000 |
27 |
--- a/net-libs/gtk-vnc/gtk-vnc-0.6.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,172 +0,0 @@ |
30 |
-# Copyright 1999-2017 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=6 |
34 |
-GNOME2_LA_PUNT="yes" |
35 |
-PYTHON_COMPAT=( python2_7 ) |
36 |
-VALA_MIN_API_VERSION="0.16" |
37 |
-VALA_USE_DEPEND="vapigen" |
38 |
- |
39 |
-inherit gnome2 multibuild python-r1 vala |
40 |
- |
41 |
-DESCRIPTION="VNC viewer widget for GTK" |
42 |
-HOMEPAGE="https://wiki.gnome.org/Projects/gtk-vnc" |
43 |
- |
44 |
-LICENSE="GPL-2" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd" |
47 |
-IUSE="examples +gtk3 +introspection pulseaudio python sasl vala" |
48 |
-REQUIRED_USE=" |
49 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
50 |
- vala? ( gtk3 introspection ) |
51 |
-" |
52 |
- |
53 |
-# libview is used in examples/gvncviewer -- no need |
54 |
-# glib-2.30.1 needed to avoid linking failure due to .la files (bug #399129) |
55 |
-COMMON_DEPEND=" |
56 |
- >=dev-libs/glib-2.30.1:2 |
57 |
- >=dev-libs/libgcrypt-1.4.2:0= |
58 |
- dev-libs/libgpg-error |
59 |
- >=net-libs/gnutls-3.0:0= |
60 |
- >=x11-libs/cairo-1.2 |
61 |
- >=x11-libs/gtk+-2.18:2 |
62 |
- x11-libs/libX11 |
63 |
- gtk3? ( >=x11-libs/gtk+-2.91.3:3[introspection?] ) |
64 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.4:= ) |
65 |
- pulseaudio? ( media-sound/pulseaudio ) |
66 |
- python? ( |
67 |
- ${PYTHON_DEPS} |
68 |
- >=dev-python/pygtk-2:2[${PYTHON_USEDEP}] ) |
69 |
- sasl? ( dev-libs/cyrus-sasl ) |
70 |
-" |
71 |
-RDEPEND="${COMMON_DEPEND}" |
72 |
- |
73 |
-DEPEND="${COMMON_DEPEND} |
74 |
- >=dev-lang/perl-5 |
75 |
- >=dev-util/intltool-0.40 |
76 |
- sys-devel/gettext |
77 |
- virtual/pkgconfig |
78 |
- vala? ( |
79 |
- $(vala_depend) |
80 |
- >=dev-libs/gobject-introspection-0.9.4 ) |
81 |
-" |
82 |
-# eautoreconf requires gnome-common |
83 |
- |
84 |
-compute_variants() { |
85 |
- MULTIBUILD_VARIANTS=( 2.0 ) |
86 |
- use gtk3 && MULTIBUILD_VARIANTS+=( 3.0 ) |
87 |
-} |
88 |
- |
89 |
-src_prepare() { |
90 |
- prepare() { |
91 |
- mkdir -p "${BUILD_DIR}" || die |
92 |
- |
93 |
- if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then |
94 |
- python_foreach_impl prepare |
95 |
- fi |
96 |
- } |
97 |
- |
98 |
- local MULTIBUILD_VARIANTS |
99 |
- compute_variants |
100 |
- multibuild_foreach_variant prepare |
101 |
- |
102 |
- # Fix incorrect codegendir check: h2def.py is in pygobject, not pygtk, upstream bug#744393 |
103 |
- sed -e 's/codegendir pygtk-2.0/codegendir pygobject-2.0/g' \ |
104 |
- -i src/Makefile.* || die |
105 |
- |
106 |
- vala_src_prepare |
107 |
- gnome2_src_prepare |
108 |
-} |
109 |
- |
110 |
-src_configure() { |
111 |
- local myconf=( |
112 |
- $(use_with examples) |
113 |
- $(use_enable introspection) |
114 |
- $(use_with pulseaudio) |
115 |
- $(use_with sasl) |
116 |
- --with-coroutine=gthread |
117 |
- --without-libview |
118 |
- --disable-static |
119 |
- --disable-vala |
120 |
- ) |
121 |
- |
122 |
- configure_python() { |
123 |
- ECONF_SOURCE="${S}" gnome2_src_configure \ |
124 |
- ${myconf[@]} \ |
125 |
- --with-gtk=2.0 \ |
126 |
- --with-python |
127 |
- } |
128 |
- |
129 |
- configure_normal() { |
130 |
- ECONF_SOURCE="${S}" gnome2_src_configure \ |
131 |
- ${myconf[@]} \ |
132 |
- --with-gtk=${MULTIBUILD_VARIANT} \ |
133 |
- --without-python |
134 |
- |
135 |
- # for gtk3, python support is via gobject-introspection |
136 |
- # Ex: from gi.repository import GtkVnc |
137 |
- if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then |
138 |
- python_foreach_impl run_in_build_dir configure_python |
139 |
- fi |
140 |
- } |
141 |
- |
142 |
- local MULTIBUILD_VARIANTS |
143 |
- compute_variants |
144 |
- multibuild_foreach_variant run_in_build_dir configure_normal |
145 |
-} |
146 |
- |
147 |
-src_compile() { |
148 |
- compile_python() { |
149 |
- cd "${BUILD_DIR}"/src || die |
150 |
- # CPPFLAGS set to help find includes for gvnc.override |
151 |
- emake gtkvnc.la \ |
152 |
- VPATH="${S}/src:${GTK2_BUILDDIR}/src:${BUILD_DIR}/src" \ |
153 |
- CPPFLAGS="${CPPFLAGS} -I${GTK2_BUILDDIR}/src" \ |
154 |
- gtkvnc_la_LIBADD="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" \ |
155 |
- gtkvnc_la_DEPENDENCIES="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" |
156 |
- } |
157 |
- |
158 |
- compile_normal() { |
159 |
- gnome2_src_compile |
160 |
- |
161 |
- if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then |
162 |
- local GTK2_BUILDDIR="${BUILD_DIR}" |
163 |
- python_foreach_impl run_in_build_dir compile_python |
164 |
- fi |
165 |
- } |
166 |
- |
167 |
- local MULTIBUILD_VARIANTS |
168 |
- compute_variants |
169 |
- multibuild_foreach_variant run_in_build_dir compile_normal |
170 |
-} |
171 |
- |
172 |
-src_test() { |
173 |
- local MULTIBUILD_VARIANTS |
174 |
- compute_variants |
175 |
- |
176 |
- multibuild_foreach_variant run_in_build_dir default |
177 |
-} |
178 |
- |
179 |
-src_install() { |
180 |
- install_python() { |
181 |
- cd "${BUILD_DIR}"/src || die |
182 |
- emake install-pyexecLTLIBRARIES DESTDIR="${D}" \ |
183 |
- VPATH="${S}/src:${GTK2_BUILDDIR}/src:${BUILD_DIR}/src" \ |
184 |
- CPPFLAGS="${CPPFLAGS} -I${GTK2_BUILDDIR}/src" \ |
185 |
- gtkvnc_la_LIBADD="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" \ |
186 |
- gtkvnc_la_DEPENDENCIES="${GTK2_BUILDDIR}/src/libgtk-vnc-1.0.la" |
187 |
- } |
188 |
- |
189 |
- install_normal() { |
190 |
- gnome2_src_install |
191 |
- |
192 |
- if [[ ${MULTIBUILD_ID} == 2.0 ]] && use python ; then |
193 |
- local GTK2_BUILDDIR="${BUILD_DIR}" |
194 |
- python_foreach_impl run_in_build_dir install_python |
195 |
- fi |
196 |
- } |
197 |
- |
198 |
- local MULTIBUILD_VARIANTS |
199 |
- compute_variants |
200 |
- multibuild_foreach_variant run_in_build_dir install_normal |
201 |
-} |