commit: 1bafa35cd8bc7c4ae0f0738310bb14c81b2feb4b Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Fri Feb 6 20:24:26 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Feb 6 22:22:57 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bafa35c
net-irc/iroffer-dinoex: fix translation The script Lang is no longer a shell script but ruby, fix missing dep. Fix the default value of LANGS that results in no binary being install if L10N is undefined. Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/45660 Closes: https://github.com/gentoo/gentoo/pull/45660 Signed-off-by: Sam James <sam <AT> gentoo.org> ...r-dinoex-3.34.ebuild => iroffer-dinoex-3.34-r1.ebuild} | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/net-irc/iroffer-dinoex/iroffer-dinoex-3.34.ebuild b/net-irc/iroffer-dinoex/iroffer-dinoex-3.34-r1.ebuild similarity index 92% rename from net-irc/iroffer-dinoex/iroffer-dinoex-3.34.ebuild rename to net-irc/iroffer-dinoex/iroffer-dinoex-3.34-r1.ebuild index e0b5c8dedd3e..9f4576ca1a5e 100644 --- a/net-irc/iroffer-dinoex/iroffer-dinoex-3.34.ebuild +++ b/net-irc/iroffer-dinoex/iroffer-dinoex-3.34-r1.ebuild @@ -12,12 +12,13 @@ SRC_URI="https://iroffer.net/${P}.tar.gz" LICENSE="GPL-2+-with-openssl-exception MIT blowfish? ( LGPL-2.1+ ) upnp? ( BSD )" SLOT="0" KEYWORDS="~amd64 ~x86" -MY_L10N=( de fr en it tr ) +MY_L10N=( de en fr it tr ) IUSE="+admin +blowfish curl debug geoip gnutls +http +memsave ruby ssl +telnet upnp" IUSE+=" ${MY_L10N[@]/#/l10n_}" REQUIRED_USE="admin? ( http )" +RUBY_DEP="dev-lang/ruby" RDEPEND=" acct-user/iroffer virtual/libcrypt:= @@ -29,7 +30,7 @@ RDEPEND=" ) ) geoip? ( dev-libs/libmaxminddb:= ) - ruby? ( dev-lang/ruby:* ) + ruby? ( ${RUBY_DEP}:* ) ssl? ( gnutls? ( net-libs/gnutls:= ) !gnutls? ( dev-libs/openssl:0= ) @@ -37,18 +38,24 @@ RDEPEND=" upnp? ( net-libs/miniupnpc:= ) " DEPEND="${RDEPEND}" +BDEPEND=" + l10n_de? ( ${RUBY_DEP} ) + l10n_fr? ( ${RUBY_DEP} ) + l10n_it? ( ${RUBY_DEP} ) + l10n_tr? ( ${RUBY_DEP} ) +" PATCHES=( "${FILESDIR}"/${PN}-3.31-config.patch - #"${FILESDIR}"/${PN}-3.34-fix_ssl.patch "${FILESDIR}"/${PN}-3.34-rm_Werror.patch ) src_configure() { + local lang for lang in "${MY_L10N[@]}"; do use "l10n_${lang}" && LANGS+=( "${lang}" ) done - export ${LANGS[@]:-en} + : ${LANGS:=en} myconfargs=( PREFIX="${EPREFIX}/usr"
