diff --git a/dev-libs/imsg-compat/Manifest b/dev-libs/imsg-compat/Manifest index c63e686c88..47a508de26 100644 --- a/dev-libs/imsg-compat/Manifest +++ b/dev-libs/imsg-compat/Manifest @@ -1 +1,2 @@ DIST imsg-compat-6.8.2.tar.gz 11672 BLAKE2B 6020ef6c2b5e025a6bc16b1618c343702b066948d913aaa4c98dc4474b9e25564b32313367724b1389d851dc43a73e450235d24414d84c5f1371c2540ca63961 SHA512 596d6ce353cecf957d6e680a3d7f3335b40fa7ea738e2f771a4a06878da29d56c1cddf5c8c7d05ac615afe56eab159bf33811a0cf35fbe0d07883a6c91047069 +DIST imsg-compat-8.0.0.tar.gz 16474 BLAKE2B 74c9bff1910e2f5bc3a0e2dc8dfa1f2ab87088282ab6c45d23365f6042326cd9b66721b622abb81d37ad7946811d25b8c9002fcfabbc21bf79f38ae1733cf0dc SHA512 532742d16c817fded6299d0baccaf779cc0d989280d471df92ddf4340215b91a709fb231a2a1b553eb5f950f15e73d87031634270f19635d6f274dc7246adda9 diff --git a/dev-libs/imsg-compat/imsg-compat-8.0.0.ebuild b/dev-libs/imsg-compat/imsg-compat-8.0.0.ebuild new file mode 100644 index 0000000000..d777d85463 --- /dev/null +++ b/dev-libs/imsg-compat/imsg-compat-8.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="linux port of OpenBSD imsg" + +HOMEPAGE="https://man.openbsd.org/imsg_init.3 + https://github.com/bsd-ac/imsg-compat +" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bsd-ac/imsg-compat.git" +else + SRC_URI="https://github.com/bsd-ac/imsg-compat/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" diff --git a/dev-libs/imsg-compat/imsg-compat-9999.ebuild b/dev-libs/imsg-compat/imsg-compat-9999.ebuild index 09651f485f..d777d85463 100644 --- a/dev-libs/imsg-compat/imsg-compat-9999.ebuild +++ b/dev-libs/imsg-compat/imsg-compat-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit toolchain-funcs +inherit meson DESCRIPTION="linux port of OpenBSD imsg" @@ -21,21 +21,5 @@ fi LICENSE="ISC" SLOT="0" -IUSE="static-libs test" +IUSE="test" RESTRICT="!test? ( test )" - -src_prepare() { - default - sed "s/@LIBDIR@/$(get_libdir)/" -i libimsg.pc.in || die -} - -src_configure() { - tc-export CC AR -} - -src_install() { - emake DESTDIR="${D}" PREFIX="${EPREIFX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install - if ! use static-libs ; then - find "${ED}"/usr/$(get_libdir) -name "*.a" -delete || die - fi -}