mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-dns/libidn: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,6 +1,2 @@
|
||||
DIST libidn-1.38.tar.gz 2681263 BLAKE2B 92059e87554338a3565ee4b517fa1ba7bd3e9d57d8be7d71aee377220f50b597e529469c6ddc7c9e7c25b9e83c76f652457256dd32249c3e1cd97df8867723a1 SHA512 5e59b2263fde44d1463b47b516347b17a4e3e3696ebba66ab5fe464d567e2ec81f769fa7cf72ed51cfb501e32221813bb375373713a47e2f599fc6122850e419
|
||||
DIST libidn-1.38.tar.gz.sig 488 BLAKE2B 3a5a5f3d79f2f01019d71e2b20b7daf264c71ed21ec922733c03ed42e0acd0bb6c2758ca7095b7fc52025d01c784eb539e53408ae663ac2bcdcc8e92ba11f342 SHA512 9caf0f9633f607861e94d6efe30383181db67e6fb437903b6c1ff1758363824afc1b01458f845d2bf11c8f2ec01708ba98da54a43a6e2429978caa0f41166ffe
|
||||
DIST libidn-1.40.tar.gz 2675320 BLAKE2B 04ebf5d751c6bc94ff228dceee5cb1ba173f571b23ea13d2066f5e93a24743f520f47692eaee3b52d8e049546a0527c8a88d373ac066deb2f258b2848117a021 SHA512 6588454c0a6153b76090057c0f3b97ef6cd78b3d7c84dd27cb9537556b7f6d2b4048485c3b82e33e9fb3c9b8d308c0899676ea92f92cf201a6454bd9af781f96
|
||||
DIST libidn-1.40.tar.gz.sig 228 BLAKE2B c62afa7e4f6a8cc408ddf44015d5b811b3eb11385963a74e40d68214b50d818ba9844fbc759cd97581d2b312d859149d792543a882c3ebe0b3e8d251d1d7cc86 SHA512 4fa8cb0da6fc4ced4575f5d6a98fcf273ace7a2f81e2c5eb699a1afb15cb282661bfc66cfc1181c7037011b1948ebadcd7e8ee6cea1c6b33a3ac35165744a904
|
||||
DIST libidn-1.41.tar.gz 2664011 BLAKE2B 6c632c2010f024792fd55d3c8e6f68e81152fa7421a4f65b6835d0dfd788707727381270c57bf46c6e252777e07ead501fdabdc55961c5c1604e81c53be5ab2b SHA512 765c42b64f10f0d84c0abecdce443baa9fdb80576179e3143bf56abde3f6c6149cc2c77e286e2e2a6ccf508914f30c2d5af258073168c0f886686e4fd85bbb47
|
||||
DIST libidn-1.41.tar.gz.sig 228 BLAKE2B 004aa8871afa7cbb45206d8ddcc7ade21ea165aae2b00fc0c1d22cf05079bb399c8df628dc43bc0eb93c82524b96c71ad694c38234fdc2a4df09dc5192ca57bb SHA512 5d1dca4493cf4af420ba326b867e50e618432ce2808dde60a5325e1c64a6408dcb09d9b104c64d34e2726b9903c06b112ffc040fb6bb3818ae4ddf1551228c1c
|
||||
|
||||
@@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libidn.asc
|
||||
inherit elisp-common java-pkg-opt-2 libtool mono-env multilib-minimal verify-sig
|
||||
|
||||
DESCRIPTION="Internationalized Domain Names (IDN) implementation"
|
||||
HOMEPAGE="https://www.gnu.org/software/libidn/"
|
||||
SRC_URI="mirror://gnu/libidn/${P}.tar.gz
|
||||
verify-sig? ( mirror://gnu/libidn/${P}.tar.gz.sig )"
|
||||
|
||||
LICENSE="GPL-2 GPL-3 LGPL-3 java? ( Apache-2.0 )"
|
||||
SLOT="0/12"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc emacs java mono nls"
|
||||
|
||||
DEPEND="mono? ( >=dev-lang/mono-0.95 )
|
||||
nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="java? ( >=virtual/jre-1.8:* )"
|
||||
BDEPEND="emacs? ( >=app-editors/emacs-23.1:* )
|
||||
java? ( >=virtual/jdk-1.8:* )
|
||||
nls? ( >=sys-devel/gettext-0.17 )
|
||||
verify-sig? ( sec-keys/openpgp-keys-libidn )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog FAQ NEWS README THANKS )
|
||||
|
||||
pkg_setup() {
|
||||
use mono && mono-env_pkg_setup
|
||||
|
||||
java-pkg-opt-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Bundled and with wrong bytecode
|
||||
rm "${S}/java/${P}.jar" || die
|
||||
|
||||
# For Solaris shared objects
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local -x GJDOC=javadoc
|
||||
|
||||
local args=(
|
||||
$(multilib_native_use_enable java)
|
||||
$(multilib_native_use_enable mono csharp mono)
|
||||
$(use_enable nls)
|
||||
--disable-static
|
||||
--disable-valgrind-tests
|
||||
--with-lispdir="${EPREFIX}${SITELISP}/${PN}"
|
||||
--with-packager-bug-reports="https://bugs.gentoo.org"
|
||||
--with-packager-version="r${PR}"
|
||||
--with-packager="Gentoo Linux"
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${args[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
use emacs && elisp-compile "${S}"/src/*.el
|
||||
use java && use doc && emake -C java/src/main/java javadoc
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# Only run libidn specific tests and not gnulib tests (bug #539356)
|
||||
emake -C tests check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use java; then
|
||||
java-pkg_newjar java/${P}.jar ${PN}.jar
|
||||
|
||||
rm -r "${ED}"/usr/share/java || die
|
||||
|
||||
use doc && java-pkg_dojavadoc "${S}"/doc/java
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use emacs; then
|
||||
# *.el are installed by the build system
|
||||
elisp-install ${PN} "${S}"/src/*.elc
|
||||
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
|
||||
else
|
||||
rm -r "${ED}"/usr/share/emacs || die
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
use doc && dodoc -r doc/reference/html
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libidn.asc
|
||||
inherit elisp-common libtool multilib-minimal verify-sig
|
||||
|
||||
DESCRIPTION="Internationalized Domain Names (IDN) implementation"
|
||||
HOMEPAGE="https://www.gnu.org/software/libidn/"
|
||||
SRC_URI="mirror://gnu/libidn/${P}.tar.gz
|
||||
verify-sig? ( mirror://gnu/libidn/${P}.tar.gz.sig )"
|
||||
|
||||
LICENSE="GPL-2 GPL-3 LGPL-3"
|
||||
SLOT="0/12"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="emacs nls"
|
||||
|
||||
DEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="emacs? ( >=app-editors/emacs-23.1:* )
|
||||
nls? ( >=sys-devel/gettext-0.17 )
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-libidn-20220621 )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog FAQ NEWS README THANKS )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# For Solaris shared objects
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# -fanalyzer substantially slows down the build and isn't useful for
|
||||
# us. It's useful for upstream as it's static analysis, but it's not
|
||||
# useful when just getting something built.
|
||||
export gl_cv_warn_c__fanalyzer=no
|
||||
|
||||
local args=(
|
||||
$(use_enable nls)
|
||||
--disable-doc
|
||||
--disable-gtk-doc
|
||||
--disable-gtk-doc-html
|
||||
--disable-gtk-doc-pdf
|
||||
--disable-csharp
|
||||
--disable-java
|
||||
--disable-valgrind-tests
|
||||
--with-lispdir="${EPREFIX}${SITELISP}/${PN}"
|
||||
--with-packager-bug-reports="https://bugs.gentoo.org"
|
||||
--with-packager-version="r${PR}"
|
||||
--with-packager="Gentoo Linux"
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${args[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
use emacs && elisp-compile "${S}"/src/*.el
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# Only run libidn specific tests and not gnulib tests (bug #539356)
|
||||
emake -C tests check
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use emacs; then
|
||||
# *.el are installed by the build system
|
||||
elisp-install ${PN} "${S}"/src/*.elc
|
||||
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
|
||||
else
|
||||
rm -r "${ED}"/usr/share/emacs || die
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
Reference in New Issue
Block a user