commit:     b0a262afc8007eb7bea9fe968b6dfac545ec35df
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  8 19:26:26 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jun  8 19:26:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a262af

sci-libs/libticables2: EAPI 6 -> 8

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 ...2-1.3.5.ebuild => libticables2-1.3.5-r1.ebuild} | 31 ++++++++++++----------
 1 file changed, 17 insertions(+), 14 deletions(-)

diff --git a/sci-libs/libticables2/libticables2-1.3.5.ebuild 
b/sci-libs/libticables2/libticables2-1.3.5-r1.ebuild
similarity index 65%
rename from sci-libs/libticables2/libticables2-1.3.5.ebuild
rename to sci-libs/libticables2/libticables2-1.3.5-r1.ebuild
index 7f0e4f959203..f71abc217606 100644
--- a/sci-libs/libticables2/libticables2-1.3.5.ebuild
+++ b/sci-libs/libticables2/libticables2-1.3.5-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit autotools
 
@@ -17,11 +17,13 @@ IUSE="debug doc nls static-libs usb"
 RDEPEND="
        dev-libs/glib:2
        usb? ( virtual/libusb:1 )
-       nls? ( virtual/libintl )"
-
-DEPEND="${RDEPEND}
+       nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
        virtual/pkgconfig
-       nls? ( sys-devel/gettext )"
+       nls? ( sys-devel/gettext )
+"
 
 DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt )
 
@@ -31,23 +33,24 @@ src_prepare() {
 }
 
 src_configure() {
-       # --disable-libusb $(use_enable usb libusb10) would enable 
virtual/libusb:1
-       econf \
-               --disable-rpath \
-               $(use_enable static-libs static) \
-               $(use_enable debug logging) \
-               $(use_enable nls) \
-               $(use_enable usb libusb) \
+       local myeconfargs=(
+               --disable-rpath
+               $(use_enable static-libs static)
+               $(use_enable debug logging)
+               $(use_enable nls)
+               $(use_enable usb libusb)
                $(use_enable usb libusb10)
+       )
+       econf "${myeconfargs[@]}"
 }
 
 src_install() {
        use doc && HTML_DOCS+=( docs/html/. )
        default
-       find "${D}" -name '*.la' -delete || die
+       find "${D}" -type f -name '*.la' -delete || die
 }
 
 pkg_postinst() {
-       elog "Please read README in ${EROOT%/}/usr/share/doc/${PF}"
+       elog "Please read README in ${EROOT}/usr/share/doc/${PF}"
        elog "if you encounter any problem with a link cable"
 }

Reply via email to