Сравнение vimpc-0.09.2_p20230330 с vimpc-9999
| /usr/portage/media-sound/vimpc/vimpc-9999.ebuild 2025-01-01 00:21:05.842156258 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 | 6 |
inherit autotools |
| 7 | 7 | |
| 8 |
DESCRIPTION="ncurses based mpd client with vi-like key bindings" |
|
| 8 |
DESCRIPTION="An ncurses based mpd client with vi-like key bindings" |
|
| 9 | 9 |
HOMEPAGE="https://github.com/boysetsfrog/vimpc" |
| 10 |
if [[ ${PV} == *9999* ]] ; then
|
|
| 10 |
if [[ ${PV} == 9999 ]] ; then
|
|
| 11 | 11 |
EGIT_REPO_URI="https://github.com/boysetsfrog/${PN}.git"
|
| 12 | 12 |
inherit git-r3 |
| 13 | 13 |
else |
| 14 |
COMMIT=95ad78d112316a1c290a480481fd1f8abf50b59b |
|
| 15 |
if [[ -n ${COMMIT} ]] ; then
|
|
| 16 |
SRC_URI="https://github.com/boysetsfrog/${PN}/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT:0:8}.tar.gz"
|
|
| 17 |
S="${WORKDIR}/${PN}-${COMMIT}"
|
|
| 18 |
else |
|
| 19 |
SRC_URI="https://github.com/boysetsfrog/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 20 |
fi |
|
| 21 |
KEYWORDS="amd64 x86" |
|
| 14 |
SRC_URI="https://github.com/boysetsfrog/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 15 |
KEYWORDS="~amd64 ~x86" |
|
| 22 | 16 |
fi |
| 23 | 17 | |
| 24 | 18 |
LICENSE="GPL-3+" |
| 25 | 19 |
SLOT="0" |
| 26 |
IUSE="taglib" |
|
| 20 |
IUSE="boost taglib" |
|
| 27 | 21 | |
| 28 | 22 |
RDEPEND=" |
| 29 | 23 |
dev-libs/libpcre |
| 30 | 24 |
media-libs/libmpdclient |
| 25 |
boost? ( dev-libs/boost:= ) |
|
| 31 | 26 |
taglib? ( media-libs/taglib:= ) |
| 32 | 27 |
" |
| 33 | 28 |
DEPEND="${RDEPEND}"
|
| ... | ... | |
| 35 | 30 | |
| 36 | 31 |
src_prepare() {
|
| 37 | 32 |
default |
| 38 |
rm m4/m4_ax_boost* || die |
|
| 39 | 33 |
eautoreconf |
| 40 | 34 |
} |
| 41 | 35 | |
| ... | ... | |
| 43 | 37 |
# Tests here seem to make cppunit linked into the main vimpc binary |
| 44 | 38 |
# Not clear how to run them either |
| 45 | 39 |
econf \ |
| 46 |
--disable-boost \ |
|
| 47 |
--disable-test \ |
|
| 48 |
$(use_enable taglib) |
|
| 40 |
$(use_enable boost) \ |
|
| 41 |
$(use_enable taglib) \ |
|
| 42 |
--disable-test |
|
| 49 | 43 |
} |
| 50 | 44 | |
| 51 | 45 |
src_install() {
|