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

app-emulation/wine-desktop-common: Shared files between variants/slots

Imported from wine-a-holics overlay

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-emulation/wine-desktop-common/Manifest         |  1 +
 app-emulation/wine-desktop-common/metadata.xml     | 12 ++++++
 .../wine-desktop-common-20150204.ebuild            | 45 ++++++++++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/app-emulation/wine-desktop-common/Manifest 
b/app-emulation/wine-desktop-common/Manifest
new file mode 100644
index 00000000000..e51e1263b27
--- /dev/null
+++ b/app-emulation/wine-desktop-common/Manifest
@@ -0,0 +1 @@
+DIST wine-desktop-common-20150204.tar.gz 99491 SHA256 
444ad6b52b5290ec7d160e2cc40e4ba0910b4c4983dba1ceb054b81b09b24b5e SHA512 
1f3d7022c5cff87ed3b8fd3b7cd14397c6f23b98fe6a7c583ac0d2f439ff29d943f57375f23687aa6519ff1d84ff07624a9a712d6f19fa207fd26d01edcb6688
 WHIRLPOOL 
e9810b2952d25c05d831000e00e423de86809ec31b9a033fd4c64a70709da7338a9afc9e632e678f49c789a8a3702fbd0113226770cdb806623f2de371a16f54

diff --git a/app-emulation/wine-desktop-common/metadata.xml 
b/app-emulation/wine-desktop-common/metadata.xml
new file mode 100644
index 00000000000..eab06ddd2fc
--- /dev/null
+++ b/app-emulation/wine-desktop-common/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>np-hard...@gentoo.org</email>
+               <name>NP-Hardass</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>w...@gentoo.org</email>
+               <name>Wine</name>
+       </maintainer>
+</pkgmetadata>

diff --git 
a/app-emulation/wine-desktop-common/wine-desktop-common-20150204.ebuild 
b/app-emulation/wine-desktop-common/wine-desktop-common-20150204.ebuild
new file mode 100644
index 00000000000..b5131486dec
--- /dev/null
+++ b/app-emulation/wine-desktop-common/wine-desktop-common-20150204.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit gnome2-utils
+
+DESCRIPTION="Various desktop menu items and icons for wine"
+HOMEPAGE="https://github.com/NP-Hardass/wine-desktop-common
+       http://dev.gentoo.org/~tetromino/distfiles/wine
+       
http://bazaar.launchpad.net/~ubuntu-wine/wine/ubuntu-debian-dir/files/head:/debian/";
+SRC_URI="http://github.com/NP-Hardass/${PN}/archive/${PV//./}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="!!app-emulation/wine:0"
+PDEPEND="app-eselect/eselect-wine"
+
+# These use a non-standard "Wine" category, which is provided by
+# /etc/xdg/applications-merged/wine.menu
+QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
+usr/share/applications/wine-notepad.desktop
+usr/share/applications/wine-uninstaller.desktop
+usr/share/applications/wine-winecfg.desktop"
+
+S=${WORKDIR}/${PN}-${PV//./}
+
+src_install() {
+       emake install DESTDIR="${D}" EPREFIX="${EPREFIX}"
+}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to