diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2019-05-04 13:45:33 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2019-05-04 13:46:23 -0700 |
commit | a3c3f002bafeeb657b26c04533abc9a0b907d22d (patch) | |
tree | 36b9f152e41e43fec4f2d76e928111f534745fb8 | |
parent | sys-apps/makedev: keyword ~riscv (diff) | |
parent | dev-libs/bglibs: bump version to 2.04 (diff) | |
download | gentoo-a3c3f002bafeeb657b26c04533abc9a0b907d22d.tar.gz gentoo-a3c3f002bafeeb657b26c04533abc9a0b907d22d.tar.bz2 gentoo-a3c3f002bafeeb657b26c04533abc9a0b907d22d.zip |
Merge remote-tracking branch 'github/pr/11890'
Fixes: https://bugs.gentoo.org/591300
Fixes: https://github.com/gentoo/gentoo/pull/11890
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | dev-libs/bglibs/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/bglibs/bglibs-2.04.ebuild | 72 | ||||
-rw-r--r-- | profiles/package.mask | 4 |
3 files changed, 77 insertions, 0 deletions
diff --git a/dev-libs/bglibs/Manifest b/dev-libs/bglibs/Manifest index 03dcb3cdc310..0400670f7c61 100644 --- a/dev-libs/bglibs/Manifest +++ b/dev-libs/bglibs/Manifest @@ -1,2 +1,3 @@ DIST bglibs-1.041.tar.gz 317199 BLAKE2B 808bfbc713aaf06c5eb828b4bf0f5b789969afaa078b68292f209d7612860d4a5de793ec8768c63908a48f98841d30a0b2bd9a40b45ce94cb0a539ebcb2cbdbb SHA512 63f1cbef024f528d13a23f84f11b014be2ee9a9c8c40f49f8a114a6b4407c1279860a049f3dd67cfa7306a5326bbb93bb57b134af05031ec3c00f5f49784f6bc DIST bglibs-1.106.tar.gz 481564 BLAKE2B 838bd29753b254efc90c8c2c2e4d4920de2e931f823d32393184156f76967ec1995f1e79d2879169dd509cddd298b2389a4ca0109b81245fc617575f3ccf7405 SHA512 c1ae4bb9978b09ffe01231738d1f249c2040a51c2a0bbc4b04389a7085a3885cca6483f1bfe65deca213d991273bb3b7b925ebde8b6e2cd9182d8a57cb9a49d8 +DIST bglibs-2.04.tar.gz 713673 BLAKE2B 9e1353b3221ef6a8cfb256ec8616d1e208777b20ecade3e6ae17faca6b42222e18aa601a948e6201139378bf6f8131a2b7a053d77b198176776d42a1af611186 SHA512 094268cad7d4bacf65c0dd3d42fde2e6bac34da0fd6193b1c8202c018e752b3ef80a86c38e687467fb3a4e97130126fe74ee4a86063e4b25ee291de573984a6f diff --git a/dev-libs/bglibs/bglibs-2.04.ebuild b/dev-libs/bglibs/bglibs-2.04.ebuild new file mode 100644 index 000000000000..7af2222a4d7f --- /dev/null +++ b/dev-libs/bglibs/bglibs-2.04.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Bruce Guenter's Libraries Collection" +HOMEPAGE="https://untroubled.org/bglibs/" +SRC_URI="https://untroubled.org/bglibs/archive/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +RDEPEND="" +DEPEND="" +BDEPEND="doc? ( + app-doc/doxygen + dev-tex/xcolor + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + virtual/latex-base + ) +" + +src_prepare() { + default + # disable tests as we want them manually + sed -i '/^all:/s|selftests||' "${S}"/Makefile || die + sed -i '/selftests/d' "${S}"/TARGETS || die +} + +src_configure() { + echo "${ED}/usr/bin" > conf-bin || die + echo "${ED}/usr/$(get_libdir)/bglibs" > conf-lib || die + echo "${ED}/usr/include" > conf-include || die + echo "${ED}/usr/share/man" > conf-man || die + echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die +} + +src_compile() { + default + if use doc; then + emake -C doc/latex pdf + fi +} + +src_test() { + einfo "Running selftests" + emake selftests +} + +src_install() { + default + + # Install .so into LDPATH + mv "${ED}"/usr/$(get_libdir)/bglibs/libbg.so.2.0.0 "${ED}"/usr/$(get_libdir)/ || die + dosym libbg.so.2.0.0 /usr/$(get_libdir)/libbg.so.2 + dosym libbg.so.2.0.0 /usr/$(get_libdir)/libbg.so + dosym ../libbg.so.2.0.0 /usr/$(get_libdir)/bglibs/libbg.so.2.0.0 + + rm "${ED}"/usr/$(get_libdir)/bglibs/libbg.la || die + + dodoc ANNOUNCEMENT NEWS README ChangeLog TODO VERSION + dodoc -r doc/html/ + if use doc; then + dodoc doc/latex/refman.pdf + fi +} diff --git a/profiles/package.mask b/profiles/package.mask index 7ac707e7f30b..0c9fcbfd370a 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -29,6 +29,10 @@ #--- END OF EXAMPLES --- +# Stefan Strogin <stefan.strogin@gmail.com> (04 May 2019) +# Masked for testing reverse dependencies. Bug #591300. +>=dev-libs/bglibs-2.04 + # Michał Górny <mgorny@gentoo.org> (02 May 2019) # Discontinued upstream, and no longer required by any packages # in Gentoo. Removal in 30 days. Bug #684828. |