diff options
author | NP-Hardass <NP-Hardass@gentoo.org> | 2017-04-10 12:52:28 -0400 |
---|---|---|
committer | NP-Hardass <NP-Hardass@gentoo.org> | 2017-04-10 13:21:50 -0400 |
commit | ae60dc775127b8a8bca851b95eba847e4d6f7f9f (patch) | |
tree | b7a7a48dc9b0174e70f03b778e05b089e277f697 /app-emulation | |
parent | app-eselect/eselect-wine: Eselect module for slotted/split wine (diff) | |
download | gentoo-ae60dc775127b8a8bca851b95eba847e4d6f7f9f.tar.gz gentoo-ae60dc775127b8a8bca851b95eba847e4d6f7f9f.tar.bz2 gentoo-ae60dc775127b8a8bca851b95eba847e4d6f7f9f.zip |
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
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/wine-desktop-common/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/wine-desktop-common/metadata.xml | 12 | ||||
-rw-r--r-- | app-emulation/wine-desktop-common/wine-desktop-common-20150204.ebuild | 45 |
3 files changed, 58 insertions, 0 deletions
diff --git a/app-emulation/wine-desktop-common/Manifest b/app-emulation/wine-desktop-common/Manifest new file mode 100644 index 000000000000..e51e1263b272 --- /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 000000000000..eab06ddd2fc7 --- /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-Hardass@gentoo.org</email> + <name>NP-Hardass</name> + </maintainer> + <maintainer type="project"> + <email>wine@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 000000000000..b5131486decd --- /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 +} |