diff options
author | Ben Kohler <bkohler@gentoo.org> | 2020-03-20 07:52:02 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2020-03-20 07:52:47 -0500 |
commit | b847a9ab7cc1d5830251e11ae238d60df8967784 (patch) | |
tree | 8a965094346ccd0b0b77d771b7f018c799644bbc /net-misc | |
parent | net-misc/ncman: EAPI=7 & multiple fixes in 9999 (diff) | |
download | gentoo-b847a9ab7cc1d5830251e11ae238d60df8967784.tar.gz gentoo-b847a9ab7cc1d5830251e11ae238d60df8967784.tar.bz2 gentoo-b847a9ab7cc1d5830251e11ae238d60df8967784.zip |
net-misc/ncman: revbump for various ebuild changes & musl fix
Closes: https://bugs.gentoo.org/713262
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ncman/ncman-0.0.1_p20190327-r1.ebuild | 34 | ||||
-rw-r--r-- | net-misc/ncman/ncman-9999.ebuild | 2 |
2 files changed, 36 insertions, 0 deletions
diff --git a/net-misc/ncman/ncman-0.0.1_p20190327-r1.ebuild b/net-misc/ncman/ncman-0.0.1_p20190327-r1.ebuild new file mode 100644 index 000000000000..415581b6f27c --- /dev/null +++ b/net-misc/ncman/ncman-0.0.1_p20190327-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic meson +COMMIT="21a55145ddbc5d085e91352586875abe92cff73b" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI=https://github.com/l4rzy/ncman.git +else + SRC_URI="https://github.com/l4rzy/ncman/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +DESCRIPTION="An ncurses UI for connman, forked from connman-json-client" +HOMEPAGE="https://github.com/l4rzy/ncman" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="dev-libs/json-c:0= + >=sys-apps/dbus-1.4 + sys-libs/ncurses:0=" +DEPEND="${RDEPEND}" + +[[ ${PV} == *9999* ]] || S="${WORKDIR}/${PN}-${COMMIT}" + +src_prepare() { + default + append-cflags "-D_POSIX_C_SOURCE=200809L" +} diff --git a/net-misc/ncman/ncman-9999.ebuild b/net-misc/ncman/ncman-9999.ebuild index e5f04eaaaea0..045965709b3d 100644 --- a/net-misc/ncman/ncman-9999.ebuild +++ b/net-misc/ncman/ncman-9999.ebuild @@ -26,6 +26,8 @@ RDEPEND="dev-libs/json-c:0= sys-libs/ncurses:0=" DEPEND="${RDEPEND}" +[[ ${PV} == *9999* ]] || S="${WORKDIR}/${PN}-${COMMIT}" + src_prepare() { default append-cflags "-D_POSIX_C_SOURCE=200809L" |