diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-emulation/playonlinux | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-emulation/playonlinux')
-rw-r--r-- | app-emulation/playonlinux/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/playonlinux/files/playonlinux-4.2.4-binary-plugin.patch | 17 | ||||
-rw-r--r-- | app-emulation/playonlinux/files/playonlinux-4.2.4-pol-bash.patch | 35 | ||||
-rw-r--r-- | app-emulation/playonlinux/files/playonlinux-4.2.6-stop-update-warning.patch | 17 | ||||
-rw-r--r-- | app-emulation/playonlinux/files/playonlinux-pkg.1 | 33 | ||||
-rw-r--r-- | app-emulation/playonlinux/files/playonlinux.1 | 33 | ||||
-rw-r--r-- | app-emulation/playonlinux/metadata.xml | 13 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.2.4.ebuild | 118 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.2.6.ebuild | 121 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.2.8.ebuild | 121 |
10 files changed, 511 insertions, 0 deletions
diff --git a/app-emulation/playonlinux/Manifest b/app-emulation/playonlinux/Manifest new file mode 100644 index 000000000000..f7a1477161b0 --- /dev/null +++ b/app-emulation/playonlinux/Manifest @@ -0,0 +1,3 @@ +DIST PlayOnLinux_4.2.4.tar.gz 4638249 SHA256 cc6f9c41c9f91278d995d14b7be6bd86c765cf41351c80e885df29da40b57554 SHA512 1f200e43da4e43b6687cc05243cb9375d312c5382d4d82f06f574cc4a1a4322568ed429abc463d830cfcc1a818d0cc93147fbc60858a6b19872b55a479c8c58c WHIRLPOOL d09c5439a618d99af0ae380cb39a8e92acd47869190f984981e9cdc91272da48c6731457d0a23383c47219371bdf9d6018fe89a7acaaba32fc96221b58406d99 +DIST PlayOnLinux_4.2.6.tar.gz 3202517 SHA256 34fc06ce55f889673529a405d17ffc045a68cc998a679377056ed63988dd64e2 SHA512 41c4af5335874020f6405f460a0b9787f7dcfb77790661ff254d2af7ff107a94020b75a8b4f1856f1e4b866e63dee49d5823edf4867d64cd20c41b17387f5490 WHIRLPOOL 4278cc00c76abfeecb87d125046a977c69d5e62b751481ffa5ed4ca4a911507bc6b650bd8648cc7b4cd794e7f0c9e91197adc3854c963770bd87a535d83ab562 +DIST PlayOnLinux_4.2.8.tar.gz 3168086 SHA256 2ae8d5132706f3c697d0a53573c5835938dd042b620eb76790181b285797985c SHA512 8b9c934bf3591030dc9922757eadb09db34fee7c5a5ee8b800c831ee1b99e55959c0b66f645a89d3dc5d7287438da3a26c6877076175272e199221231accba12 WHIRLPOOL cbaafa8f0f90c89931135c0fbcd91df00676fde4e0e9305a3d8f52234a51b96682e5a4aca14138f1f3f54ac43f69d38b7186667fcab97c72fa8043c3ffbd68d6 diff --git a/app-emulation/playonlinux/files/playonlinux-4.2.4-binary-plugin.patch b/app-emulation/playonlinux/files/playonlinux-4.2.4-binary-plugin.patch new file mode 100644 index 000000000000..d5d3727e9fb0 --- /dev/null +++ b/app-emulation/playonlinux/files/playonlinux-4.2.4-binary-plugin.patch @@ -0,0 +1,17 @@ +Description: Remove binary code from the package + Upstream ships a binary plugin in the archive. This plugin is not necessary to + get PlayOnLinux working and it still can be downloaded from upstream. +Forwarded: not-needed +Author: Bertrand Marc <beberking@gmail.com> +--- a/plugins/plugins.lst ++++ b/plugins/plugins.lst +@@ -21,9 +21,6 @@ + + ## in fact empty line is also ignored because it's more easy to read =) + +-##Capture +-capture;Capture_2.4.3.pol;Capture;enable;2.4.3;11;1;0 +- + ##Screencap + screencap;ScreenCap_0.0.4.pol;ScreenCap;enable;0.0.4;1;1;1 + diff --git a/app-emulation/playonlinux/files/playonlinux-4.2.4-pol-bash.patch b/app-emulation/playonlinux/files/playonlinux-4.2.4-pol-bash.patch new file mode 100644 index 000000000000..f9b3e2b81c29 --- /dev/null +++ b/app-emulation/playonlinux/files/playonlinux-4.2.4-pol-bash.patch @@ -0,0 +1,35 @@ +diff --git a/etc/pol_bash b/etc/pol_bash +index 7911f05..bd891e4 100644 +--- a/etc/pol_bash ++++ b/etc/pol_bash +@@ -29,7 +29,15 @@ export HISTCONTROL=ignoreboth + shopt -s checkwinsize + + # make less more friendly for non-text input files, see lesspipe(1) +-[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)" ++less_pipe_cmd=$(lesspipe 2> /dev/null) ++if [ "$less_pipe_cmd" == export* ]; then ++ eval "$(lesspipe)" ++else ++ if [ -x /usr/bin/lesspipe ]; then ++ export LESSOPEN='| lesspipe %s' ++ fi ++fi ++unset less_pipe_cmd + + # set variable identifying the chroot you work in (used in the prompt below) + if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then +@@ -73,7 +81,9 @@ fi + # enable programmable completion features (you don't need to enable + # this, if it's already enabled in /etc/bash.bashrc and /etc/profile + # sources /etc/bash.bashrc). +-if [ -f /etc/bash_completion ]; then +- . /etc/bash_completion +-fi +- ++for bashcomp in /etc/{bash_completion,profile.d/bash-completion.sh}; do ++ if [ -r "$bashcomp" ]; then ++ . "$bashcomp" ++ fi ++done ++unset bashcomp diff --git a/app-emulation/playonlinux/files/playonlinux-4.2.6-stop-update-warning.patch b/app-emulation/playonlinux/files/playonlinux-4.2.6-stop-update-warning.patch new file mode 100644 index 000000000000..3e93adb0f2c2 --- /dev/null +++ b/app-emulation/playonlinux/files/playonlinux-4.2.6-stop-update-warning.patch @@ -0,0 +1,17 @@ +# This patch enables the DEBIAN_PACKGE for playonlinux. +# The changes are described in the source comments below. +# The flag is unfortnuately named debian, however the +# benefits apply to any package management system. +# Patch written by Adam Mills <adam@armills.info> + +--- python/lib/Variables.py 2013-08-10 22:19:46.053365072 -0400 ++++ python/lib/Variables-patched.py 2013-08-10 22:17:58.275881842 -0400 +@@ -26,7 +26,7 @@ + # Debian packagers should switch this to TRUE + # It will disable update alerts, bug reports, statistics + # It will set the good locale directory, and it will use the good msttcorefonts +-os.environ["DEBIAN_PACKAGE"] = "FALSE" ++os.environ["DEBIAN_PACKAGE"] = "TRUE" + + # Variables PlayOnMac + if (os.environ["POL_OS"] == "Mac"): diff --git a/app-emulation/playonlinux/files/playonlinux-pkg.1 b/app-emulation/playonlinux/files/playonlinux-pkg.1 new file mode 100644 index 000000000000..b96a8dc921da --- /dev/null +++ b/app-emulation/playonlinux/files/playonlinux-pkg.1 @@ -0,0 +1,33 @@ +.TH PLAYONLINUX-PKG 1 "February 6, 2009" + +.SH NAME +playonlinux-pkg \- tool to manage playonlinux packages + +.SH SYNOPSIS +.B playonlinux-pkg +.RI [ options ] +.RI [ package ] + +.SH DESCRIPTION +.B playonlinux-pkg +is a tool to install or manage the playonlinux packages + +.SH OPTIONS +.TP +.I "-b, --browse" + Choose a file. +.TP +.I "-e, --extract" + Extract the package. +.TP +.I "-i, --install" + Install the package. +.TP +.I "-h, --help" + Show usage. + +.SH AUTHOR +playonlinux was written by Quentin Pâris <qparis@playonlinux.com>. +.PP +This manual page was written by Bertrand Marc <beberking@gmail.com>, +for the Debian project (but may be used by others). diff --git a/app-emulation/playonlinux/files/playonlinux.1 b/app-emulation/playonlinux/files/playonlinux.1 new file mode 100644 index 000000000000..63c499be7327 --- /dev/null +++ b/app-emulation/playonlinux/files/playonlinux.1 @@ -0,0 +1,33 @@ +.TH PLAYONLINUX 1 "February 6, 2009" + +.SH NAME +PlayOnLinux \- front-end for Wine + +.SH SYNOPSIS +.B playonlinux +.RI [ options ] + +.SH DESCRIPTION +.B PlayOnLinux +is a front-end for Wine. It allows you to easily install and use numerous games and software designed to run with Microsoft®'s Windows®. +.br +Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system. +.P +.B PlayOnLinux +performs installations in +.I ~/.PlayOnLinux +and uses separate Wine prefixes to avoid conflicts between applications. + +.SH OPTIONS +.TP +.I --version + Show version number and exit. +.TP +.I "--run <prog>" + Run directly the specified program. + +.SH AUTHOR +playonlinux was written by Quentin Pâris <qparis@playonlinux.com>. +.PP +This manual page was written by Bertrand Marc <beberking@gmail.com>, +for the Debian project (but may be used by others). diff --git a/app-emulation/playonlinux/metadata.xml b/app-emulation/playonlinux/metadata.xml new file mode 100644 index 000000000000..d94fe6d47e49 --- /dev/null +++ b/app-emulation/playonlinux/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>wine</herd> + <maintainer> + <email>np-hardass@gentoo.org</email> + <name>NP-Hardass</name> + </maintainer> + <use> + <flag name="winbind">Enables support for the winbind auth daemon</flag> + </use> +</pkgmetadata> + diff --git a/app-emulation/playonlinux/playonlinux-4.2.4.ebuild b/app-emulation/playonlinux/playonlinux-4.2.4.ebuild new file mode 100644 index 000000000000..51153395dddb --- /dev/null +++ b/app-emulation/playonlinux/playonlinux-4.2.4.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2-utils python-single-r1 games + +MY_PN="PlayOnLinux" + +DESCRIPTION="Set of scripts to easily install and use Windows games and software" +HOMEPAGE="http://playonlinux.com/" +SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="winbind" + +DEPEND="" +RDEPEND="app-emulation/wine + app-arch/cabextract + app-arch/p7zip + app-arch/unzip + app-crypt/gnupg + dev-python/wxpython:2.8[${PYTHON_USEDEP}] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + net-misc/wget + x11-apps/mesa-progs + x11-terms/xterm + media-gfx/icoutils + || ( net-analyzer/netcat net-analyzer/netcat6 ) + winbind? ( net-fs/samba[winbind] ) " + +S=${WORKDIR}/${PN} + +# TODO: +# Having a real install script and let playonlinux use standard filesystem +# architecture to prevent having everything installed into GAMES_DATADIR +# It will let using LANGUAGES easily +# How to deal with Microsoft Fonts installation asked every time ? +# How to deal with wine version installed ? (have a better mgmt of system one) +# Look at debian pkg: http://packages.debian.org/sid/playonlinux + +pkg_setup() { + python-single-r1_pkg_setup + games_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-4.2.4-pol-bash.patch" + epatch "${FILESDIR}/${PN}-4.2.4-binary-plugin.patch" + + python_fix_shebang . + + # remove playonmac + rm etc/{playonmac.icns,terminal.applescript} || die + + # remove desktop integration + rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programmes.menu} || die +} + +src_install() { + # all things without exec permissions + insinto "${GAMES_DATADIR}/${PN}" + doins -r resources lang lib etc plugins + + # bash/ install + exeinto "${GAMES_DATADIR}/${PN}/bash" + find "${S}/bash" -type f -exec doexe '{}' + + exeinto "${GAMES_DATADIR}/${PN}/bash/expert" + find "${S}/bash/expert" -type f -exec doexe '{}' + + + # python/ install + python_moduleinto "${GAMES_DATADIR}/${PN}" + python_domodule python + + # main executable files + exeinto "${GAMES_DATADIR}/${PN}" + doexe ${PN}{,-pkg,-bash,-shell,-url_handler} + + # icons + doicon -s 128 etc/${PN}.png + for size in 16 22 32; do + newicon -s $size etc/${PN}$size.png ${PN}.png + done + + doman "${FILESDIR}"/playonlinux{,-pkg}.1 + dodoc CHANGELOG.md + + games_make_wrapper ${PN} "./${PN}" "${GAMES_DATADIR}/${PN}" + games_make_wrapper ${PN}-pkg "./${PN}-pkg" "${GAMES_DATADIR}/${PN}" + make_desktop_entry ${PN} ${MY_PN} ${PN} Game + + prepgamesdirs +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_prerm() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "Installed softwares and games with playonlinux have not been removed." + elog "To remove them, you can re-install playonlinux and remove them using it" + elog "or do it manually by removing .PlayOnLinux/ in your home directory." + fi +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/app-emulation/playonlinux/playonlinux-4.2.6.ebuild b/app-emulation/playonlinux/playonlinux-4.2.6.ebuild new file mode 100644 index 000000000000..9c7e063e98e4 --- /dev/null +++ b/app-emulation/playonlinux/playonlinux-4.2.6.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2-utils python-single-r1 games + +MY_PN="PlayOnLinux" + +DESCRIPTION="Set of scripts to easily install and use Windows games and software" +HOMEPAGE="http://playonlinux.com/" +SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="winbind" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="" +RDEPEND="app-emulation/wine + app-arch/cabextract + app-arch/p7zip + app-arch/unzip + app-crypt/gnupg + dev-python/wxpython:2.8[${PYTHON_USEDEP}] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + net-misc/wget + x11-apps/mesa-progs + x11-terms/xterm + media-gfx/icoutils + || ( net-analyzer/netcat net-analyzer/netcat6 ) + winbind? ( net-fs/samba[winbind] ) " + +S=${WORKDIR}/${PN} + +# TODO: +# Having a real install script and let playonlinux use standard filesystem +# architecture to prevent having everything installed into GAMES_DATADIR +# It will let using LANGUAGES easily +# How to deal with Microsoft Fonts installation asked every time ? +# How to deal with wine version installed ? (have a better mgmt of system one) +# Look at debian pkg: http://packages.debian.org/sid/playonlinux + +pkg_setup() { + python-single-r1_pkg_setup + games_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-4.2.4-pol-bash.patch" + epatch "${FILESDIR}/${PN}-4.2.4-binary-plugin.patch" + epatch "${FILESDIR}/${PN}-4.2.6-stop-update-warning.patch" + + python_fix_shebang . + + # remove playonmac + rm etc/{playonmac.icns,terminal.applescript} || die + + # remove desktop integration + rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programmes.menu} || die +} + +src_install() { + # all things without exec permissions + insinto "${GAMES_DATADIR}/${PN}" + doins -r resources lang lib etc plugins + + # bash/ install + exeinto "${GAMES_DATADIR}/${PN}/bash" + find "${S}/bash" -type f -exec doexe '{}' + + exeinto "${GAMES_DATADIR}/${PN}/bash/expert" + find "${S}/bash/expert" -type f -exec doexe '{}' + + + # python/ install + python_moduleinto "${GAMES_DATADIR}/${PN}" + python_domodule python + + # main executable files + exeinto "${GAMES_DATADIR}/${PN}" + doexe ${PN}{,-pkg,-bash,-shell,-url_handler} + + # icons + doicon -s 128 etc/${PN}.png + for size in 16 22 32; do + newicon -s $size etc/${PN}$size.png ${PN}.png + done + + doman "${FILESDIR}"/playonlinux{,-pkg}.1 + dodoc CHANGELOG.md + + games_make_wrapper ${PN} "./${PN}" "${GAMES_DATADIR}/${PN}" + games_make_wrapper ${PN}-pkg "./${PN}-pkg" "${GAMES_DATADIR}/${PN}" + make_desktop_entry ${PN} ${MY_PN} ${PN} Game + + prepgamesdirs +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_prerm() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "Installed softwares and games with playonlinux have not been removed." + elog "To remove them, you can re-install playonlinux and remove them using it" + elog "or do it manually by removing .PlayOnLinux/ in your home directory." + fi +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/app-emulation/playonlinux/playonlinux-4.2.8.ebuild b/app-emulation/playonlinux/playonlinux-4.2.8.ebuild new file mode 100644 index 000000000000..9c7e063e98e4 --- /dev/null +++ b/app-emulation/playonlinux/playonlinux-4.2.8.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2-utils python-single-r1 games + +MY_PN="PlayOnLinux" + +DESCRIPTION="Set of scripts to easily install and use Windows games and software" +HOMEPAGE="http://playonlinux.com/" +SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="winbind" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="" +RDEPEND="app-emulation/wine + app-arch/cabextract + app-arch/p7zip + app-arch/unzip + app-crypt/gnupg + dev-python/wxpython:2.8[${PYTHON_USEDEP}] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + net-misc/wget + x11-apps/mesa-progs + x11-terms/xterm + media-gfx/icoutils + || ( net-analyzer/netcat net-analyzer/netcat6 ) + winbind? ( net-fs/samba[winbind] ) " + +S=${WORKDIR}/${PN} + +# TODO: +# Having a real install script and let playonlinux use standard filesystem +# architecture to prevent having everything installed into GAMES_DATADIR +# It will let using LANGUAGES easily +# How to deal with Microsoft Fonts installation asked every time ? +# How to deal with wine version installed ? (have a better mgmt of system one) +# Look at debian pkg: http://packages.debian.org/sid/playonlinux + +pkg_setup() { + python-single-r1_pkg_setup + games_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-4.2.4-pol-bash.patch" + epatch "${FILESDIR}/${PN}-4.2.4-binary-plugin.patch" + epatch "${FILESDIR}/${PN}-4.2.6-stop-update-warning.patch" + + python_fix_shebang . + + # remove playonmac + rm etc/{playonmac.icns,terminal.applescript} || die + + # remove desktop integration + rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programmes.menu} || die +} + +src_install() { + # all things without exec permissions + insinto "${GAMES_DATADIR}/${PN}" + doins -r resources lang lib etc plugins + + # bash/ install + exeinto "${GAMES_DATADIR}/${PN}/bash" + find "${S}/bash" -type f -exec doexe '{}' + + exeinto "${GAMES_DATADIR}/${PN}/bash/expert" + find "${S}/bash/expert" -type f -exec doexe '{}' + + + # python/ install + python_moduleinto "${GAMES_DATADIR}/${PN}" + python_domodule python + + # main executable files + exeinto "${GAMES_DATADIR}/${PN}" + doexe ${PN}{,-pkg,-bash,-shell,-url_handler} + + # icons + doicon -s 128 etc/${PN}.png + for size in 16 22 32; do + newicon -s $size etc/${PN}$size.png ${PN}.png + done + + doman "${FILESDIR}"/playonlinux{,-pkg}.1 + dodoc CHANGELOG.md + + games_make_wrapper ${PN} "./${PN}" "${GAMES_DATADIR}/${PN}" + games_make_wrapper ${PN}-pkg "./${PN}-pkg" "${GAMES_DATADIR}/${PN}" + make_desktop_entry ${PN} ${MY_PN} ${PN} Game + + prepgamesdirs +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_prerm() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "Installed softwares and games with playonlinux have not been removed." + elog "To remove them, you can re-install playonlinux and remove them using it" + elog "or do it manually by removing .PlayOnLinux/ in your home directory." + fi +} + +pkg_postrm() { + gnome2_icon_cache_update +} |