mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-libs/loudmouth: Drop old
Package-Manager: Portage-2.3.41, Repoman-2.3.9
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST loudmouth-1.5.2.tar.gz 115940 BLAKE2B cf9134fb68e09c4f03e605227a42b9fc092d5f4f5524a39e044f6bd573e7b9a0e7ba1161cda2655cdc513a05673dfa3600d0548209230314a9455c7a912123b7 SHA512 54c3eb7ef99604d7e2d5560dc6e5be176a188e6a0d82ae6c2f488e30f06553039aa03d6f818cec25f354479a2624f60f2233d7e63b54f331e934d554de9bfc87
|
||||
DIST loudmouth-1.5.3.tar.gz 114676 BLAKE2B 7a73e4e65046608fc8ec571b5448ab8344a8aed554fee1ecf7badd2ca5ed382ddb27e6ba7bd5d0a76d978d3079415b307f1b4ca77da450003ae936191cdbd33e SHA512 afae8b4ad1e9e5558cffa8f6b9f25331b01cfa09ea0b3defb74cac7d39477744e6d9181d3adefe242038020759df43558de0e61305fbc8e12a3b293b82856bf7
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Lightweight C Jabber library"
|
||||
HOMEPAGE="https://github.com/mcabber/loudmouth"
|
||||
SRC_URI="https://github.com/mcabber/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
#SRC_URI="https://mcabber.com/files/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~ppc-macos"
|
||||
|
||||
IUSE="asyncns ssl openssl static-libs test"
|
||||
|
||||
# Automagic libidn dependency
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.16:2
|
||||
net-dns/libidn
|
||||
ssl? (
|
||||
!openssl? ( >=net-libs/gnutls-1.4.0 )
|
||||
openssl? ( dev-libs/openssl:0 )
|
||||
)
|
||||
asyncns? ( >=net-libs/libasyncns-0.3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/check )
|
||||
virtual/pkgconfig
|
||||
>=dev-util/gtk-doc-1
|
||||
>=dev-util/gtk-doc-am-1
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use ssl; then
|
||||
if ! use openssl; then
|
||||
myconf="${myconf} --with-ssl=gnutls"
|
||||
else
|
||||
myconf="${myconf} --with-ssl=openssl"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --with-ssl=no"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with asyncns) \
|
||||
${myconf}
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Lightweight C Jabber library"
|
||||
HOMEPAGE="https://github.com/mcabber/loudmouth"
|
||||
SRC_URI="https://github.com/mcabber/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
#SRC_URI="https://mcabber.com/files/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
|
||||
|
||||
IUSE="asyncns ssl openssl static-libs test"
|
||||
|
||||
# Automagic libidn dependency
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.16:2
|
||||
net-dns/libidn
|
||||
ssl? (
|
||||
!openssl? ( >=net-libs/gnutls-1.4.0 )
|
||||
openssl? ( dev-libs/openssl:0 )
|
||||
)
|
||||
asyncns? ( >=net-libs/libasyncns-0.3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/check )
|
||||
virtual/pkgconfig
|
||||
>=dev-util/gtk-doc-1
|
||||
>=dev-util/gtk-doc-am-1
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gcc7.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use ssl; then
|
||||
if ! use openssl; then
|
||||
myconf="${myconf} --with-ssl=gnutls"
|
||||
else
|
||||
myconf="${myconf} --with-ssl=openssl"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --with-ssl=no"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with asyncns) \
|
||||
${myconf}
|
||||
}
|
||||
@@ -1,10 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>wschlich@gentoo.org</email>
|
||||
<name>Wolfram Schlich</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<use>
|
||||
<flag name="asyncns">Use <pkg>net-libs/libasyncns</pkg> for asynchronous name resolution.</flag>
|
||||
<flag name="openssl">Enable <pkg>dev-libs/openssl</pkg> support instead of gnutls (which is the default).</flag>
|
||||
@@ -13,3 +10,4 @@
|
||||
<remote-id type="github">mcabber/loudmouth</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user