From 7a89bd46c8021ee02ae17e039a43337d807a13af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Thu, 20 Sep 2018 12:15:56 +0200 Subject: [PATCH] [net-im/swiften] rename, don't care about pkgmove tho --- net-im/swiften/swiften-9999.ebuild | 105 ----------------------------- 1 file changed, 105 deletions(-) delete mode 100644 net-im/swiften/swiften-9999.ebuild diff --git a/net-im/swiften/swiften-9999.ebuild b/net-im/swiften/swiften-9999.ebuild deleted file mode 100644 index 588609e..0000000 --- a/net-im/swiften/swiften-9999.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit scons-utils toolchain-funcs - -DESCRIPTION="A C++ library for implementing XMPP applications" -HOMEPAGE="https://www.swift.im/" - -if [[ ${PV} = "9999" ]] ; then - EGIT_REPO_URI="https://github.com/swift/swift.git" - EGIT_BRANCH="swift-4.x" - inherit git-r3 - KEYWORDS="" -else - RESTRICT="mirror" - SRC_URI="https://swift.im/downloads/releases/swift-${PV}/swift-${PV}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/swift-${PV}" -fi - -LICENSE="BSD BSD-1 CC-BY-3.0 GPL-3 OFL-1.1" -SLOT="0/4" -IUSE="debug expat icu idn sqlite upnp zeroconf" - -DEPEND="dev-libs/boost:= - dev-libs/openssl:0= - sys-libs/zlib:= - expat? ( dev-libs/expat ) - !expat? ( dev-libs/libxml2:2 ) - icu? ( dev-libs/icu:= ) - idn? ( net-dns/libidn ) - sqlite? ( dev-db/sqlite:3 ) - upnp? ( net-libs/libnatpmp - net-libs/miniupnpc:= ) - zeroconf? ( net-dns/avahi )" - -RDEPEND="${DEPEND}" - -DOCS=( "DEVELOPMENT.md" "README.md" "Swiften/ChangeLog.md" ) - -src_prepare() { - default - - # Remove '3rdParty', as the system libs should be used - # Remove 'Limber', 'Slimber' and 'Sluift', as we compile only libSwiften - rm -fr 3rdParty Limber Slimber Sluift || die -} - -src_configure() { - MYSCONS=( - ar="$(tc-getAR)" - allow_warnings="yes" - assertions="$(usex debug)" - build_examples="yes" - boost_bundled_enable="false" - boost_force_bundled="false" - cc="$(tc-getCC)" - ccache="no" - ccflags="${CFLAGS}" - coverage="$(usex debug)" - cxx="$(tc-getCXX)" - cxxflags="${CXXFLAGS}" - debug="$(usex debug)" - distcc="no" - experimental="$(usex sqlite)" - experimental_ft="$(usex upnp)" - hunspell_enable="false" - icu="$(usex icu)" - install_git_hooks="no" - libidn_bundled_enable="false" - libminiupnpc_force_bundled="false" - libnatpmp_force_bundled="false" - link="$(tc-getCXX)" - linkflags="${LDFLAGS}" - lua_force_bundled="false" - max_jobs="no" - optimize="no" - qt5="false" - swiften_dll="true" - swift_mobile="no" - target="native" - test="none" - try_avahi="$(usex zeroconf)" - try_expat="$(usex expat)" - try_gconf="false" - try_libidn="$(usex idn)" - try_libxml="$(usex expat no yes)" - tls_backend="openssl" - unbound="no" - valgrind="no" - zlib_bundled_enable="false" - Swiften - ) -} - -src_compile() { - escons V=1 "${MYSCONS[@]}" PROJECTS="Swiften" Swiften -} - -src_install() { - escons "${MYSCONS[@]}" SWIFTEN_INSTALLDIR="${ED%/}/usr" SWIFTEN_LIBDIR="${ED%/}/usr/$(get_libdir)" "${ED%/}/usr" Swiften - einstalldocs -}