libosmocore: 1.3.1 bump

This commit is contained in:
blshkv 2020-05-26 00:46:56 +08:00
parent ba2c0a4b1b
commit 2d49efa1cd
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
4 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST libosmocore-1.3.1.tar.gz 1287754 BLAKE2B 71cc7db066d8686b39109ffe718b0348462c6dafc8a49e7c5b132e1688bec1b1d1292f3f8046a2f4bd76924f74353378a86a951193e27c3ef392433fcc8e783a SHA512 4bd8bf584ac58a00125969da43cba84aeb7b2d899a4616628f97f3cccb95918fe9c8aaae977c7bfa30f4316987f08ea4e312c3e32628fc4c392a2ce84ae9d392

View file

@ -0,0 +1,11 @@
--- libosmocore-0.6.0/configure.ac
+++ libosmocore-0.6.0/configure.ac
@@ -77,7 +77,7 @@
CHECK_TM_INCLUDES_TM_GMTOFF
dnl Generate the output
-AC_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
AC_ARG_ENABLE(talloc,
[AS_HELP_STRING(

View file

@ -0,0 +1,46 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="Utility functions for OsmocomBB, OpenBSC and related projects"
HOMEPAGE="http://bb.osmocom.org/trac/wiki/libosmocore"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
KEYWORDS=""
else
# SRC_URI="http://cgit.osmocom.org/cgit/libosmocore/snapshot/${P}.tar.bz2"
SRC_URI="https://github.com/osmocom/libosmocore/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="GPL-2 LGPL-3"
SLOT="0"
IUSE="pcsc-lite"
RDEPEND="net-misc/lksctp-tools
sys-libs/talloc
pcsc-lite? ( sys-apps/pcsc-lite )
"
DEPEND="${RDEPEND}
app-doc/doxygen
"
PATCHES=( "${FILESDIR}/${PN}-0.6.0-automake-1.13.patch" )
src_prepare() {
default_src_prepare
# set correct version in pkgconfig files
sed -i "s/UNKNOWN/${PV}/" git-version-gen || die
eautoreconf
}
src_configure() {
econf \
$(use_enable pcsc-lite pcsc)
}

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>radio@gentoo.org</email>
<name>Radio</name>
</maintainer>
<use>
<flag name="embedded">Build for embedded use and disable unsupported features</flag>
<flag name="pcsc-lite">Enable smartcard support with <pkg>sys-apps/pcsc-lite</pkg></flag>
</use>
</pkgmetadata>