diff --git a/media-libs/libltc/libltc-1.3.2.ebuild b/media-libs/libltc/libltc-1.3.2.ebuild index 48b679efc14b6..19a2a8ecf8137 100644 --- a/media-libs/libltc/libltc-1.3.2.ebuild +++ b/media-libs/libltc/libltc-1.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,6 +9,7 @@ if [[ ${PV} == *9999 ]]; then inherit git-r3 autotools EGIT_REPO_URI="https://github.com/x42/libltc" else + inherit libtool SRC_URI="https://github.com/x42/libltc/releases/download/v${PV}/${P}.tar.gz" KEYWORDS="amd64" fi @@ -19,7 +20,11 @@ RESTRICT="mirror" src_prepare() { default - [[ ${PV} == *9999 ]] && eautoreconf + if [[ ${PV} = *9999 ]]; then + eautoreconf + else + elibtoolize + fi } src_install() { diff --git a/media-libs/libltc/libltc-9999.ebuild b/media-libs/libltc/libltc-9999.ebuild index 1151950f7c7ab..3049a511a9852 100644 --- a/media-libs/libltc/libltc-9999.ebuild +++ b/media-libs/libltc/libltc-9999.ebuild @@ -9,6 +9,7 @@ if [[ ${PV} == *9999 ]]; then inherit git-r3 autotools EGIT_REPO_URI="https://github.com/x42/libltc" else + inherit libtool SRC_URI="https://github.com/x42/libltc/releases/download/v${PV}/${P}.tar.gz" KEYWORDS="~amd64" fi @@ -19,7 +20,11 @@ RESTRICT="mirror" src_prepare() { default - [[ ${PV} == *9999 ]] && eautoreconf + if [[ ${PV} = *9999 ]]; then + eautoreconf + else + elibtoolize + fi } src_install() {