diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2023-12-07 02:46:54 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2023-12-07 02:46:54 +0000 |
commit | d5e38ce2a5b2f9c20f2afe727ddba0ab50363f67 (patch) | |
tree | 60fcd05299d88a4cf59a7618561f180175de030b | |
parent | 2023-12-06 23:02:01 UTC (diff) | |
parent | net-wireless/rtl-sdr: add 2.0.1 (diff) | |
download | gentoo-d5e38ce2a5b2f9c20f2afe727ddba0ab50363f67.tar.gz gentoo-d5e38ce2a5b2f9c20f2afe727ddba0ab50363f67.tar.bz2 gentoo-d5e38ce2a5b2f9c20f2afe727ddba0ab50363f67.zip |
Merge updates from master
-rw-r--r-- | net-wireless/rtl-sdr/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/metadata.xml | 3 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild | 3 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild | 5 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild | 3 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/rtl-sdr-2.0.1.ebuild | 52 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/rtl-sdr-9999.ebuild | 20 | ||||
-rw-r--r-- | sci-mathematics/singular/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/singular/singular-4.3.2_p10.ebuild | 106 |
9 files changed, 172 insertions, 22 deletions
diff --git a/net-wireless/rtl-sdr/Manifest b/net-wireless/rtl-sdr/Manifest index 175021ba6533..8f65fea32bc7 100644 --- a/net-wireless/rtl-sdr/Manifest +++ b/net-wireless/rtl-sdr/Manifest @@ -1,2 +1,3 @@ DIST rtl-sdr-0.6.0_p2020802.tar.gz 134107 BLAKE2B 18ff8fe93a0dfaa20614924c7f951b2e7ffbccb4e5a2ebb6af698321ceaeba5012e6b88be03c7ff4c7b5cd45ec8df2baaa4ae55b813cdf448d895877a6757f47 SHA512 355af98a887a978794b562aa8ef78c91d19c33a6d0eb5740eb3a9b1e1329f8b11ca688eebc81a2d61440972ba5121225205de7165a22882a7e32cf6608888f25 DIST rtl-sdr-0.6.0_p20221217.tar.gz 134261 BLAKE2B 1148e0aeaba67dda5545b2bcd18a806047eeea9573578e1a3111b08abea481e2649ef68ab6ccd9e69603798b0003cc63efb3c5f6184acfd021dd223688402d56 SHA512 e80bae2405aaa4c6c943f5df7afc96ea02cd5861b0348d33e567000bde0a3aa79ab2204311bde6094a4b8037d11eb14ca0f91f8dbd339c339aae2581c0a78652 +DIST rtl-sdr-2.0.1.gh.tar.gz 135727 BLAKE2B 46bb64e2e35d5f6164acb15b0b1e4c0c988bac8de8fd494faec85f4d36f2db3f73ebb0dc46ce42d4b2ff00a9025f145259aeff25563dd82623c2a3502cda1059 SHA512 ed7b84f05d524d89afc1db384a4e1c4bb2a66e9c6b42623ab42ac9d55829bde77eb12529044e1778664b5a97a48dc5b64bed19161a430c9d91c04dd08cb6b7ac diff --git a/net-wireless/rtl-sdr/metadata.xml b/net-wireless/rtl-sdr/metadata.xml index cd7543fbf5e2..cacbce26183d 100644 --- a/net-wireless/rtl-sdr/metadata.xml +++ b/net-wireless/rtl-sdr/metadata.xml @@ -8,4 +8,7 @@ <use> <flag name="zerocopy">may cause a bus error on some ARM systems</flag> </use> + <upstream> + <remote-id type="github">osmocom/rtl-sdr</remote-id> + </upstream> </pkgmetadata> diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild index bbdfee3faae7..1a6acb86c807 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802-r1.ebuild @@ -10,7 +10,6 @@ HOMEPAGE="https://sdr.osmocom.org/trac/wiki/rtl-sdr" if [[ ${PV} == 9999* ]]; then inherit git-r3 - SRC_URI="" EGIT_REPO_URI="https://git.osmocom.org/${PN}" else #git clone https://git.osmocom.org/rtl-sdr @@ -24,7 +23,7 @@ else KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" fi -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" IUSE="+zerocopy" diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild index f7b88d47150c..ad11e988cd5f 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p2020802.ebuild @@ -3,14 +3,13 @@ EAPI=7 -inherit cmake multilib +inherit cmake DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver" HOMEPAGE="https://sdr.osmocom.org/trac/wiki/rtl-sdr" if [[ ${PV} == 9999* ]]; then inherit git-r3 - SRC_URI="" EGIT_REPO_URI="https://git.osmocom.org/${PN}" else #git clone https://git.osmocom.org/rtl-sdr @@ -24,7 +23,7 @@ else KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86" fi -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" IUSE="+zerocopy" diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild index 1da1818e4d31..62c75adae478 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-0.6.0_p20221217.ebuild @@ -10,7 +10,6 @@ HOMEPAGE="https://sdr.osmocom.org/trac/wiki/rtl-sdr" if [[ ${PV} == 9999* ]]; then inherit git-r3 - SRC_URI="" EGIT_REPO_URI="https://git.osmocom.org/${PN}" else #git clone https://git.osmocom.org/rtl-sdr @@ -24,7 +23,7 @@ else KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" fi -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" IUSE="+zerocopy" diff --git a/net-wireless/rtl-sdr/rtl-sdr-2.0.1.ebuild b/net-wireless/rtl-sdr/rtl-sdr-2.0.1.ebuild new file mode 100644 index 000000000000..dd2530e97a36 --- /dev/null +++ b/net-wireless/rtl-sdr/rtl-sdr-2.0.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Turns your Realtek RTL2832 based DVB dongle into a SDR receiver" +HOMEPAGE="https://sdr.osmocom.org/trac/wiki/rtl-sdr" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.osmocom.org/${PN}" +else + #COMMIT="142325a93c6ad70f851f43434acfdf75e12dfe03" + #SRC_URI="https://github.com/osmocom/rtl-sdr/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + #S="${WORKDIR}/${PN}-${COMMIT}" + SRC_URI="https://github.com/osmocom/rtl-sdr/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" +IUSE="+zerocopy" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/rtl-sdl-0.6.0_p2020802-fix-pkgconfig-libdir.patch +) + +src_configure() { + #the udev rules are 666, we don't want that + local mycmakeargs=( + -DINSTALL_UDEV_RULES=OFF + -DDETACH_KERNEL_DRIVER=ON + -DENABLE_ZEROCOPY="$(usex zerocopy)" + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + newinitd "${FILESDIR}"/rtl_tcp.initd rtl_tcp + newconfd "${FILESDIR}"/rtl_tcp.confd rtl_tcp +} + +pkg_postinst() { + elog "Only users in the usb group can capture." + elog "Just run 'gpasswd -a <USER> usb', then have <USER> re-login." +} diff --git a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild index 1da1818e4d31..dd2530e97a36 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild @@ -10,21 +10,16 @@ HOMEPAGE="https://sdr.osmocom.org/trac/wiki/rtl-sdr" if [[ ${PV} == 9999* ]]; then inherit git-r3 - SRC_URI="" EGIT_REPO_URI="https://git.osmocom.org/${PN}" else - #git clone https://git.osmocom.org/rtl-sdr - #cd rtl-sdr - #git archive --format=tar --prefix=rtl-sdr-${PV}/ master | xz > ../rtl-sdr-${PV}.tar.xz - #SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" - - COMMIT="142325a93c6ad70f851f43434acfdf75e12dfe03" - SRC_URI="https://github.com/osmocom/rtl-sdr/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${COMMIT}" + #COMMIT="142325a93c6ad70f851f43434acfdf75e12dfe03" + #SRC_URI="https://github.com/osmocom/rtl-sdr/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + #S="${WORKDIR}/${PN}-${COMMIT}" + SRC_URI="https://github.com/osmocom/rtl-sdr/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" fi -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" IUSE="+zerocopy" @@ -35,11 +30,6 @@ PATCHES=( "${FILESDIR}"/rtl-sdl-0.6.0_p2020802-fix-pkgconfig-libdir.patch ) -src_prepare() { - sed -i 's#VERSION_INFO_PATCH_VERSION git#VERSION_INFO_PATCH_VERSION 0_p20221217#' CMakeLists.txt - cmake_src_prepare -} - src_configure() { #the udev rules are 666, we don't want that local mycmakeargs=( diff --git a/sci-mathematics/singular/Manifest b/sci-mathematics/singular/Manifest index 5c2c0d474c6a..f08c117bbdb9 100644 --- a/sci-mathematics/singular/Manifest +++ b/sci-mathematics/singular/Manifest @@ -1 +1,2 @@ DIST singular-4.3.2p1.tar.gz 15013729 BLAKE2B 00276f2417cd9e2b71afcae66c2aeb7f9d4f434f5a90deeee56dded66e6d5e0020ab0b06b6561e41f5b196262993732ffeb9196f59315f1b6a081b0029fc99a1 SHA512 451054a0bf33b9d1c94a63f0946e1eb7b3e7b92bc025b6aa4f64e65183aeebd6354bac5f87f6e8b35cb713b30e97af5c66f92f02683144bb426f5e3a828db616 +DIST singular-4.3.2p10.tar.gz 20848377 BLAKE2B 2487eb40c70dca516eca94585c59be0ebfeb43edce87dd16a2874bbefbe502fadcfda1164922ab7738a257e59f9e6b6535b7447702d325b36f1358ed5048c7dd SHA512 9b914e8db2c4936184594200b07d37fc952a1399c3accb1ed30ec4a4b450afd3e3c174343e1169520d0d1ed6ac2e6d261fbbb731082e07b7caced4b5790f295e diff --git a/sci-mathematics/singular/singular-4.3.2_p10.ebuild b/sci-mathematics/singular/singular-4.3.2_p10.ebuild new file mode 100644 index 000000000000..996cbc4ae5e1 --- /dev/null +++ b/sci-mathematics/singular/singular-4.3.2_p10.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common + +MY_PN=Singular +MY_PV=$(ver_rs 3 '') +# Consistency is different... +MY_DIR2=$(ver_cut 1-3 ${PV}) +MY_DIR=$(ver_rs 1- '-' ${MY_DIR2}) + +DESCRIPTION="Computer algebra system for polynomial computations" +HOMEPAGE="https://www.singular.uni-kl.de/ https://github.com/Singular/Singular" +SRC_URI="https://www.singular.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/${MY_DIR}/${PN}-${MY_PV}.tar.gz" +S="${WORKDIR}/${PN}-${MY_DIR2}" + +# Most files say "version 2 or version 3 of the License," which is not +# quite GPL-2+, and is why we have listed GPL-2 below. But AFAIK there +# are no GPL-2-only files. +LICENSE="BSD GPL-2 GPL-2+ GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~x86-linux" +IUSE="emacs examples polymake +readline" + +# The interactive help uses "info" from sys-apps/texinfo. +RDEPEND=" + dev-lang/perl + dev-libs/gmp:0 + dev-libs/ntl:= + sci-libs/cddlib + sci-mathematics/flint + sys-apps/texinfo + emacs? ( app-editors/emacs:* ) + polymake? ( sci-mathematics/polymake ) + readline? ( sys-libs/readline ) +" +DEPEND="${RDEPEND}" + +SITEFILE=60${PN}-gentoo.el + +src_configure() { + local myconf=( + --disable-debug + --disable-doc + --disable-optimizationflags + --disable-pyobject-module + --disable-python + --disable-python-module + --disable-python_module + --enable-factory + --enable-gfanlib + --enable-libfac + --with-flint + --with-gmp + --with-libparse + --with-ntl + --without-python + --without-pythonmodule + $(use_enable emacs) + $(use_enable polymake polymake-module) + $(use_with readline) + ) + econf "${myconf[@]}" +} + +src_compile() { + default + + if use emacs; then + pushd "${S}"/emacs + elisp-compile *.el || die "elisp-compile failed" + popd + fi +} + +src_install() { + # Do not compress singular's info file (singular.hlp) + # some consumer of that file do not know how to deal with compression + docompress -x /usr/share/info + + default + + dosym Singular /usr/bin/"${PN}" + + find "${ED}" -type f -name '*.la' -delete || die +} + +src_test() { + # SINGULAR_PROCS_DIR need to be set to "" otherwise plugins from + # an already installed version of singular may be used and cause segfault + # See https://github.com/Singular/Sources/issues/980 + SINGULAR_PROCS_DIR="" emake check +} + +pkg_postinst() { + einfo "Additional functionality can be enabled by installing" + einfo "sci-mathematics/4ti2" + + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |