Install this version:
emerge -a =net-wireless/gr-gsm-20240927
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-wireless/gr-gsm-20240927
Or alternatively:
emerge --autounmask-write -a =net-wireless/gr-gsm-20240927
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
inherit cmake python-single-r1
DESCRIPTION="Set of tools for receiving information transmitted by GSM equipment/devices"
HOMEPAGE="https://github.com/ptrkrysik/gr-gsm"
#EGIT_REPO_URI="https://github.com/ptrkrysik/gr-gsm.git"
#EGIT_BRANCH="porting_to_gr38"
# https://github.com/ptrkrysik/gr-gsm/pull/600
# BRANCH: bkerler_fork
HASH_COMMIT="a5e61786ad9b57f12a97a83c7d4c1743b5eb34ff"
SRC_URI="https://github.com/ptrkrysik/gr-gsm/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
LICENSE="GPL-3"
SLOT="0"
# qt5 is EOF, may break at some point
KEYWORDS="~amd64 ~x86"
IUSE="doc"
#if(NOT LIBOSMOCORE_FOUND OR NOT LIBOSMOCODEC_FOUND OR NOT LIBOSMOGSM_FOUND)
# set(LOCAL_OSMOCOM ON)
DEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
>=net-wireless/gnuradio-3.10.0:=[qt5,network]
net-wireless/gr-osmosdr
dev-libs/boost:=
dev-libs/log4cpp:=
dev-util/cppunit
net-libs/libosmocore:=
sci-libs/volk:="
RDEPEND="${DEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
CMAKE_SKIP_TESTS=( qa_tch_f_chans_demapper qa_tch_h_chans_demapper )
src_prepare() {
#fixme below
sed -i "s|\${GR_DOC_DIR}\/\${CMAKE_PROJECT_NAME}|${EPREFIX}/usr/share/doc/${PF}|g" CMakeLists.txt
eapply "${FILESDIR}"/652.patch
# eapply "${FILESDIR}"/pyqt6.patch
cmake_src_prepare
}
src_configure() {
mycmakeargs=(
-DENABLE_DOXYGEN="$(usex doc)"
#why it doesn't work?
# -DGR_PKG_DOC_DIR="$(usex doc ${EPREFIX}/usr/share/doc/${PF})"
-DPYTHON_EXECUTABLE=${PYTHON}
-DLOCAL_OSMOCOM=ON
)
cmake_src_configure
}
src_install() {
cmake_src_install
python_optimize "${D}/$(python_get_sitedir)"
}
Manage flags for this package:
euse -i <flag> -p net-wireless/gr-gsm |
euse -E <flag> -p net-wireless/gr-gsm |
euse -D <flag> -p net-wireless/gr-gsm
${PYTHON_DEPS}
$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
>=net-wireless/gnuradio-3.10.0:=[qt5,network]
net-wireless/gr-osmosdr
dev-libs/boost:=
dev-libs/log4cpp:=
dev-util/cppunit
net-libs/libosmocore:=
sci-libs/volk:=
${PYTHON_DEPS}
$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
>=net-wireless/gnuradio-3.10.0:=[qt5,network]
net-wireless/gr-osmosdr
dev-libs/boost:=
dev-libs/log4cpp:=
dev-util/cppunit
net-libs/libosmocore:=
sci-libs/volk:=
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gr-gsm-20240927.tar.gz | 327841 bytes | https://github.com/ptrkrysik/gr-gsm/archive/a5e61786ad9b57f12a97a83c7d4c1743b5eb34ff.tar.gz |