trunk-recorder: unkeyword 9999 and symlink it

This commit is contained in:
Anton Bolshakov 2022-02-22 14:12:49 +08:00
parent 3b0ebf0e59
commit c1fd172eaf
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 4 additions and 33 deletions

View file

@ -1,32 +0,0 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Records calls from a Trunked Radio System (P25 & SmartNet)"
HOMEPAGE="https://github.com/robotastic/trunk-recorder"
if [[ "${PV}" = *9999 ]]; then
EGIT_REPO_URI="https://github.com/robotastic/trunk-recorder.git"
inherit git-r3
RESTRICT="strip"
else
SRC_URI="https://github.com/robotastic/trunk-recorder/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="net-wireless/gr-osmosdr:=
net-wireless/gnuradio:=[uhd]
net-wireless/uhd:=
!net-wireless/op25
net-misc/curl:=
dev-libs/log4cpp:=
dev-libs/openssl:0=
dev-libs/boost"
RDEPEND="${DEPEND}"
BDEPEND=""

View file

@ -0,0 +1 @@
./trunk-recorder-9999.ebuild

View file

@ -7,11 +7,13 @@ inherit cmake
DESCRIPTION="Records calls from a Trunked Radio System (P25 & SmartNet)"
HOMEPAGE="https://github.com/robotastic/trunk-recorder"
if [[ "${PV}" = *9999 ]]; then
if [[ "${PV}" == *9999 ]]; then
EGIT_REPO_URI="https://github.com/robotastic/trunk-recorder.git"
#EGIT_BRANCH="dmr-metadata"
inherit git-r3
RESTRICT="strip"
KEYWORDS=""
else
SRC_URI="https://github.com/robotastic/trunk-recorder/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~amd64 ~x86"