summaryrefslogtreecommitdiff
path: root/app-emulation/winetricks
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/winetricks
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/winetricks')
-rw-r--r--app-emulation/winetricks/Manifest7
-rw-r--r--app-emulation/winetricks/metadata.xml26
-rw-r--r--app-emulation/winetricks/winetricks-20170823.ebuild87
-rw-r--r--app-emulation/winetricks/winetricks-99999999.ebuild87
4 files changed, 207 insertions, 0 deletions
diff --git a/app-emulation/winetricks/Manifest b/app-emulation/winetricks/Manifest
new file mode 100644
index 000000000000..ec3f75e8d8a9
--- /dev/null
+++ b/app-emulation/winetricks/Manifest
@@ -0,0 +1,7 @@
+DIST winetricks-20170823.tar.gz 639027 SHA256 0e7e007b0dd39f773213a5540e7c44e4105d9435ef067c0efdcc6fda70c029de SHA512 edc805be1a1c4fa64ae16b14fdd46786e259b88a0cde7afdf24bf934fa79f4acf3d9e599727fa589f155ec265569953b9e419cda79d54057157cbb1510261e3a WHIRLPOOL f1d556a36b20982a1a41514aea60c2834f40bfb0cbb6512cfcbe3bdef5dc07fdc585c06acb0b8c372dfbc3b549ee0bb52b907fc818e598676b27e1f8669f3eba
+DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 SHA256 dded8c294cc5c2e71e4a5d1531ab165178cf3d2d1d890d0656368c2e499bfeb9 SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a WHIRLPOOL 268da9e06712a678fbbcfff8eac1fca364b5e46f0a9c48a591eb88f03260b1a55f203eb2908bfe1f0a534b77c866127ff6f7049b0e43fe8abeaaa26fe55de75b
+EBUILD winetricks-20170823.ebuild 1875 SHA256 8bb2af93de26d5b2c2f37a9c09936b4df8c6d53f2103538ec66397a072ac5f06 SHA512 7b0bc4f0c62cb915fa858b6a5b258078515aa4f0b5e851c9186ce47b46751f4ea3207afea276a1813b0b2fc42422c626c22f182b163546417dbc53e5b95dc03f WHIRLPOOL 155003cd616ca1790e2ba6ffc2e8a366c77d7523175b094f861998f540313b4651dcdc7366d6cce84e83ca0d6f13b040a41be54239dd2040c347af928e6aa390
+EBUILD winetricks-99999999.ebuild 1877 SHA256 ff0b8a51c5bbae066b90afded8120d5f805f8a7a804d22faf94d5175e57427de SHA512 87010e123601d87c6d66f84759111a80923bc6ef40e6bbf38b09407113c1c09ff0b263b9c69d56e34a3d7b78ff740a0ca8fecb914a7eee147d39d20d8149467c WHIRLPOOL 80e29779e1fa1186749d35e79ffa7e17ad71da5e9b7f94bea4e6ef7c5662c82683a4ee5c91425d5b82c12154ba0375a66ca06bf84c625ab7d73778deea359720
+MISC ChangeLog 5508 SHA256 e435cd8dd2cd06771bc0b6c880aa3d39a00a12af53228b048a061e259ea2201f SHA512 9491ef3b56b6370048a996984b3833423bb1eb6827d6744c47e2c7bd5b0e8e1c25251c0a94655b3d769f7f0c164413101852e3e9bd686fe28c841d1a390c86f6 WHIRLPOOL 76e195e60cdee401e90dc992ddbb4ba49394a480326d2f37b4eaff4541d652b9d12ad1afb25f1fb0bf3aa7013b9c428568dfe7dbbc09d9f06be4abd90395c8ab
+MISC ChangeLog-2015 7705 SHA256 85e49ccc477724b50d0a6463ba21ec5b5c9b9c98f30c10f60b6a6df9bb76b898 SHA512 4a68dfe95bf60ab83873af11025c9d66e2a1801b5f7b58bd96baf0a0ff44144b2a77c8b0edca49d2384bd5fb4ebc982d7a8db61430acd346925abca57f0149e9 WHIRLPOOL 0799bf2386eb0c9754d79d61eb590bdfb3526253d8a0078c08d86cda8c61169ce88c4081f7ccc7a79b28c4f724c78176c1129cf56fb37472c3c7c7b7d0e5d126
+MISC metadata.xml 847 SHA256 ced2745519dee924ca19fe79e5610d99d323dc24b45ecbf74d7453c96f9490d8 SHA512 54a9b20cf84169fdad35f89857cf5bd7d17906a53c760079f789653f89d5dece00fb8bfd8014d1603159cfd72fe0b9d93b1e28c0c788b522c642f224d7d22f10 WHIRLPOOL a8a5571d8e8ef8d39e81690656256e14baf1e81419ff37603dd92bf04122612e0a9f1e1124d48b9d0e630e76012ed7084ca2cb763444349e2be208c29abc22de
diff --git a/app-emulation/winetricks/metadata.xml b/app-emulation/winetricks/metadata.xml
new file mode 100644
index 000000000000..424fb745ffea
--- /dev/null
+++ b/app-emulation/winetricks/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>Chiitoo@gentoo.org</email>
+ <name>Jimi Huotari</name>
+ <description>Proxied maintainer; assign all bugs to him</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>NP-Hardass@gentoo.org</email>
+ <name>NP-Hardass</name>
+ <description>Proxy maintainer; CC on all bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>wine@gentoo.org</email>
+ <name>Wine</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">winetricks</remote-id>
+ <remote-id type="github">Winetricks/winetricks</remote-id>
+ </upstream>
+ <use>
+ <flag name="rar">Pull in <pkg>app-arch/unrar</pkg> for extraction of
+ rar-compressed game files</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-emulation/winetricks/winetricks-20170823.ebuild b/app-emulation/winetricks/winetricks-20170823.ebuild
new file mode 100644
index 000000000000..b1e5c8b6517a
--- /dev/null
+++ b/app-emulation/winetricks/winetricks-20170823.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils eutils
+
+if [[ ${PV} == "99999999" ]] ; then
+ EGIT_REPO_URI="https://github.com/Winetricks/${PN}.git"
+ inherit git-r3
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 x86"
+fi
+
+wtg=winetricks-gentoo-2012.11.24
+
+SRC_URI="${SRC_URI}
+ gtk? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )
+ kde? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )"
+
+DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine"
+HOMEPAGE="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winetricks"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="gtk kde rar"
+
+DEPEND=""
+RDEPEND="app-arch/cabextract
+ app-arch/p7zip
+ app-arch/unzip
+ net-misc/wget
+ x11-misc/xdg-utils
+ || (
+ app-emulation/wine
+ virtual/wine
+ )
+ gtk? ( gnome-extra/zenity )
+ kde? ( kde-apps/kdialog )
+ rar? ( app-arch/unrar )"
+
+# Uses non-standard "Wine" category, which is provided by app-emulation/wine; #451552
+QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop"
+
+# Tests require network access and run Wine, which is unreliable from a portage environment.
+RESTRICT="test"
+
+src_unpack() {
+ if [[ ${PV} == "99999999" ]] ; then
+ git-r3_src_unpack
+ if use gtk || use kde; then
+ unpack ${wtg}.tar.bz2
+ fi
+ else
+ default
+ fi
+}
+
+src_install() {
+ default
+ if use gtk || use kde; then
+ cd "${WORKDIR}/${wtg}" || die
+ domenu winetricks.desktop
+ insinto /usr/share/icons/hicolor/scalable/apps
+ doins wine-winetricks.svg
+ fi
+}
+
+pkg_preinst() {
+ if use gtk || use kde; then
+ gnome2_icon_savelist
+ fi
+}
+
+pkg_postinst() {
+ if use gtk || use kde; then
+ gnome2_icon_cache_update
+ fi
+}
+
+pkg_postrm() {
+ if use gtk || use kde; then
+ gnome2_icon_cache_update
+ fi
+}
diff --git a/app-emulation/winetricks/winetricks-99999999.ebuild b/app-emulation/winetricks/winetricks-99999999.ebuild
new file mode 100644
index 000000000000..655af7ae3133
--- /dev/null
+++ b/app-emulation/winetricks/winetricks-99999999.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils eutils
+
+if [[ ${PV} == "99999999" ]] ; then
+ EGIT_REPO_URI="https://github.com/Winetricks/${PN}.git"
+ inherit git-r3
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+wtg=winetricks-gentoo-2012.11.24
+
+SRC_URI="${SRC_URI}
+ gtk? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )
+ kde? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )"
+
+DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine"
+HOMEPAGE="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winetricks"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="gtk kde rar"
+
+DEPEND=""
+RDEPEND="app-arch/cabextract
+ app-arch/p7zip
+ app-arch/unzip
+ net-misc/wget
+ x11-misc/xdg-utils
+ || (
+ app-emulation/wine
+ virtual/wine
+ )
+ gtk? ( gnome-extra/zenity )
+ kde? ( kde-apps/kdialog )
+ rar? ( app-arch/unrar )"
+
+# Uses non-standard "Wine" category, which is provided by app-emulation/wine; #451552
+QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop"
+
+# Tests require network access and run Wine, which is unreliable from a portage environment.
+RESTRICT="test"
+
+src_unpack() {
+ if [[ ${PV} == "99999999" ]] ; then
+ git-r3_src_unpack
+ if use gtk || use kde; then
+ unpack ${wtg}.tar.bz2
+ fi
+ else
+ default
+ fi
+}
+
+src_install() {
+ default
+ if use gtk || use kde; then
+ cd "${WORKDIR}/${wtg}" || die
+ domenu winetricks.desktop
+ insinto /usr/share/icons/hicolor/scalable/apps
+ doins wine-winetricks.svg
+ fi
+}
+
+pkg_preinst() {
+ if use gtk || use kde; then
+ gnome2_icon_savelist
+ fi
+}
+
+pkg_postinst() {
+ if use gtk || use kde; then
+ gnome2_icon_cache_update
+ fi
+}
+
+pkg_postrm() {
+ if use gtk || use kde; then
+ gnome2_icon_cache_update
+ fi
+}