public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "NP Hardass" <np-hardass@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-wine/
Date: Mon, 10 Apr 2017 17:22:57 +0000 (UTC)	[thread overview]
Message-ID: <1491844908.a40a3dace2c9d0ae3716ccb9c8452613a3ee0758.np-hardass@gentoo> (raw)

commit:     a40a3dace2c9d0ae3716ccb9c8452613a3ee0758
Author:     NP-Hardass <NP-Hardass <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 10 16:48:11 2017 +0000
Commit:     NP Hardass <np-hardass <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 17:21:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a40a3dac

app-eselect/eselect-wine: Eselect module for slotted/split wine

Imported from wine-a-holics overlay

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-eselect/eselect-wine/Manifest                |  1 +
 app-eselect/eselect-wine/eselect-wine-1.0.ebuild | 47 ++++++++++++++++++++++++
 app-eselect/eselect-wine/metadata.xml            |  8 ++++
 3 files changed, 56 insertions(+)

diff --git a/app-eselect/eselect-wine/Manifest b/app-eselect/eselect-wine/Manifest
new file mode 100644
index 00000000000..7a7bb0c432e
--- /dev/null
+++ b/app-eselect/eselect-wine/Manifest
@@ -0,0 +1 @@
+DIST wine.eselect-1.0 18653 SHA256 d8cae88a4f02c27db7e6423ceb4f2cf248af7136d32abda18349b74fa5a293b4 SHA512 cf52c8f5e72efb722f84eb5475f44ef9471122898cf6703d534c7c550d89477904f3da7aab4617be62f84c2d2c6bd8b8e711928436145f8424029f11505b3b8f WHIRLPOOL 70014c35bdf71d95f7c1ecc5d18bfc7a405d869bdb29cf4869f80c17a1e435085242b9ad66867e577279074284918c07778c07087d9561c470f70b12188d2372

diff --git a/app-eselect/eselect-wine/eselect-wine-1.0.ebuild b/app-eselect/eselect-wine/eselect-wine-1.0.ebuild
new file mode 100644
index 00000000000..1dd42a73cde
--- /dev/null
+++ b/app-eselect/eselect-wine/eselect-wine-1.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Manage active wine version"
+HOMEPAGE="http://bitbucket.org/NP-Hardass/eselect-wine"
+SRC_URI="http://bitbucket.org/NP-Hardass/${PN}/raw/v${PV}/wine.eselect -> wine.eselect-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="app-admin/eselect
+	dev-util/desktop-file-utils
+	!!app-emulation/wine:0"
+
+S=${WORKDIR}
+
+src_install() {
+	keepdir /etc/eselect/wine
+
+	insinto /usr/share/eselect/modules
+	newins "${DISTDIR}"/wine.eselect-${PV} wine.eselect
+}
+
+pkg_postinst() {
+	# <eselect-wine-v0.3_rc7 installed symlinks with leading double-slashes.
+	# In /usr/include this breaks gcc build.
+	# http://bugs.gentoo.org/434180
+	if [[ $(readlink "${EROOT%/}"/usr/include/wine) == //* ]]; then
+		ewarn "Leading double slash in ${EPREFIX%/}/usr/include/wine symlink detected."
+		ewarn "Re-setting wine symlinks..."
+		eselect wine update --if-unset
+	fi
+}
+
+pkg_prerm() {
+	# Avoid conflicts with wine[-multislot] installed later
+	if [[ -z ${REPLACED_BY_VERSION} ]]; then
+		elog "${PN} is being uninstalled, removing symlinks"
+		eselect wine unset --all || die
+	else
+		einfo "${PN} is being updated/reinstalled, not modifying symlinks"
+	fi
+}

diff --git a/app-eselect/eselect-wine/metadata.xml b/app-eselect/eselect-wine/metadata.xml
new file mode 100644
index 00000000000..8c68ad9f558
--- /dev/null
+++ b/app-eselect/eselect-wine/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>NP-Hardass@gentoo.org</email>
+		<name>NP-Hardass</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2017-04-10 17:23 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10 17:22 NP Hardass [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-04-11  6:03 [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-wine/ NP Hardass
2017-04-12  1:37 NP Hardass
2017-08-07 14:10 NP Hardass
2017-09-13 23:54 NP Hardass
2017-09-15  6:01 NP Hardass
2017-09-15  6:10 NP Hardass
2017-09-28 22:32 NP Hardass
2017-09-29  3:07 NP Hardass
2021-02-07  1:43 Sam James
2022-07-24  8:26 Joonas Niilola
2022-08-11 18:41 Nick Sarnie
2022-10-12 13:47 Ionen Wolkens
2022-10-12 13:47 Ionen Wolkens
2022-10-12 13:47 Ionen Wolkens
2022-11-16 15:02 Ionen Wolkens
2022-11-16 17:01 Ionen Wolkens
2022-11-17  7:53 Ionen Wolkens
2022-11-20 17:12 Ionen Wolkens
2022-11-23 20:39 Ionen Wolkens
2022-11-23 20:39 Ionen Wolkens
2022-11-29  0:27 Ionen Wolkens
2022-12-02  3:18 Ionen Wolkens
2022-12-02  3:18 Ionen Wolkens
2022-12-03  1:03 Ionen Wolkens
2022-12-03 13:52 Ionen Wolkens
2022-12-03 14:08 Ionen Wolkens
2022-12-03 22:40 Ionen Wolkens
2022-12-05 20:46 Ionen Wolkens
2022-12-29 20:29 Ionen Wolkens
2023-03-03  5:26 Ionen Wolkens
2023-07-30 16:18 Ionen Wolkens
2023-07-30 19:29 Ionen Wolkens
2023-08-06  4:32 Ionen Wolkens
2023-08-23 15:41 Ionen Wolkens
2023-08-23 15:41 Ionen Wolkens
2024-07-25 21:49 Ionen Wolkens
2025-02-14  8:00 Ionen Wolkens

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=1491844908.a40a3dace2c9d0ae3716ccb9c8452613a3ee0758.np-hardass@gentoo \
    --to=np-hardass@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