mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 05:41:12 +02:00
gr-gsm-20210505.ebuild
This commit is contained in:
parent
8a34308310
commit
7523741b41
4 changed files with 55 additions and 2 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST gr-gsm-20191116.tar.gz 417507 BLAKE2B cd3393773db7f51ccd8de6b266aab5b169372d1eb1dd73a866202b4b9f4568268f058e8d3b2901720a0b2bb3c2d5b4b1dc760bdc2e69a0bafa83508893325ce4 SHA512 78f65a1ee1965f4e2eab9b9f5acdea030151df1f452e8a61bf36ec6b29299340ba9adc755cee8ec4de7f67b17729629880b1819e1a7d8d0d1f20ac578ed11291
|
||||
DIST gr-gsm-20210505.tar.gz 321224 BLAKE2B d1f519ae0b122f38aab1ce20f679192d7640f8424dc02d9e0689696a2fe0193553fcb9de340abe81f785571119e678a36dc770114f74b13fa287bf50455321fb SHA512 b9cc0d45dbeb0254d31e9a14f94c63d8ff39fd20a19962ee657aaefc62a5ce078e92da5259847515593aed491e020b7a334e82980603d3f75bd96348ef863d4a
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
inherit cmake cmake-utils python-single-r1
|
||||
|
||||
DESCRIPTION="Set of tools for receiving information transmitted by GSM equipment/devices"
|
||||
|
|
|
|||
51
net-wireless/gr-gsm/gr-gsm-20210505.ebuild
Normal file
51
net-wireless/gr-gsm/gr-gsm-20210505.ebuild
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
inherit cmake cmake-utils 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"
|
||||
HASH_COMMIT="2de47e28ce1fb9a518337bfc0add36c8e3cff5eb"
|
||||
SRC_URI="https://github.com/ptrkrysik/gr-gsm/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
#if(NOT LIBOSMOCORE_FOUND OR NOT LIBOSMOCODEC_FOUND OR NOT LIBOSMOGSM_FOUND)
|
||||
# set(LOCAL_OSMOCOM ON)
|
||||
DEPEND=">=net-wireless/gnuradio-3.8.0:=
|
||||
net-wireless/gr-osmosdr
|
||||
dev-util/cppunit
|
||||
net-libs/libosmocore"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
#fixme below
|
||||
sed -i "s|\${GR_DOC_DIR}\/\${CMAKE_PROJECT_NAME}|${EPREFIX}/usr/share/doc/${PF}|g" CMakeLists.txt
|
||||
cmake-utils_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-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
python_optimize "${ED}/$(python_get_sitedir)"
|
||||
}
|
||||
|
|
@ -35,6 +35,7 @@ net-wireless/suscan
|
|||
net-wireless/sdrangel
|
||||
|
||||
=net-wireless/gnuradio-3.8*
|
||||
net-wireless/gr-air-modes
|
||||
net-wireless/gr-ieee802154
|
||||
net-wireless/gr-rds
|
||||
~net-wireless/gr-iio-0.3_p20191219
|
||||
|
|
|
|||
Loading…
Reference in a new issue