1 |
commit: ae60dc775127b8a8bca851b95eba847e4d6f7f9f |
2 |
Author: NP-Hardass <NP-Hardass <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 10 16:52:28 2017 +0000 |
4 |
Commit: NP Hardass <np-hardass <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 10 17:21:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae60dc77 |
7 |
|
8 |
app-emulation/wine-desktop-common: Shared files between variants/slots |
9 |
|
10 |
Imported from wine-a-holics overlay |
11 |
|
12 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
13 |
|
14 |
app-emulation/wine-desktop-common/Manifest | 1 + |
15 |
app-emulation/wine-desktop-common/metadata.xml | 12 ++++++ |
16 |
.../wine-desktop-common-20150204.ebuild | 45 ++++++++++++++++++++++ |
17 |
3 files changed, 58 insertions(+) |
18 |
|
19 |
diff --git a/app-emulation/wine-desktop-common/Manifest b/app-emulation/wine-desktop-common/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..e51e1263b27 |
22 |
--- /dev/null |
23 |
+++ b/app-emulation/wine-desktop-common/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST wine-desktop-common-20150204.tar.gz 99491 SHA256 444ad6b52b5290ec7d160e2cc40e4ba0910b4c4983dba1ceb054b81b09b24b5e SHA512 1f3d7022c5cff87ed3b8fd3b7cd14397c6f23b98fe6a7c583ac0d2f439ff29d943f57375f23687aa6519ff1d84ff07624a9a712d6f19fa207fd26d01edcb6688 WHIRLPOOL e9810b2952d25c05d831000e00e423de86809ec31b9a033fd4c64a70709da7338a9afc9e632e678f49c789a8a3702fbd0113226770cdb806623f2de371a16f54 |
26 |
|
27 |
diff --git a/app-emulation/wine-desktop-common/metadata.xml b/app-emulation/wine-desktop-common/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000000..eab06ddd2fc |
30 |
--- /dev/null |
31 |
+++ b/app-emulation/wine-desktop-common/metadata.xml |
32 |
@@ -0,0 +1,12 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>NP-Hardass@g.o</email> |
38 |
+ <name>NP-Hardass</name> |
39 |
+ </maintainer> |
40 |
+ <maintainer type="project"> |
41 |
+ <email>wine@g.o</email> |
42 |
+ <name>Wine</name> |
43 |
+ </maintainer> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/app-emulation/wine-desktop-common/wine-desktop-common-20150204.ebuild b/app-emulation/wine-desktop-common/wine-desktop-common-20150204.ebuild |
47 |
new file mode 100644 |
48 |
index 00000000000..b5131486dec |
49 |
--- /dev/null |
50 |
+++ b/app-emulation/wine-desktop-common/wine-desktop-common-20150204.ebuild |
51 |
@@ -0,0 +1,45 @@ |
52 |
+# Copyright 1999-2017 Gentoo Foundation |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=5 |
56 |
+ |
57 |
+inherit gnome2-utils |
58 |
+ |
59 |
+DESCRIPTION="Various desktop menu items and icons for wine" |
60 |
+HOMEPAGE="https://github.com/NP-Hardass/wine-desktop-common |
61 |
+ http://dev.gentoo.org/~tetromino/distfiles/wine |
62 |
+ http://bazaar.launchpad.net/~ubuntu-wine/wine/ubuntu-debian-dir/files/head:/debian/" |
63 |
+SRC_URI="http://github.com/NP-Hardass/${PN}/archive/${PV//./}.tar.gz -> ${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="LGPL-2.1" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" |
68 |
+IUSE="" |
69 |
+ |
70 |
+RDEPEND="!!app-emulation/wine:0" |
71 |
+PDEPEND="app-eselect/eselect-wine" |
72 |
+ |
73 |
+# These use a non-standard "Wine" category, which is provided by |
74 |
+# /etc/xdg/applications-merged/wine.menu |
75 |
+QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop |
76 |
+usr/share/applications/wine-notepad.desktop |
77 |
+usr/share/applications/wine-uninstaller.desktop |
78 |
+usr/share/applications/wine-winecfg.desktop" |
79 |
+ |
80 |
+S=${WORKDIR}/${PN}-${PV//./} |
81 |
+ |
82 |
+src_install() { |
83 |
+ emake install DESTDIR="${D}" EPREFIX="${EPREFIX}" |
84 |
+} |
85 |
+ |
86 |
+pkg_preinst() { |
87 |
+ gnome2_icon_savelist |
88 |
+} |
89 |
+ |
90 |
+pkg_postinst() { |
91 |
+ gnome2_icon_cache_update |
92 |
+} |
93 |
+ |
94 |
+pkg_postrm() { |
95 |
+ gnome2_icon_cache_update |
96 |
+} |