From 18d40834ef1569d862421dda54a0e669ecd1dfe2 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Tue, 2 Nov 2010 09:30:25 +0000 Subject: Disable dev-lang/vala support because it's not ready to be stabilized wrt #343737. Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64 --- net-libs/libproxy/ChangeLog | 9 +++- net-libs/libproxy/Manifest | 5 +- net-libs/libproxy/libproxy-0.4.6-r1.ebuild | 84 ++++++++++++++++++++++++++++++ net-libs/libproxy/libproxy-0.4.6.ebuild | 10 ++-- 4 files changed, 100 insertions(+), 8 deletions(-) create mode 100644 net-libs/libproxy/libproxy-0.4.6-r1.ebuild (limited to 'net-libs') diff --git a/net-libs/libproxy/ChangeLog b/net-libs/libproxy/ChangeLog index bd5c04580af2..d7d4a2545f70 100644 --- a/net-libs/libproxy/ChangeLog +++ b/net-libs/libproxy/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-libs/libproxy # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v 1.41 2010/10/28 09:20:32 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v 1.42 2010/11/02 09:30:25 ssuominen Exp $ + +*libproxy-0.4.6-r1 (02 Nov 2010) + + 02 Nov 2010; Samuli Suominen libproxy-0.4.6.ebuild, + +libproxy-0.4.6-r1.ebuild: + Disable dev-lang/vala support because it's not ready to be stabilized wrt + #343737. 28 Oct 2010; Samuli Suominen files/libproxy-0.4.6-mozjs-link_directory.patch: diff --git a/net-libs/libproxy/Manifest b/net-libs/libproxy/Manifest index 9ff8a5f56444..16906e7ab515 100644 --- a/net-libs/libproxy/Manifest +++ b/net-libs/libproxy/Manifest @@ -8,6 +8,7 @@ AUX libproxy-0.4.6-mozjs-link_directory.patch 1365 RMD160 4ba7b7f923a8d48575db2f DIST libproxy-0.2.3.tar.gz 378773 RMD160 c86c4f8403cb879380e101d074af469c960b5c1c SHA1 2b2b00a179740548035a1145bbae600db9b0a2ce SHA256 59ded160b3547d29e37cc9d06359f7f37d94112214e4532430cd65e704c1339a DIST libproxy-0.4.6.tar.gz 82483 RMD160 f5f03c84ad2d87fe728869fadc669628737c639e SHA1 6e9745c87b774f34bf53f07a54284c0d72020e94 SHA256 9ad912e63b1efca98fb442240a2bc7302e6021c1d0b1b9363327729f29462f30 EBUILD libproxy-0.2.3-r3.ebuild 2677 RMD160 f234bb926d25459c3a65d2acd8a366f9c1918c2c SHA1 378b08d384ba2c6d846c7c3cf495e1e300b858ac SHA256 af1a37c687737148425cbdf45ced8bb715b3124b2b552f415df868d0fca463cd -EBUILD libproxy-0.4.6.ebuild 2205 RMD160 500ea4d855476cf61639c498205c992b09c1ee5b SHA1 e0eabb87483bf7b1c9acc6d7d1e2f2ae48c2fd31 SHA256 a6af9ee728bd8519687e28fffde20063ee82ec800dd7f0b18d3296cd90174af3 -MISC ChangeLog 7005 RMD160 92ae4d22773d071d79258957e3bc363bb5df8641 SHA1 40239f7c835c3c9825a2f8ca198dcb897407ed74 SHA256 4d3b8dcadd8dc67cf8663f1fc03e7ba6b105d1d48e4367efb3cfd5afc9638af3 +EBUILD libproxy-0.4.6-r1.ebuild 2208 RMD160 75d8430b88ddcbf1bb797768941d3bcbd15231c4 SHA1 0b25576dc61186f3037723eee4093ed5a2898161 SHA256 996f72531d78786d652dcd5960d39308b0d2803dda128fe6830c6c75e4fa3c67 +EBUILD libproxy-0.4.6.ebuild 2160 RMD160 f8ad6feafa297bb36ee8bf82e029d8cb772d0410 SHA1 83c55cb3efde7e8d1b95999e967db16e409ed614 SHA256 dfcda76428971ddcb89fa27b2ab86f885b2eabec01073160d740ceed46956bee +MISC ChangeLog 7233 RMD160 e226a1f4b5adc5de906df24783e182e22bcc1abb SHA1 18acc174929c5e148b38df9c1b5f65c73bb5ff11 SHA256 fd95caa80efafb447a72870782c6823f6aedaadeb926cc1c8e3886f505ab92f5 MISC metadata.xml 733 RMD160 877172f5073bdd58cf76bdb152503d6080027191 SHA1 1d5eb42d45cafddd1af934c3a7bcfea3bd4d9c1e SHA256 7c806aa9aee9a1b529b0353ed05898466be659ea3fde84007ff614e935742b34 diff --git a/net-libs/libproxy/libproxy-0.4.6-r1.ebuild b/net-libs/libproxy/libproxy-0.4.6-r1.ebuild new file mode 100644 index 000000000000..d1de5256461a --- /dev/null +++ b/net-libs/libproxy/libproxy-0.4.6-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/libproxy-0.4.6-r1.ebuild,v 1.1 2010/11/02 09:30:25 ssuominen Exp $ + +EAPI="2" +PYTHON_DEPEND="python? 2:2.5" + +inherit cmake-utils eutils multilib python portability + +DESCRIPTION="Library for automatic proxy configuration management" +HOMEPAGE="http://code.google.com/p/libproxy/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="gnome kde mono networkmanager perl python test vala webkit xulrunner" + +RDEPEND=" + gnome? ( gnome-base/gconf ) + kde? ( >=kde-base/kdelibs-4.3 ) + mono? ( dev-lang/mono ) + networkmanager? ( net-misc/networkmanager ) + perl? ( dev-lang/perl ) + vala? ( dev-lang/vala ) + webkit? ( net-libs/webkit-gtk ) + xulrunner? ( >=net-libs/xulrunner-1.9.1:1.9 )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.19" + +DOCS="AUTHORS NEWS README ChangeLog" + +PATCHES=( "${FILESDIR}"/${P}-mozjs-link_directory.patch ) + +pkg_setup() { + if use python; then + python_set_active_version 2 + fi +} + +src_configure() { + mycmakeargs=( + -DPERL_VENDORINSTALL=ON + -DCMAKE_C_FLAGS="${CFLAGS}" + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" + $(cmake-utils_use_with gnome GNOME) + $(cmake-utils_use_with kde KDE4) + $(cmake-utils_use_with mono DOTNET) + $(cmake-utils_use_with networkmanager NM) + $(cmake-utils_use_with perl PERL) + $(cmake-utils_use_with python PYTHON) + $(cmake-utils_use_with vala VALA) + $(cmake-utils_use_with webkit WEBKIT) + $(cmake-utils_use_with xulrunner MOZJS) + $(cmake-utils_use test BUILD_TESTING) + ) + cmake-utils_src_configure +} + +src_compile() { + # Prevent access violation when building with mono support + export MONO_SHARED_DIR="${T}/shared" + cmake-utils_src_compile +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/libproxy.so.0 +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libproxy.so.0 + + if use python; then + python_need_rebuild + python_mod_optimize $(python_get_sitedir)/${PN}.py + fi +} + +pkg_postrm() { + if use python; then + python_mod_cleanup $(python_get_sitedir)/${PN}.py + fi +} diff --git a/net-libs/libproxy/libproxy-0.4.6.ebuild b/net-libs/libproxy/libproxy-0.4.6.ebuild index e9fb2a3e811b..b0c90419dca8 100644 --- a/net-libs/libproxy/libproxy-0.4.6.ebuild +++ b/net-libs/libproxy/libproxy-0.4.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/libproxy-0.4.6.ebuild,v 1.2 2010/09/30 18:08:02 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/libproxy-0.4.6.ebuild,v 1.3 2010/11/02 09:30:25 ssuominen Exp $ EAPI="2" PYTHON_DEPEND="python? 2:2.5" @@ -14,7 +14,7 @@ SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="gnome kde mono networkmanager perl python test vala webkit xulrunner" +IUSE="gnome kde mono networkmanager perl python test webkit xulrunner" RDEPEND=" gnome? ( gnome-base/gconf ) @@ -22,7 +22,6 @@ RDEPEND=" mono? ( dev-lang/mono ) networkmanager? ( net-misc/networkmanager ) perl? ( dev-lang/perl ) - vala? ( dev-lang/vala ) webkit? ( net-libs/webkit-gtk ) xulrunner? ( >=net-libs/xulrunner-1.9.1:1.9 )" @@ -50,11 +49,12 @@ src_configure() { $(cmake-utils_use_with networkmanager NM) $(cmake-utils_use_with perl PERL) $(cmake-utils_use_with python PYTHON) - $(cmake-utils_use_with vala VALA) + -DWITH_VALA=OFF $(cmake-utils_use_with webkit WEBKIT) $(cmake-utils_use_with xulrunner MOZJS) $(cmake-utils_use test BUILD_TESTING) - ) + ) + cmake-utils_src_configure } -- cgit v1.2.3-65-gdbad