Merge pull request #2024 from bferturk/master

playonlinux
This commit is contained in:
bferturk
2016-07-02 12:52:41 +03:00
committed by GitHub
10 changed files with 196 additions and 2 deletions
+37
View File
@@ -0,0 +1,37 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir = "playonlinux"
NoStrip = "/"
datadir = "/usr/share"
def install():
installdir = get.installDIR()+ datadir
pisitools.dodir(datadir)
pisitools.dodir("%s/applications" % datadir)
shelltools.copytree("%s/playonlinux" % get.workDIR(), "%s/" % installdir)
pisitools.dobin("%s/playonlinux/playonlinux" % installdir)
pisitools.domo("%s/playonlinux/lang/po/tr.po" % installdir, "tr", "pol.mo")
# pisitools.domove("usr/share/locale/tr/LC_MESSAGES", "/usr/share/playonlinux/lang/locale/tr")
pisitools.dodoc("%s/playonlinux/LICENCE" % installdir, "%s/playonlinux/CHANGELOG.*" % installdir)
shelltools.move("%s/etc/PlayOnLinux.desktop" % (get.installDIR() + "/usr/share/playonlinux"), "%s/usr/share/applications/PlayOnLinux.desktop" % get.installDIR())
shelltools.unlink("%s/usr/bin/playonlinux" % get.installDIR())
shelltools.sym("%s/usr/share/playonlinux/playonlinux" % get.installDIR(), "%s/usr/bin/playonlinux" % get.installDIR() )
pisitools.dosed("playonlinux", "python2.6 mainwindow.py", "python2.8 mainwindow.py")
+12
View File
@@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=PlayOnLinux
GenericName=PlayOnLinux
Comment=PlayOnLinux
Type=Application
Exec=/usr/share/playonlinux/playonlinux
Icon=playonlinux
Categories=PlayOnLinux;
Name[fr_FR]=PlayOnLinux
Categories=Application;Game
@@ -0,0 +1,19 @@
Index: playonlinux/etc/PlayOnLinux.desktop
===================================================================
--- playonlinux/etc/PlayOnLinux.desktop
+++ playonlinux/etc/PlayOnLinux.desktop 2012-08-19 19:34:00.451146445 +0200
@@ -1,9 +1,8 @@
[Desktop Entry]
Version=1.0
-Encoding=UTF-8
Name=PlayOnLinux
-Comment=PlayOnLinux
-Type=Application %F
+Comment=Play windows games on Linux
+Type=Application
Exec=playonlinux
-Icon=/usr/share/playonlinux/etc/playonlinux.png
-Categories=Application;Game
+Icon=playonlinux
+Categories=Game;
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

