public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arsen Arsenović" <arsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-wxwidgets/
Date: Sat, 21 Jan 2023 11:58:10 +0000 (UTC)	[thread overview]
Message-ID: <1674302031.3c1f3ac92423d0c4d4bf63c997b4ff36be39cfde.arsen@gentoo> (raw)

commit:     3c1f3ac92423d0c4d4bf63c997b4ff36be39cfde
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 11:50:58 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 11:53:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c1f3ac9

app-eselect/eselect-wxwidgets: add 20230114-r1, drop broken sed

Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 .../eselect-wxwidgets-20230114-r1.ebuild           | 50 ++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20230114-r1.ebuild b/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20230114-r1.ebuild
new file mode 100644
index 000000000000..6a3f5190a859
--- /dev/null
+++ b/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20230114-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib
+
+WXWRAP_VER=1.4
+
+DESCRIPTION="Eselect module and wrappers for wxWidgets"
+HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-wxwidgets.git/"
+SRC_URI="https://dev.gentoo.org/~sam/distfiles/app-eselect/eselect-wxwidgets/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+
+RDEPEND=">=app-admin/eselect-1.4.13"
+
+src_prepare() {
+	sed \
+		-e "/^LIBDIR=/s:lib:$(get_libdir):" \
+		-e "/^EPREFIX=/s:'':'${EPREFIX}':" \
+		-i {wx-config,wxrc}-"${WXWRAP_VER}" || die
+	eapply_user
+}
+
+src_install() {
+	insinto /usr/share/eselect/modules
+	doins wxwidgets.eselect
+
+	insinto /usr/share/aclocal
+	newins wxwin.m4-3.0 wxwin.m4
+
+	newbin "wx-config-${WXWRAP_VER}" wx-config
+	newbin "wxrc-${WXWRAP_VER}" wxrc
+
+	keepdir /var/lib/wxwidgets
+	keepdir /usr/share/bakefile/presets
+}
+
+pkg_postinst() {
+	if [[ ! -e ${EROOT}/var/lib/wxwidgets/current ]]; then
+		echo 'WXCONFIG="none"' > "${EROOT}"/var/lib/wxwidgets/current
+	fi
+
+	elog "This eselect module only controls the version of wxGTK used when"
+	elog "building packages outside of portage.  If you are not doing development"
+	elog "with wxWidgets or bakefile you will never need to use it."
+}


             reply	other threads:[~2023-01-21 11:58 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-21 11:58 Arsen Arsenović [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-01  7:22 [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-wxwidgets/ Arthur Zamarin
2023-05-01  2:33 Sam James
2023-05-01  2:33 Sam James
2023-04-25  0:35 Sam James
2023-04-19 11:07 Sam James
2023-04-19  8:44 Arthur Zamarin
2023-04-19  8:29 Arthur Zamarin
2023-02-10  4:51 WANG Xuerui
2023-01-21 11:58 Arsen Arsenović
2023-01-20 22:18 Arsen Arsenović
2022-12-04 17:28 WANG Xuerui
2022-01-29 11:13 Jakov Smolić
2021-07-26 15:45 Marek Szuba
2021-04-30 23:35 Sam James
2021-02-07  1:43 Sam James
2021-01-06 13:12 Fabian Groffen
2019-07-28 10:57 Mikle Kolyada
2019-05-26  7:04 Sergei Trofimovich
2019-05-24 22:50 Sergei Trofimovich
2019-05-24 22:08 Sergei Trofimovich
2019-05-22  7:36 Sergei Trofimovich
2019-05-20 17:50 Sergei Trofimovich
2019-05-20 17:22 Aaron Bauman
2019-05-20 10:59 Mikle Kolyada
2018-08-30 17:00 Ulrich Müller
2017-06-21 10:27 Alexis Ballier
2017-01-29 14:49 Fabian Groffen
2016-11-14  2:01 Christoph Junghans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1674302031.3c1f3ac92423d0c4d4bf63c997b4ff36be39cfde.arsen@gentoo \
    --to=arsen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox