Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-07-31 16:01:44 +00:00
5 changed files with 124 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST RcppArmadillo_0.12.4.1.0.tar.gz 1373512 BLAKE2B 9228e80227c9f78be552c71bebb299a96306b7676b2d6c94657d1622b01f341d5846937451d195a25109232aa675303c29413ea84fb32bd23954c5564a146332 SHA512 33ad6c44606f1d16a67861aafdb0ea5750eb795974bfb0a594408e6ba82eedc3a1f8efd1cb5003cf3a4766cafd6fd6d6a4270d043339de3a56f22de22aa9b15f

View File

@@ -0,0 +1,57 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages eapi8-dosym
MY_PV="$(ver_cut 2-3 ${PV})"
DESCRIPTION='Rcpp Integration for the Armadillo templated linear algebra library'
SRC_URI="mirror://cran/src/contrib/${PN}_${PV}.tar.gz"
SLOT="0/${PV}"
KEYWORDS="~amd64"
LICENSE='GPL-2+'
DEPEND="
>=dev-lang/R-3.3.0
>=dev-R/Rcpp-0.11.0
=sci-libs/armadillo-${MY_PV}*:=[lapack]
"
RDEPEND="${DEPEND}"
SUGGESTED_PACKAGES="
dev-R/tinytest
virtual/Matrix
dev-R/pkgKitten
dev-R/reticulate
dev-R/slam
"
#TODO: correctly link to lapack
src_prepare() {
R-packages_src_prepare
#remove bundled
rm -r inst/include/armadillo_bits || die
rm inst/include/armadillo || die
#link to sci-libs/armadillo
ln -s "${ESYSROOT}"/usr/include/armadillo_bits inst/include/armadillo_bits || die
ln -s "${ESYSROOT}"/usr/include/armadillo inst/include/armadillo || die
}
src_install() {
R-packages_src_install
R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include"
dosym8 -r /usr/include/armadillo "${R_includedir}/armadillo"
dodir /usr/include/armadillo_bits
for file in "${ED}/${R_includedir}"/armadillo_bits/*; do
filename=$(basename "${file}")
dosym8 -r /usr/include/armadillo_bits/${filename} "${R_includedir}/armadillo_bits/${filename}"
done
}

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">'Armadillo' is a templated C++ linear algebra library (by Conrad
Sanderson) that aims towards a good balance between speed and ease of
use. Integer, floating point and complex numbers are supported, as
well as a subset of trigonometric and statistics functions. Various
matrix decompositions are provided through optional integration with
LAPACK and ATLAS libraries. The 'RcppArmadillo' package includes the
header files from the templated 'Armadillo' library. Thus users do
not need to install 'Armadillo' itself in order to use
'RcppArmadillo'. From release 7.800.0 on, 'Armadillo' is licensed
under Apache License 2; previous releases were under licensed as MPL
2.0 from version 3.800.0 onwards and LGPL-3 prior to that;
'RcppArmadillo' (the 'Rcpp' bindings/bridge to Armadillo) is licensed
under the GNU GPL version 2 or later, as is the rest of 'Rcpp'.
Armadillo requires a C++11 compiler.</longdescription>
<upstream>
<maintainer>
<name>Dirk Eddelbuettel</name>
<email>edd@debian.org</email>
</maintainer>
<bugs-to>https://github.com/RcppCore/RcppArmadillo/issues</bugs-to>
<remote-id type="github">RcppCore/RcppArmadillo</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +1,2 @@
DIST showmethekey-1.10.0.tar.gz 6048383 BLAKE2B 09bcacae05ee6479429342903a260fbeafcec12b554724b81cc881e5272a38b01fab39db84fcdef1f004e5356f1837b2f7cb05f207b8ed8a0e935fe04e601a2e SHA512 65c13452294ed9458090fbbc0bc172e9d247f6d3fa819b214952fbccf930f3bc8a1753048b47b701bcc3a3ea04e6771c6c8b2a6ac8364487f9c3025037b60664
DIST showmethekey-1.7.3.tar.gz 6044309 BLAKE2B cf62baba0a15379bcec46da28ff68bea4eb8afd28f05df246e64ef43ad6ad2a6b213c21b6355fdebca78619e1a5cefa82dd2d07842850d2f891076cd59a0ba37 SHA512 a6a97b1ff6dea6ed950b565006953ecc52558ecdd7c2743d58eb0a9a5e6bd6636b1beeb1feb90b80425ab4024c5efb9302dda8433ed713624ac27ad0fb295396

View File

@@ -0,0 +1,34 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2 meson
DESCRIPTION="Show keys you typed on screen."
HOMEPAGE="https://showmethekey.alynx.one/"
SRC_URI="https://github.com/AlynxZhou/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/glib
dev-libs/json-glib
dev-libs/libevdev
dev-libs/libinput
dev-util/gtk-update-icon-cache
gui-libs/gtk:4
gui-libs/libadwaita
virtual/udev
x11-libs/cairo
x11-libs/libxkbcommon
x11-libs/pango
"
RDEPEND="${DEPEND}"
src_prepare() {
default
sed -i 's/gtk4-update-icon-/gtk-update-icon-/g' meson.build || die
}