diff --git a/dev-R/RcppArmadillo/Manifest b/dev-R/RcppArmadillo/Manifest new file mode 100644 index 0000000000..d97a18f25a --- /dev/null +++ b/dev-R/RcppArmadillo/Manifest @@ -0,0 +1 @@ +DIST RcppArmadillo_0.12.4.1.0.tar.gz 1373512 BLAKE2B 9228e80227c9f78be552c71bebb299a96306b7676b2d6c94657d1622b01f341d5846937451d195a25109232aa675303c29413ea84fb32bd23954c5564a146332 SHA512 33ad6c44606f1d16a67861aafdb0ea5750eb795974bfb0a594408e6ba82eedc3a1f8efd1cb5003cf3a4766cafd6fd6d6a4270d043339de3a56f22de22aa9b15f diff --git a/dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild b/dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild new file mode 100644 index 0000000000..30280253aa --- /dev/null +++ b/dev-R/RcppArmadillo/RcppArmadillo-0.12.4.1.0.ebuild @@ -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 +} diff --git a/dev-R/RcppArmadillo/metadata.xml b/dev-R/RcppArmadillo/metadata.xml new file mode 100644 index 0000000000..d3e08683bb --- /dev/null +++ b/dev-R/RcppArmadillo/metadata.xml @@ -0,0 +1,31 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + '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. + + + Dirk Eddelbuettel + edd@debian.org + + https://github.com/RcppCore/RcppArmadillo/issues + RcppCore/RcppArmadillo + + diff --git a/gui-apps/showmethekey/Manifest b/gui-apps/showmethekey/Manifest index f02787cfb8..ad4036eee4 100644 --- a/gui-apps/showmethekey/Manifest +++ b/gui-apps/showmethekey/Manifest @@ -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 diff --git a/gui-apps/showmethekey/showmethekey-1.10.0.ebuild b/gui-apps/showmethekey/showmethekey-1.10.0.ebuild new file mode 100644 index 0000000000..a405f25940 --- /dev/null +++ b/gui-apps/showmethekey/showmethekey-1.10.0.ebuild @@ -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 +}