diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-07 19:24:41 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-07 19:24:41 +0000 |
| commit | b9b81e3e56a32ff541854601c9d1076533f0a1cf (patch) | |
| tree | 035dc1e4ea15544c9aa9103d3e837c99687feb91 | |
| parent | e6b606d3a4611bac95e48273005bed6452f1b9a9 (diff) | |
| download | baldeagleos-repo-b9b81e3e56a32ff541854601c9d1076533f0a1cf.tar.gz baldeagleos-repo-b9b81e3e56a32ff541854601c9d1076533f0a1cf.tar.xz baldeagleos-repo-b9b81e3e56a32ff541854601c9d1076533f0a1cf.zip | |
Updating liguros repo
23 files changed, 434 insertions, 188 deletions
diff --git a/app-i18n/fcitx/fcitx-4.2.9.8.ebuild b/app-i18n/fcitx/fcitx-4.2.9.8.ebuild index d08d80a13212..b2c346af0251 100644 --- a/app-i18n/fcitx/fcitx-4.2.9.8.ebuild +++ b/app-i18n/fcitx/fcitx-4.2.9.8.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="7" +LUA_COMPAT=(lua{5-1,5-2,5-3,5-4}) -inherit cmake gnome2-utils xdg-utils +inherit cmake gnome2-utils lua-single xdg-utils if [[ "${PV}" =~ (^|\.)9999$ ]]; then inherit git-r3 @@ -28,7 +29,9 @@ LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT" SLOT="4" KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86" IUSE="+X +autostart +cairo debug +enchant gtk2 +gtk3 +introspection lua nls opencc +pango +table test +xkb" -REQUIRED_USE="cairo? ( X ) pango? ( cairo )" +REQUIRED_USE="cairo? ( X ) + lua? ( ${LUA_REQUIRED_USE} ) + pango? ( cairo )" RESTRICT="!test? ( test )" BDEPEND="dev-util/glib-utils @@ -62,7 +65,7 @@ DEPEND="dev-libs/glib:2 enchant? ( app-text/enchant:= ) gtk2? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) - lua? ( dev-lang/lua:0= ) + lua? ( ${LUA_DEPS} ) nls? ( sys-devel/gettext ) opencc? ( app-i18n/opencc:0= ) xkb? ( @@ -78,6 +81,12 @@ PATCHES=( DOCS=(AUTHORS ChangeLog THANKS) +pkg_setup() { + if use lua; then + lua-single_pkg_setup + fi +} + src_prepare() { if [[ "${PV}" =~ (^|\.)9999$ ]]; then ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die @@ -114,6 +123,11 @@ src_configure() { -DENABLE_XDGAUTOSTART=$(usex autostart ON OFF) -DENABLE_XKB=$(usex xkb ON OFF) ) + if use lua; then + mycmakeargs+=( + -DLUA_MODULE_NAME=lua + ) + fi cmake_src_configure } diff --git a/app-i18n/fcitx/fcitx-4.9999.ebuild b/app-i18n/fcitx/fcitx-4.9999.ebuild index 14ddb1d72205..76f6bdd6c634 100644 --- a/app-i18n/fcitx/fcitx-4.9999.ebuild +++ b/app-i18n/fcitx/fcitx-4.9999.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="7" +LUA_COMPAT=(lua{5-1,5-2,5-3,5-4}) -inherit cmake gnome2-utils xdg-utils +inherit cmake gnome2-utils lua-single xdg-utils if [[ "${PV}" =~ (^|\.)9999$ ]]; then inherit git-r3 @@ -28,7 +29,9 @@ LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT" SLOT="4" KEYWORDS="" IUSE="+X +autostart +cairo debug +enchant gtk2 +gtk3 +introspection lua nls opencc +pango +table test +xkb" -REQUIRED_USE="cairo? ( X ) pango? ( cairo )" +REQUIRED_USE="cairo? ( X ) + lua? ( ${LUA_REQUIRED_USE} ) + pango? ( cairo )" RESTRICT="!test? ( test )" BDEPEND="dev-util/glib-utils @@ -62,7 +65,7 @@ DEPEND="dev-libs/glib:2 enchant? ( app-text/enchant:= ) gtk2? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) - lua? ( dev-lang/lua:0= ) + lua? ( ${LUA_DEPS} ) nls? ( sys-devel/gettext ) opencc? ( app-i18n/opencc:0= ) xkb? ( @@ -72,12 +75,17 @@ DEPEND="dev-libs/glib:2 RDEPEND="${DEPEND}" PATCHES=( - "${FILESDIR}/${PN}-4.2.9.8-enchant.patch" "${FILESDIR}/${PN}-4.2.9.8-xkb.patch" ) DOCS=(AUTHORS ChangeLog THANKS) +pkg_setup() { + if use lua; then + lua-single_pkg_setup + fi +} + src_prepare() { if [[ "${PV}" =~ (^|\.)9999$ ]]; then ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die @@ -114,6 +122,11 @@ src_configure() { -DENABLE_XDGAUTOSTART=$(usex autostart ON OFF) -DENABLE_XKB=$(usex xkb ON OFF) ) + if use lua; then + mycmakeargs+=( + -DLUA_MODULE_NAME=lua + ) + fi cmake_src_configure } diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.92-r1.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.92-r1.ebuild index 8e9f4afe34d6..f9ceae0b592e 100644 --- a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.92-r1.ebuild +++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.11.92-r1.ebuild @@ -2,21 +2,21 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="7" - +LUA_COMPAT=(lua{5-1,5-2,5-3}) PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit autotools gnome2-utils python-single-r1 +inherit autotools gnome2-utils lua-single python-single-r1 DESCRIPTION="Intelligent Pinyin and Bopomofo input methods based on LibPinyin for IBus" HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin https://sourceforge.net/projects/libpinyin/" -SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz -" +SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="boost lua opencc" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + lua? ( ${LUA_REQUIRED_USE} )" BDEPEND="dev-db/sqlite:3 virtual/pkgconfig" @@ -31,11 +31,19 @@ DEPEND="${PYTHON_DEPS} dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] ') boost? ( dev-libs/boost:= ) - lua? ( dev-lang/lua:0 ) + lua? ( ${LUA_DEPS} ) opencc? ( app-i18n/opencc:= )" RDEPEND="${DEPEND}" +pkg_setup() { + python-single-r1_pkg_setup + + if use lua; then + lua-single_pkg_setup + fi +} + src_prepare() { sed -i \ -e "/^appdatadir/s:/appdata:/metainfo:" \ diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r4.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r4.ebuild index 4424f42cbd6a..5b4df9406818 100644 --- a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r4.ebuild +++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r4.ebuild @@ -1,20 +1,22 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 2008-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +LUA_COMPAT=(lua5-1) PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit autotools python-single-r1 +inherit autotools lua-single python-single-r1 DESCRIPTION="Chinese Pinyin and Bopomofo engines for IBus" -HOMEPAGE="https://github.com/ibus/ibus/wiki" +HOMEPAGE="https://github.com/ibus/ibus-pinyin" SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ibus/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="boost lua nls" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + lua? ( ${LUA_REQUIRED_USE} )" RDEPEND="${PYTHON_DEPS} app-i18n/pyzy @@ -24,7 +26,7 @@ RDEPEND="${PYTHON_DEPS} dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] ') boost? ( dev-libs/boost ) - lua? ( =dev-lang/lua-5.1*:0= ) + lua? ( ${LUA_DEPS} ) nls? ( virtual/libintl )" DEPEND="${RDEPEND} dev-util/intltool @@ -38,6 +40,14 @@ PATCHES=( "${FILESDIR}"/${P}-python3.patch ) +pkg_setup() { + python-single-r1_pkg_setup + + if use lua; then + lua-single_pkg_setup + fi +} + src_prepare() { default eautoreconf diff --git a/app-portage/overlint/overlint-0.5.3-r1.ebuild b/app-portage/overlint/overlint-0.5.3-r1.ebuild deleted file mode 100644 index a8de48410f0d..000000000000 --- a/app-portage/overlint/overlint-0.5.3-r1.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Simple tool for static analysis of overlays" -HOMEPAGE="https://cgit.gentoo.org/proj/overlint.git" -SRC_URI="http://www.hartwork.org/public/${P}.tar.gz" - -LICENSE="|| ( GPL-2 GPL-3 )" -SLOT="0" -KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" diff --git a/dev-go/go-bindata/Manifest b/dev-go/go-bindata/Manifest index e89354dd767c..bab3f4c9d656 100644 --- a/dev-go/go-bindata/Manifest +++ b/dev-go/go-bindata/Manifest @@ -1 +1 @@ -DIST go-bindata-3.1.3.tar.gz 21280 BLAKE2B cf54b50113006f02eeab47312fcf1eaa1e4b820847ee9c579318a5aac0b720648f73cbf3d2d41e120ea79b65dc3dcfa32accaff16ed4610bcf9a9dd317e9d819 SHA512 870f939cfb07b43c54000d39fa37e8151ca5c20d13eac9bde59e7ec3e2693d8386a1ea4b5372171dac42f8a4f69a754445cb9a4fa51a7a7ba9ec54f3e8a2a2f6 +DIST go-bindata-3.21.0.tar.gz 15615959 BLAKE2B b635869202025992a7f92645de7aa96fadd18f5c99d5e312a1e645712940d05342e192401eb5aec04aac72c50b17d1fe370ef317356d47a40141cec3dc8f01a7 SHA512 004b9f0389d26f82d1419e8e8ad249d33583e85c4b4aaa4e36215bd5289a24146a237bcb55b9d51ff29c1b01ebd822ff60dcf205cb73d34f810e6838df172265 diff --git a/dev-go/go-bindata/go-bindata-3.1.3.ebuild b/dev-go/go-bindata/go-bindata-3.1.3.ebuild deleted file mode 100644 index 10d5d8179d7e..000000000000 --- a/dev-go/go-bindata/go-bindata-3.1.3.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2020 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 -inherit golang-build golang-vcs-snapshot - -EGO_PN="github.com/go-bindata/go-bindata/..." -KEYWORDS="amd64 ~arm ~arm64" - -DESCRIPTION="A small utility which generates Go code from any file" -HOMEPAGE="https://github.com/go-bindata/go-bindata" -SRC_URI="https://github.com/go-bindata/go-bindata/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="CC-PD" -SLOT="0/${PVR}" - -src_install() { - GOBIN=${S}/bin \ - golang-build_src_install - dobin bin/* -} diff --git a/dev-go/go-bindata/go-bindata-3.21.0.ebuild b/dev-go/go-bindata/go-bindata-3.21.0.ebuild new file mode 100644 index 000000000000..02d914964278 --- /dev/null +++ b/dev-go/go-bindata/go-bindata-3.21.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Go Overlay Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# NOTE: The original github.com/jteeuwen/go-bindata is no more maintained. +# Instead, we use a fork which is API compatible. +# For more details, see https://github.com/Dr-Terrible/go-overlay/issues/76 +GOLANG_PKG_IMPORTPATH="github.com/kevinburke" +GOLANG_PKG_ARCHIVEPREFIX="v" +GOLANG_PKG_IS_MULTIPLE=1 +GOLANG_PKG_HAVE_TEST=1 + +inherit golang-single + +DESCRIPTION="A small utility for embedding binary data in a GoLang program." + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" diff --git a/dev-go/go-bindata/metadata.xml b/dev-go/go-bindata/metadata.xml index 8c1d74d431e9..0afda6620771 100644 --- a/dev-go/go-bindata/metadata.xml +++ b/dev-go/go-bindata/metadata.xml @@ -1,12 +1,18 @@ -<?xml version='1.0' encoding='UTF-8'?> +<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> - </maintainer> + <maintainer type="person"> + <email>toffanin.mauro@gmail.com</email> + <name>Mauro Toffanin</name> + <description>Maintainer. Assign bugs to him</description> + </maintainer> <upstream> - <remote-id type="github">jteeuwen/go-bindata</remote-id> + <bugs-to>https://github.com/jteeuwen/go-bindata/issues</bugs-to> </upstream> - <origin>ports</origin> + <longdescription lang="en"> + This package converts any file into managable Go source code. Useful for + embedding binary data into a go program. The file data is optionally + gzip compressed before being converted to a raw byte slice. + </longdescription> + <origin>go-overlay</origin> </pkgmetadata> diff --git a/dev-lang/luajit/luajit-2.0.5-r2.ebuild b/dev-lang/luajit/luajit-2.0.5-r2.ebuild index 457e2c9bed44..2ee236c9d5d2 100644 --- a/dev-lang/luajit/luajit-2.0.5-r2.ebuild +++ b/dev-lang/luajit/luajit-2.0.5-r2.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit pax-utils toolchain-funcs versionator +inherit pax-utils toolchain-funcs -MY_PV="$(get_version_component_range 1-3)" +MY_PV="$(ver_cut 1-3)" MY_P="LuaJIT-${MY_PV}" -if [[ -n $(get_version_component_range 4) ]]; then +if [[ -n $(ver_cut 4) ]]; then HOTFIX="v${PV}" HOTFIX="${HOTFIX/_p/_hotfix}.patch" fi diff --git a/dev-lang/luajit/luajit-2.1.0_beta3-r1.ebuild b/dev-lang/luajit/luajit-2.1.0_beta3-r1.ebuild index 1ae11fe91a72..87baa475ebd4 100644 --- a/dev-lang/luajit/luajit-2.1.0_beta3-r1.ebuild +++ b/dev-lang/luajit/luajit-2.1.0_beta3-r1.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit pax-utils toolchain-funcs versionator +inherit pax-utils toolchain-funcs -MY_PV="$(get_version_component_range 1-4)" +MY_PV="$(ver_cut 1-4)" MY_PV="${MY_PV/_beta/-beta}" MY_P="LuaJIT-${MY_PV}" diff --git a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild index f6af1f7734f9..a12d45e45ebc 100644 --- a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild +++ b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild @@ -21,6 +21,11 @@ DOCS=( CHANGELOG.md ) +src_prepare() { + sed -r -e 's:-Werror[[:space:]]*::' -i CMakeLists.txt || die + cmake_src_prepare +} + src_configure() { local -a mycmakeopts=( -DCXXOPTS_BUILD_EXAMPLES=OFF diff --git a/dev-libs/simdjson/simdjson-0.7.0-r3.ebuild b/dev-libs/simdjson/simdjson-0.7.0-r3.ebuild index 9a29c8f04503..ed7b3f9d6f58 100644 --- a/dev-libs/simdjson/simdjson-0.7.0-r3.ebuild +++ b/dev-libs/simdjson/simdjson-0.7.0-r3.ebuild @@ -39,11 +39,19 @@ src_prepare() { } src_configure() { - local mycmakeargs=( - $(usex tools '' '-DSIMDJSON_JUST_LIBRARY=ON') - -DSIMDJSON_GOOGLE_BENCHMARKS=OFF - -DSIMDJSON_COMPETITION=OFF - ) + local -a mycmakeargs + + if use tools; then + mycmakeargs+=( + -DSIMDJSON_JUST_LIBRARY=OFF + -DSIMDJSON_GOOGLE_BENCHMARKS=OFF + -DSIMDJSON_COMPETITION=OFF + ) + else + mycmakeargs+=( + -DSIMDJSON_JUST_LIBRARY=ON + ) + fi cmake_src_configure } diff --git a/dev-util/gtk-doc/gtk-doc-1.33.1-r1.ebuild b/dev-util/gtk-doc/gtk-doc-1.33.1-r2.ebuild index 42d323ec5cd4..5ccaa72f6274 100644 --- a/dev-util/gtk-doc/gtk-doc-1.33.1-r1.ebuild +++ b/dev-util/gtk-doc/gtk-doc-1.33.1-r2.ebuild @@ -67,7 +67,6 @@ src_configure() { local emesonargs=( $(meson_use test tests) $(meson_use doc yelp_manual) - -Dautotools_support=false ) meson_src_configure } @@ -85,6 +84,10 @@ src_install() { sed -i -e 's:^#!.*:#!/usr/bin/env python3:' "${ED}"/usr/bin/* || die python_fix_shebang "${ED}"/usr/bin/* + # Don't install this file, it's in gtk-doc-am now + rm "${ED}"/usr/share/aclocal/gtk-doc.m4 || die "failed to remove gtk-doc.m4" + rmdir "${ED}"/usr/share/aclocal || die + if use emacs; then elisp-install ${PN} tools/gtk-doc.el* elisp-site-file-install "${FILESDIR}/${SITEFILE}" diff --git a/media-libs/raspberrypi-userland/Manifest b/media-libs/raspberrypi-userland/Manifest index 29025c84702d..14ea7065276c 100644 --- a/media-libs/raspberrypi-userland/Manifest +++ b/media-libs/raspberrypi-userland/Manifest @@ -1,2 +1 @@ -DIST raspberrypi-userland-0_pre20160424.tar.gz 32933952 BLAKE2B 4a2d40200a6a4d673be277a0958f768342a2777c28b14b4c7fcac1dbc9c59f2ef2485234f11fbd228aea6bbcf4982a3fd1d4825268af60be91665ea6fee6922d SHA512 04a71837b1247ecbbe479b3b09b5705638a9e576dc99a1ab2200727509195a4a2f2a9b184e3c23ce3933a3236b260afc8bd2b75bc218567b386445bdd8208a5b DIST raspberrypi-userland-0_pre20201022.tar.gz 32958590 BLAKE2B 01733a24822d80c5bf9aa3e0feefc3e9437390a465d7a4184d0a9c6a68446e91515d3d6d398ff516d9fd1bdcd4a885512d358a4ed1d24d9b94bdc72d81db84d3 SHA512 1813224068b8a8e569c874a8ffb354f1ac86e95b482caaad18b9703a187baaea60f1f87dfbb0c7e4b3cb2eb875abbcc82aedba410646a3c1df0208bd73aaf9f9 diff --git a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild deleted file mode 100644 index ddbbd294d3a3..000000000000 --- a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20160424.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit cmake-utils - -DESCRIPTION="Raspberry Pi userspace tools and libraries" -HOMEPAGE="https://github.com/raspberrypi/userland" - -if [[ ${PV} == 9999* ]]; then - inherit git-2 - EGIT_REPO_URI="https://github.com/${PN/-//}.git" - SRC_URI="" -else - GIT_COMMIT="dff5760" - SRC_URI="https://github.com/raspberrypi/userland/tarball/${GIT_COMMIT} -> ${P}.tar.gz" - KEYWORDS="arm" - S="${WORKDIR}/raspberrypi-userland-${GIT_COMMIT}" -fi - -RDEPEND=" - !media-libs/raspberrypi-userland-bin - wayland? ( dev-libs/wayland )" - -DEPEND=" - ${RDEPEND} - wayland? ( virtual/pkgconfig )" - -IUSE="examples wayland" -LICENSE="BSD" -SLOT="0" - -# TODO: -# * port vcfiled init script -# * stuff is still installed to hardcoded /opt/vc location, investigate whether -# anything else depends on it being there -# * live ebuild - -src_unpack() { - if [[ ${PV} == 9999* ]]; then - git-2_src_unpack - else - default - fi -} - -src_prepare() { - # init script for Debian, not useful on Gentoo - sed -i "/DESTINATION \/etc\/init.d/,+2d" interface/vmcs_host/linux/vcfiled/CMakeLists.txt || die - - # wayland egl support - epatch "${FILESDIR}"/next-resource-handle.patch -} - -src_install() { - cmake-utils_src_install - - # provide OpenGL ES v1 according to https://github.com/raspberrypi/firmware/issues/78 - dosym libGLESv2.so /opt/vc/lib/libGLESv1_CM.so - - doenvd "${FILESDIR}"/04${PN} - - insinto /lib/udev/rules.d - doins "${FILESDIR}"/92-local-vchiq-permissions.rules - - # enable dynamic switching of the GL implementation - dodir /usr/lib/opengl - dosym ../../../opt/vc /usr/lib/opengl/${PN} - - # tell eselect opengl that we do not have libGL - touch "${ED}"/opt/vc/.gles-only || die - - insinto /opt/vc/lib/pkgconfig - doins "${FILESDIR}"/bcm_host.pc - doins "${FILESDIR}"/egl.pc - doins "${FILESDIR}"/glesv2.pc - if use wayland; then - # Missing wayland-egl version from the patch; claim 9.0 (a mesa version) for now, so gst-plugins-bad wayland-egl check is happy - sed -i -e 's/Version: /Version: 9.0/' "${ED}/opt/vc/lib/pkgconfig/wayland-egl.pc" || die - doins "${ED}"/opt/vc/lib/pkgconfig/wayland-egl.pc # Maybe move? - fi - - # some #include instructions are wrong so we need to fix them - einfo "Fixing #include \"vcos_platform_types.h\"" - for file in $(grep -l "#include \"vcos_platform_types.h\"" "${D}"/opt/vc/include/* -r); do - einfo " Fixing file ${file}" - sed -i "s%#include \"vcos_platform_types.h\"%#include \"interface/vcos/pthreads/vcos_platform_types.h\"%g" ${file} || die - done - - einfo "Fixing #include \"vcos_platform.h\"" - for file in $(grep -l "#include \"vcos_platform.h\"" "${D}"/opt/vc/include/* -r); do - einfo " Fixing file ${file}" - sed -i "s%#include \"vcos_platform.h\"%#include \"interface/vcos/pthreads/vcos_platform.h\"%g" ${file} || die - done - - einfo "Fixing #include \"vchost_config.h\"" - for file in $(grep -l "#include \"vchost_config.h\"" "${D}"/opt/vc/include/* -r); do - einfo " Fixing file ${file}" - sed -i "s%#include \"vchost_config.h\"%#include \"interface/vmcs_host/linux/vchost_config.h\"%g" ${file} || die - done - - if use examples; then - dodir /usr/share/doc/${PF}/examples - mv "${D}"/opt/vc/src/hello_pi "${D}"/usr/share/doc/${PF}/examples/ || die - fi - - rm -rfv "${D}"/opt/vc/src || die -} diff --git a/net-firewall/xtables-addons/Manifest b/net-firewall/xtables-addons/Manifest index 0021a7e2232a..23f90d2c2990 100644 --- a/net-firewall/xtables-addons/Manifest +++ b/net-firewall/xtables-addons/Manifest @@ -2,3 +2,4 @@ DIST xtables-addons-2.13.tar.xz 322116 BLAKE2B 31d12adcfdf2043b44b5789f3ba321519 DIST xtables-addons-3.7.tar.xz 325124 BLAKE2B e7f0bff03f0b77b55cd578c5a77ab4a306fa5a5cfd3b7e5b801b60d4ccc2c5a476fee2b04f4cb8db4b3ab34c7dab353ec13cba1fe98a714cfbb2e89e3110841d SHA512 336f19596251507a88d7c399f9a3e6f517e4b72787ff7e7108e20e42e68932bca0eed79c54ddfa92112daae73a94a7349a874bcf993bd4abea1d875d7f2b8565 DIST xtables-addons-3.8.tar.xz 324468 BLAKE2B e460e0dc7fcd7037610b44132628b3c39c81477c2e1ef345d939f1c4d5981517789f240d1d2233c6a8e962e326ff9a25c5e66dcf829fb23db66dc8cd78b076d6 SHA512 2e0594ee0e654a19e6bae4f7acb7efd142957418ed44ce92ecd7474bb2f0bfd8dad684be937e8f6ed28395f9d7a6dbea61e7c3259d7b89c05ab10bcad3c04264 DIST xtables-addons-3.9.tar.xz 324380 BLAKE2B d78afec65647c9b83b16e591b3cf6827748d70c02b381c30ee1751aadca6397fcbbe4e7f8e1e9199ae93b07e37ae333358e677b89d2b2c62adeb01e345ce2a33 SHA512 ec7d2ec97c433eb94b893aedfd346393986ef140d7ff95cd8be070cfa397efd87df7d73d36359b81c80618eb8575282a1ea8624c3bf182ddd60d8975f58579b5 +DIST xtables-addons-3.13.tar.xz 327104 BLAKE2B 110719a7425060a79df0643ea35cf28ac62af811dde0f6744cf75b632809ff02518366e12ecdf8b017648b85843e689735629fc099b23b21b1999afa3a2e5c69 SHA512 0a9874269dafefe2fc364b41d3f5fb2108ba83dc49457f3aa436b814c8c65fb00f48f664576c8ccf183939edffa854fcf9f9c82a801ac90c0e2b9dc1426e1d85 diff --git a/net-firewall/xtables-addons/xtables-addons-3.13.ebuild b/net-firewall/xtables-addons/xtables-addons-3.13.ebuild new file mode 100644 index 000000000000..f2a10115b004 --- /dev/null +++ b/net-firewall/xtables-addons/xtables-addons-3.13.ebuild @@ -0,0 +1,189 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MODULES_OPTIONAL_USE=modules +MODULES_OPTIONAL_USE_IUSE_DEFAULT=1 +inherit eutils linux-info linux-mod multilib toolchain-funcs + +DESCRIPTION="iptables extensions not yet accepted in the main kernel" +HOMEPAGE="https://inai.de/projects/xtables-addons/" +SRC_URI="https://inai.de/files/xtables-addons/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULES="quota2 psd pknock lscan length2 ipv4options ipp2p iface gradm geoip fuzzy condition tarpit sysrq logmark ipmark echo dnetmap dhcpmac delude chaos account" + +for mod in ${MODULES}; do + IUSE="${IUSE} xtables_addons_${mod}" +done + +DEPEND=">=net-firewall/iptables-1.6.0" + +RDEPEND="${DEPEND} + xtables_addons_geoip? ( + app-arch/unzip + dev-perl/Net-CIDR-Lite + dev-perl/Text-CSV_XS + virtual/perl-Getopt-Long + ) +" + +DEPEND="${DEPEND} + virtual/linux-sources" + +SKIP_MODULES="" + +XA_check4internal_module() { + local mod=${1} + local version=${3} + local kconfigname=${3} + + if use xtables_addons_${mod} && kernel_is -gt ${version}; then + ewarn "${kconfigname} should be provided by the kernel. Skipping its build..." + if ! linux_chkconfig_present ${kconfigname}; then + ewarn "Please enable ${kconfigname} target in your kernel + configuration or disable checksum module in ${PN}." + fi + # SKIP_MODULES in case we need to disable building of everything + # like having this USE disabled + SKIP_MODULES+=" ${mod}" + fi +} + +pkg_setup() { + if use modules; then + get_version + check_modules_supported + CONFIG_CHECK="NF_CONNTRACK NF_CONNTRACK_MARK ~CONNECTOR" + ERROR_CONNECTOR="Please, enable CONFIG_CONNECTOR if you wish to receive userspace notifications from pknock through netlink/connector" + linux-mod_pkg_setup + + if ! linux_chkconfig_present IPV6; then + SKIP_IPV6_MODULES="ip6table_rawpost" + ewarn "No IPV6 support in kernel. Disabling: ${SKIP_IPV6_MODULES}" + fi + kernel_is -lt 4 18 && die "${P} requires kernel version >= 4.18" + fi +} + +# Helper for maintainer: cheks if all possible MODULES are listed. +XA_qa_check() { + local all_modules + all_modules=$(sed -n '/^build_/{s/build_\(.*\)=.*/\L\1/;G;s/\n/ /;s/ $//;h}; ${x;p}' "${S}/mconfig") + if [[ ${all_modules} != ${MODULES} ]]; then + ewarn "QA: Modules in mconfig differ from \$MODULES in ebuild." + ewarn "Please, update MODULES in ebuild." + ewarn "'${all_modules}'" + fi +} + +# Is there any use flag set? +XA_has_something_to_build() { + local mod + for mod in ${MODULES}; do + use xtables_addons_${mod} && return + done + + eerror "All modules are disabled. What do you want me to build?" + eerror "Please, set XTABLES_ADDONS to any combination of" + eerror "${MODULES}" + die "All modules are disabled." +} + +# Parse Kbuid files and generates list of sources +XA_get_module_name() { + [[ $# != 1 ]] && die "XA_get_sources_for_mod: needs exactly one argument." + local mod objdir build_mod sources_list + mod=${1} + objdir=${S}/extensions + # Take modules name from mconfig + build_mod=$(sed -n "s/\(build_${mod}\)=.*/\1/Ip" "${S}/mconfig") + # strip .o, = and everything before = and print + sources_list=$(sed -n "/^obj-[$][{]${build_mod}[}]/\ + {s:obj-[^+]\+ [+]=[[:space:]]*::;s:[.]o::g;p}" \ + "${objdir}/Kbuild") + + if [[ -d ${S}/extensions/${sources_list} ]]; then + objdir=${S}/extensions/${sources_list} + sources_list=$(sed -n "/^obj-m/\ + {s:obj-[^+]\+ [+]=[[:space:]]*::;s:[.]o::g;p}" \ + "${objdir}/Kbuild") + fi + for mod_src in ${sources_list}; do + has ${mod_src} ${SKIP_IPV6_MODULES} || \ + echo " ${mod_src}(xtables_addons:${S}/extensions:${objdir})" + done +} + +# Die on modules known to fail on certain kernel version. +XA_known_failure() { + local module_name=$1 + local KV_max=$2 + + if use xtables_addons_${module_name} && kernel_is ge ${KV_max//./ }; then + eerror + eerror "XTABLES_ADDONS=${module_name} fails to build on linux ${KV_max} or above." + eerror "Either remove XTABLES_ADDONS=${module_name} or use an earlier version of the kernel." + eerror + die + fi +} + +src_prepare() { + XA_qa_check + XA_has_something_to_build + + # Bug #553630#c2. echo fails on linux-4 and above. + # This appears to be fixed, at least as of linux-4.2 + # XA_known_failure "echo" 4 + + local mod module_name + if use modules; then + MODULE_NAMES="compat_xtables(xtables_addons:${S}/extensions:)" + fi + for mod in ${MODULES}; do + if ! has ${mod} ${SKIP_MODULES} && use xtables_addons_${mod}; then + sed "s/\(build_${mod}=\).*/\1m/I" -i mconfig || die + if use modules; then + for module_name in $(XA_get_module_name ${mod}); do + MODULE_NAMES+=" ${module_name}" + done + fi + else + sed "s/\(build_${mod}=\).*/\1n/I" -i mconfig || die + fi + done + einfo "${MODULE_NAMES}" # for debugging + + sed -e 's/depmod -a/true/' -i Makefile.in || die + sed -e '/^all-local:/{s: modules::}' \ + -e '/^install-exec-local:/{s: modules_install::}' \ + -i extensions/Makefile.in || die + + use xtables_addons_geoip || sed -e '/^SUBDIRS/{s/geoip//}' -i Makefile.in + + eapply_user +} + +src_configure() { + set_arch_to_kernel # .. or it'll look for /arch/amd64/Makefile + econf --prefix="${EPREFIX}/" \ + --libexecdir="${EPREFIX}/$(get_libdir)/" \ + --with-kbuild="${KV_OUT_DIR}" +} + +src_compile() { + emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" V=1 + use modules && BUILD_PARAMS="V=1" BUILD_TARGETS="modules" linux-mod_src_compile +} + +src_install() { + emake DESTDIR="${D}" install + use modules && linux-mod_src_install + dodoc -r README doc/* + find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' +} diff --git a/sys-apps/hwids/Manifest b/sys-apps/hwids/Manifest index af941fe105ea..3dd11da5b305 100644 --- a/sys-apps/hwids/Manifest +++ b/sys-apps/hwids/Manifest @@ -1,3 +1,4 @@ DIST hwids-20200204.tar.gz 3495191 BLAKE2B 23075b6728d9b0e020be45729d0df4cef95cac5e912e646b612266337d1add59c87a1031e6672c5b6eb23e13c26e6299b62a5886aa25017242a86fd474c1e9ae SHA512 1d2a9baaa7ab64575a3d9b98ae4df9060cb8593ae752365296dd53b18bc5996170bbfe1c5b4b1ffc24b28e3dbaa7c321c4fa333bbf91449a6ca7b187cbe23741 DIST hwids-20200306.tar.gz 3512152 BLAKE2B 6a6ee48598e72f97a90bff8f45aacb699218570ede5b60ed119ebae78de6cd4b92e02f96cf57c83710da699be9a7dcdfdef8d404539e04b664298874b35e54ce SHA512 eff1d2783925ca459b387fbaa5cf68a98aa4209ab8509ad92a902b4d02cc7f4a47e5506c2beed4c792d24a8ab636ad77b376a92b59ae4f605d1b5258350ff250 DIST hwids-20200813.1.tar.gz 3680906 BLAKE2B 652cf4b05ead42a750c6f41ad78650ea8b0125f90563dec37bfa8388d021ceab12e94fd2f949b3f7b3b7c09a356d279b91e62164af2cf066cfee07ab583f8b83 SHA512 5ba15067969fa19d3218f523c1a0186568841466de4d18c563b5f09202ab7185c4df02b962f70eb6d3e99915caad8a743fc6c6349f49b666db742f9ced8053fc +DIST hwids-20201207.tar.gz 3749352 BLAKE2B a968e6daf5686c4f73d9d900fbe80a5b3844c006102ed8801f88e378dc43c1bb66aaeced42bc2703a9c8ad624a1a7167bba485b1bf0c0d0e6043920e015c9177 SHA512 ec638edd1bbf00bd66e9baa50e3b9c9a5004a96a359e6bea306f1509c69bb3c7ede3569174007ab8bde11d49300da452b06be96136cde6bd2d84a76cff9251c2 diff --git a/sys-apps/hwids/hwids-20200813.1.ebuild b/sys-apps/hwids/hwids-20200813.1.ebuild index fc7ceceefc59..c60403f5d5e0 100644 --- a/sys-apps/hwids/hwids-20200813.1.ebuild +++ b/sys-apps/hwids/hwids-20200813.1.ebuild @@ -13,7 +13,7 @@ PYTHON_COMPAT=( python3_{6,7,8,9,10} ) EGIT_REPO_URI="https://github.com/gentoo/hwids.git" else SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux" fi LICENSE="|| ( GPL-2 BSD ) public-domain" diff --git a/sys-apps/hwids/hwids-20201207.ebuild b/sys-apps/hwids/hwids-20201207.ebuild new file mode 100644 index 000000000000..fc7ceceefc59 --- /dev/null +++ b/sys-apps/hwids/hwids-20201207.ebuild @@ -0,0 +1,89 @@ +# Copyright 2012-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit udev + +DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases" +HOMEPAGE="https://github.com/gentoo/hwids" +if [[ ${PV} == 99999999 ]]; then +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + inherit git-r3 python-any-r1 + EGIT_REPO_URI="https://github.com/gentoo/hwids.git" +else + SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="|| ( GPL-2 BSD ) public-domain" +SLOT="0" +IUSE="+net +pci +udev +usb" + +RDEPEND=" + udev? ( virtual/udev ) +" + +if [[ ${PV} == 99999999 ]]; then + BDEPEND=" + net-misc/curl + udev? ( $(python_gen_any_dep 'dev-python/pyparsing[${PYTHON_USEDEP}]') ) + " + python_check_deps() { + if use udev; then + has_version -b "dev-python/pyparsing[${PYTHON_USEDEP}]" + fi + } +else + S=${WORKDIR}/hwids-${P} +fi + +pkg_setup() { + : +} + +src_unpack() { + if [[ ${PV} == 99999999 ]]; then + git-r3_src_unpack + cd "${S}" || die + emake fetch + else + default + fi +} + +src_prepare() { + default + sed -i -e '/udevadm hwdb/d' Makefile || die +} + +_emake() { + emake \ + NET=$(usex net) \ + PCI=$(usex pci) \ + UDEV=$(usex udev) \ + USB=$(usex usb) \ + "$@" +} + +src_compile() { + if [[ ${PV} == 99999999 ]] && use udev; then + python_setup + _emake udev-hwdb + fi + _emake +} + +src_install() { + _emake install \ + DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \ + MISCDIR="${EPREFIX}/usr/share/misc" \ + HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \ + DESTDIR="${D}" +} + +pkg_postinst() { + if use udev; then + udevadm hwdb --update --root="${ROOT}" + fi +} diff --git a/sys-kernel/raspberrypi-sources/Manifest b/sys-kernel/raspberrypi-sources/Manifest new file mode 100644 index 000000000000..48e9c499b71c --- /dev/null +++ b/sys-kernel/raspberrypi-sources/Manifest @@ -0,0 +1 @@ +DIST raspberrypi-kernel_1.20201201-1.tar.gz 175159649 BLAKE2B 6d7f4aed5696a2640ef591438b624434efa55af96216d7bf79888486a840171d8cd64548050c10890f1e636e8b42a7c97da0562ca36e44c07c2d24325942d374 SHA512 a8427e209a639b35088f32c4efa13ebd2d0efad7ad6f8ab40fbebec3c857d1acc4947aa0ea42e1edc1f8fd687b1bf8170764c811c0c876e92f0d66c269c91489 diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.4.79_p20201201.ebuild b/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.4.79_p20201201.ebuild new file mode 100644 index 000000000000..de796c6696ac --- /dev/null +++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-5.4.79_p20201201.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +ETYPE=sources +K_DEFCONFIG="bcmrpi_defconfig" +K_SECURITY_UNSUPPORTED=1 +EXTRAVERSION="-${PN}/-*" + +inherit kernel-2 eapi7-ver +detect_version +detect_arch + +MY_PV=$(ver_cut 4-) +MY_PV=${MY_PV/p/} +DESCRIPTION="Raspberry Pi kernel sources" +HOMEPAGE="https://github.com/raspberrypi/linux" +SRC_URI="https://github.com/raspberrypi/linux/archive/raspberrypi-kernel_1.${MY_PV}-1.tar.gz" +S="${WORKDIR}/linux-raspberrypi-kernel_1.${MY_PV}-1" + +KEYWORDS="~arm ~arm64" + +src_unpack() { + default +} |
