media-sound/klystrack: use EAPI 8, fix builds
This commit is contained in:
parent
e2f3e5d810
commit
905af0c9c0
@ -1,2 +1,2 @@
|
|||||||
DIST klystrack-1.7.6.tar.gz 575490 BLAKE2B dbcde9745cb4cfa64fe12ff7d5349dbb722e81abc5d73d319da7ade4bf340f020e4cae4f9c945837bc8f3b34ad3289f94ea2d76266ca8e2f9583b46bfc25aca2 SHA512 42bacf7918d7059eb0f0f57070d60fc7d46a7448afcbe733e8dd14a62f14c9185a4a068a1edc711cdfeff8ad1d2cabee253f719d231e0e7745ecf5878716220e
|
DIST klystrack-1.7.6.tar.gz 575490 BLAKE2B dbcde9745cb4cfa64fe12ff7d5349dbb722e81abc5d73d319da7ade4bf340f020e4cae4f9c945837bc8f3b34ad3289f94ea2d76266ca8e2f9583b46bfc25aca2 SHA512 42bacf7918d7059eb0f0f57070d60fc7d46a7448afcbe733e8dd14a62f14c9185a4a068a1edc711cdfeff8ad1d2cabee253f719d231e0e7745ecf5878716220e
|
||||||
DIST klystron-for-klystrack-exec.tar.gz 89207 BLAKE2B 5dadc39f2a2d08187b41db166fc362ca5f6bd7a2687d6d4ece5e5baeca0136fc395fc7fdb257a173837c60a746ec6e0d02207032fb743f1edecdb66c416dc230 SHA512 6091e7187c1bdc204b2cfe5b51f7ceccf5c7a95d275d10da8011035310594265a938475589caedbb0546b59eed2851a1fe1b5c1dc5a5aa99e094b75100f7154b
|
DIST klystron-10743245fbaf67fc02b432577dc4d47ad5e459da.tar.gz 89177 BLAKE2B 3e2a012931eee93cdc6d8a604d97b307897352542e4a4500c5994c8d8e0370e6dd58bd8b24f4fd5ed583de1caaabf746197e177f8d235274c3aaf373da434132 SHA512 1c7012e4804c7261d858240cced3444033715f031d82e4e2a416a21ac50f8e55344cf2fe7c8d7be736d0932170b7001665bdb2f44b7f9065d04962c1e5cd1ad6
|
||||||
|
@ -1,14 +1,19 @@
|
|||||||
# Copyright 2020 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
V_KLYSTRON="for-klystrack-exec"
|
if [[ ${PV} == 9999 ]]; then
|
||||||
SRC_URI="
|
inherit git-r3
|
||||||
https://github.com/kometbomb/klystrack/archive/${PV}-make-fix.tar.gz -> ${P}.tar.gz
|
EGIT_REPO_URI="https://github.com/kometbomb/klystrack.git"
|
||||||
https://github.com/kometbomb/klystron/archive/${V_KLYSTRON}.tar.gz -> klystron-${V_KLYSTRON}.tar.gz
|
else
|
||||||
"
|
V_KLYSTRON="10743245fbaf67fc02b432577dc4d47ad5e459da"
|
||||||
KEYWORDS="~amd64"
|
SRC_URI="
|
||||||
|
https://github.com/kometbomb/klystrack/archive/${PV}-make-fix.tar.gz -> ${P}.tar.gz
|
||||||
|
https://github.com/kometbomb/klystron/archive/${V_KLYSTRON}.tar.gz -> klystron-${V_KLYSTRON}.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
DESCRIPTION="A really cool fakebit tracker"
|
DESCRIPTION="A really cool fakebit tracker"
|
||||||
HOMEPAGE="http://kometbomb.github.io/klystrack/"
|
HOMEPAGE="http://kometbomb.github.io/klystrack/"
|
||||||
@ -23,8 +28,17 @@ RDEPEND="${DEPEND}"
|
|||||||
BDEPEND=""
|
BDEPEND=""
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
default
|
if [[ ${PV} == 9999 ]]; then
|
||||||
mv "${WORKDIR}/${P}-make-fix" "${WORKDIR}/${P}"
|
git-r3_src_unpack
|
||||||
rm -rf "${S}/klystron" || die
|
else
|
||||||
cp -r "${WORKDIR}/klystron-${V_KLYSTRON}" "${S}/klystron" || die
|
default
|
||||||
|
mv "${WORKDIR}/${P}-make-fix" "${WORKDIR}/${P}"
|
||||||
|
rm -rf "${S}/klystron" || die
|
||||||
|
cp -r "${WORKDIR}/klystron-${V_KLYSTRON}" "${S}/klystron" || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i "s/} menu.t;/};/" "${S}/klystron/src/gui/menu.h" || die
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,19 @@
|
|||||||
# Copyright 2020 Gentoo Authors
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
EGIT_REPO_URI="https://github.com/kometbomb/klystrack.git"
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
inherit git-r3
|
EGIT_REPO_URI="https://github.com/kometbomb/klystrack.git"
|
||||||
|
else
|
||||||
|
V_KLYSTRON="10743245fbaf67fc02b432577dc4d47ad5e459da"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/kometbomb/klystrack/archive/${PV}-make-fix.tar.gz -> ${P}.tar.gz
|
||||||
|
https://github.com/kometbomb/klystron/archive/${V_KLYSTRON}.tar.gz -> klystron-${V_KLYSTRON}.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
DESCRIPTION="A really cool fakebit tracker"
|
DESCRIPTION="A really cool fakebit tracker"
|
||||||
HOMEPAGE="http://kometbomb.github.io/klystrack/"
|
HOMEPAGE="http://kometbomb.github.io/klystrack/"
|
||||||
@ -18,3 +26,19 @@ DEPEND="
|
|||||||
"
|
"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
BDEPEND=""
|
BDEPEND=""
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
git-r3_src_unpack
|
||||||
|
else
|
||||||
|
default
|
||||||
|
mv "${WORKDIR}/${P}-make-fix" "${WORKDIR}/${P}"
|
||||||
|
rm -rf "${S}/klystron" || die
|
||||||
|
cp -r "${WORKDIR}/klystron-${V_KLYSTRON}" "${S}/klystron" || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i "s/} menu.t;/};/" "${S}/klystron/src/gui/menu.h" || die
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user