+59
View File
@@ -0,0 +1,59 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>playonlinux</Name>
<Homepage>http://www.playonlinux.com</Homepage>
<Packager>
<Name>Ergün Salman</Name>
<Email>poyraz76@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Icon>PlayOnLinux</Icon>
<IsA>app:gui</IsA>
<IsA>app:console</IsA>
<Summary>Tool to help Linux users run Windows games on linux</Summary>
<Description>PlayOnLinux is a piece of sofware which allow you to install and use easily numerous games and softwares designed to run with Microsoft's Windows.</Description>
<Archive sha1sum="9ac7707cb7e707d51f28aaa8f94cff6d4317812f" type="targz">http://repository.playonlinux.com/PlayOnLinux/4.2.10/PlayOnLinux_4.2.10.tar.gz</Archive>
<Patches>
<Patch level="1">PlayOnLinux_4.1.6-fix-desktop-file.patch</Patch>
</Patches>
</Source>
<Package>
<Name>playonlinux</Name>
<RuntimeDependencies>
<Dependency>wxPython</Dependency>
<Dependency>wine</Dependency>
<Dependency>wget</Dependency>
<Dependency>gnu-netcat</Dependency>
<Dependency>icoutils</Dependency>
<Dependency>binutils</Dependency>
<Dependency>imagemagick</Dependency>
<Dependency>xterm</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/playonlinux</Path>
<Path fileType="localedata">/usr/share/playonlinux/lang/</Path>
<Path fileType="localedata">/usr/share/locale/</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/PlayOnLinux.desktop">PlayOnLinux.desktop</AdditionalFile>
<AdditionalFile owner="root" permission="0755" target="/usr/share/pixmaps/playonlinux.png">playonlinux.png</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="1">
<Date>2016-07-02</Date>
<Version>4.2.10</Version>
<Comment>First Release</Comment>
<Name>Ergün Salman</Name>
<Email>poyraz76@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>playonlinux</Name>
<Summary xml:lang="tr">Birçok Windows oyununu Linux'ta oynayabilmenizi sağlar</Summary>
<Description xml:lang="tr">PlayOnLinux, Microsoft's Windows için hazırlanan çok sayıdaki oyunu ve uygulamayı Linux'ta kullanmanıza olanak sağlayan bir uygulamadır.</Description>
</Source>
</PISI>
+59
View File
@@ -81986,6 +81986,65 @@
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>playonlinux</Name>
<Homepage>http://www.playonlinux.com</Homepage>
<Packager>
<Name>Ergün Salman</Name>
<Email>poyraz76@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<IsA>app:gui</IsA>
<IsA>app:console</IsA>
<PartOf>hardware.emulator</PartOf>
<Summary xml:lang="en">Tool to help Linux users run Windows games on linux</Summary>
<Summary xml:lang="tr">Birçok Windows oyununu Linux&apos;ta oynayabilmenizi sağlar</Summary>
<Description xml:lang="en">PlayOnLinux is a piece of sofware which allow you to install and use easily numerous games and softwares designed to run with Microsoft&apos;s Windows.</Description>
<Description xml:lang="tr">PlayOnLinux, Microsoft&apos;s Windows için hazırlanan çok sayıdaki oyunu ve uygulamayı Linux&apos;ta kullanmanıza olanak sağlayan bir uygulamadır.</Description>
<Icon>PlayOnLinux</Icon>
<Archive type="targz" sha1sum="9ac7707cb7e707d51f28aaa8f94cff6d4317812f">http://repository.playonlinux.com/PlayOnLinux/4.2.10/PlayOnLinux_4.2.10.tar.gz</Archive>
<Patches>
<Patch level="1">PlayOnLinux_4.1.6-fix-desktop-file.patch</Patch>
</Patches>
<SourceURI>hardware/emulator/playonlinux/pspec.xml</SourceURI>
</Source>
<Package>
<Name>playonlinux</Name>
<RuntimeDependencies>
<Dependency>wxPython</Dependency>
<Dependency>wine</Dependency>
<Dependency>wget</Dependency>
<Dependency>gnu-netcat</Dependency>
<Dependency>icoutils</Dependency>
<Dependency>binutils</Dependency>
<Dependency>imagemagick</Dependency>
<Dependency>xterm</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/playonlinux</Path>
<Path fileType="localedata">/usr/share/playonlinux/lang/</Path>
<Path fileType="localedata">/usr/share/locale/</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/share/applications/PlayOnLinux.desktop" permission="0644" owner="root">PlayOnLinux.desktop</AdditionalFile>
<AdditionalFile target="/usr/share/pixmaps/playonlinux.png" permission="0755" owner="root">playonlinux.png</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="1">
<Date>2016-07-02</Date>
<Version>4.2.10</Version>
<Comment>First Release</Comment>
<Name>Ergün Salman</Name>
<Email>poyraz76@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>hplip</Name>
+1 -1
View File
@@ -1 +1 @@
cb60d07ea91178e484cf2bf97f31fc75fd1a8a1d
16d42c1560408f9e44cac996f315a2d83211d939
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
641270219e781e44bd7e0e37e4f62fbf9823dbcf
f5664a4ceb98bb91ad1f7b3e7330e79b22a1e06e