monsterz: restore recipe. (#8416)

* Revert "monsterz: retire recipe. (#8256)"

This reverts commit bf7c3896d6.

* monsterz: applied Debian's patches to make it work with Python 3.x

Got the diff/patch files from:

https://salsa.debian.org/games-team/monsterz/-/tree/master/debian/patches

* monsterz: fixes x86_32, patch configdir location, add Deskbar link.

* Added PulkoMandy's icon files. Thanks a bunch!
* Added a Deskbar symlink.
  This required patching monsterz.py, and linking to that instead of
  using the /bin/monsterz C wrapper binary. Otherwise we got hangs
  (pegs one core to 100%, no window shown) when double clicking the
  link or the binary.

* monsterz: custom install to $appsDir

As we're not using the C wrapper, but calling the Python
script directly, no point on building anything.

Installing under $appsDir/Monsterz sounds better than the
odd "$dataDir/games/monsterz" location.

For these two reasons, we can drop the gcc and make requirements.
This commit is contained in:
OscarL
2023-04-22 03:11:19 -03:00
committed by GitHub
parent 04179315ed
commit fa3da1f9e9
6 changed files with 1832 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,500 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="monsterz.svg"
height="43.031952pt"
width="43.77626pt"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:version="0.32"
id="svg3056"
inkscape:export-filename="/home/sam/monsterz/monsterz/svgtiles.png"
inkscape:export-xdpi="72.000000"
inkscape:export-ydpi="72.000000"
version="1.1">
<metadata
id="metadata3061">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs3059">
<linearGradient
id="linearGradient3207">
<stop
id="stop3209"
offset="0.0000000"
style="stop-color:#f200ff;stop-opacity:1.0000000;" />
<stop
id="stop3211"
offset="0.68421054"
style="stop-color:#c100cd;stop-opacity:1.0000000;" />
<stop
id="stop3213"
offset="1.0000000"
style="stop-color:#e52cf0;stop-opacity:0.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient3180">
<stop
id="stop3182"
offset="0.0000000"
style="stop-color:#7e7e7e;stop-opacity:1.0000000;" />
<stop
id="stop3186"
offset="1.0000000"
style="stop-color:#dddddd;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient3160">
<stop
id="stop3162"
offset="0.0000000"
style="stop-color:#1eff00;stop-opacity:1.0000000;" />
<stop
id="stop3164"
offset="0.68421054"
style="stop-color:#18cd00;stop-opacity:1.0000000;" />
<stop
id="stop3166"
offset="1.0000000"
style="stop-color:#43f02c;stop-opacity:0.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient3113">
<stop
id="stop3115"
offset="0.0000000"
style="stop-color:#000000;stop-opacity:0.0000000;" />
<stop
id="stop3123"
offset="0.47368422"
style="stop-color:#12a093;stop-opacity:0.0000000;" />
<stop
id="stop3121"
offset="1.0000000"
style="stop-color:#000000;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient3086">
<stop
id="stop3088"
offset="0"
style="stop-color:#bd00ff;stop-opacity:1;" />
<stop
id="stop3090"
offset="1.0000000"
style="stop-color:#ffd837;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient3430">
<stop
id="stop3432"
offset="0.0000000"
style="stop-color:#ff0007;stop-opacity:1.0000000;" />
<stop
id="stop3454"
offset="0.68421054"
style="stop-color:#cd0000;stop-opacity:1.0000000;" />
<stop
id="stop3434"
offset="1.0000000"
style="stop-color:#f02c2c;stop-opacity:0.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient3067">
<stop
id="stop3069"
offset="0.0000000"
style="stop-color:#000000;stop-opacity:0.19607843;" />
<stop
id="stop3077"
offset="0.25000000"
style="stop-color:#000000;stop-opacity:0.058823530;" />
<stop
id="stop3079"
offset="0.75000000"
style="stop-color:#000000;stop-opacity:0.047058824;" />
<stop
id="stop3075"
offset="1.0000000"
style="stop-color:#ffffff;stop-opacity:0.23529412;" />
</linearGradient>
<linearGradient
id="linearGradient3835">
<stop
id="stop3837"
offset="0.0000000"
style="stop-color:#ffffff;stop-opacity:0.42268041;" />
<stop
id="stop3839"
offset="1.0000000"
style="stop-color:#ffffff;stop-opacity:0.68041235;" />
</linearGradient>
<linearGradient
id="linearGradient3807">
<stop
id="stop3809"
offset="0.0000000"
style="stop-color:#ffffff;stop-opacity:0.0000000;" />
<stop
id="stop3811"
offset="1.0000000"
style="stop-color:#ffffff;stop-opacity:0.77319586;" />
</linearGradient>
<linearGradient
id="linearGradient5606">
<stop
id="stop5608"
offset="0.0000000"
style="stop-color:#000000;stop-opacity:1.0000000;" />
<stop
id="stop5614"
offset="0.20000000"
style="stop-color:#000000;stop-opacity:1.0000000;" />
<stop
id="stop5616"
offset="0.30000001"
style="stop-color:#ffffff;stop-opacity:1.0000000;" />
<stop
id="stop5610"
offset="1.0000000"
style="stop-color:#ffffff;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient4483">
<stop
id="stop4485"
offset="0.0000000"
style="stop-color:#f0fa0f;stop-opacity:1.0000000;" />
<stop
id="stop4487"
offset="1.0000000"
style="stop-color:#ed2c32;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient3129">
<stop
id="stop3131"
offset="0"
style="stop-color:#fc60b3;stop-opacity:1;" />
<stop
id="stop3137"
offset="0.19301283"
style="stop-color:#fc96b3;stop-opacity:1.0000000;" />
<stop
id="stop3139"
offset="0.59650642"
style="stop-color:#fc3471;stop-opacity:1.0000000;" />
<stop
id="stop3133"
offset="1.0000000"
style="stop-color:#fc60b3;stop-opacity:1.0000000;" />
</linearGradient>
<radialGradient
r="7.7875042"
fy="141.32838"
fx="106.50102"
cy="141.3284"
cx="106.50099"
gradientTransform="matrix(1.0297744,0,0,0.9711,-89.613059,-117.24328)"
gradientUnits="userSpaceOnUse"
id="radialGradient8251"
xlink:href="#linearGradient5606"
inkscape:collect="always" />
<radialGradient
r="7.7875042"
fy="141.32838"
fx="106.50102"
cy="141.3284"
cx="106.50099"
gradientTransform="matrix(1.0297744,0,0,0.9711,-72.217259,-116.98868)"
gradientUnits="userSpaceOnUse"
id="radialGradient8255"
xlink:href="#linearGradient5606"
inkscape:collect="always" />
</defs>
<sodipodi:namedview
inkscape:guide-bbox="true"
showguides="true"
inkscape:current-layer="svg3056"
inkscape:window-y="-4"
inkscape:window-x="-4"
gridtolerance="0.40000000pt"
inkscape:grid-points="true"
showgrid="true"
inkscape:zoom="2.4733333"
inkscape:cx="-103.33843"
inkscape:cy="136.77109"
inkscape:window-height="1033"
inkscape:window-width="1920"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0000000"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:window-maximized="1">
<inkscape:grid
id="GridFromPre046Settings"
type="xygrid"
originx="-801.24716"
originy="-545.62038"
spacingx="1.3333333"
spacingy="1.3333333"
color="#a049a6"
empcolor="#3f3fff"
opacity="0.34117647"
empopacity="0.51372549"
empspacing="8" />
</sodipodi:namedview>
<ellipse
id="path5602"
style="fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2.87943387;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
cx="-691.24713"
cy="-524.00513"
rx="0"
ry="0.36363587" />
<g
transform="matrix(1.000075,0,0,1,-0.90555936,-573.88268)"
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/tiles.png"
id="g8191">
<path
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/test.png"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccc"
id="path7679"
d="m 42.989319,588.32549 c -1.495007,-7.51765 1.224129,-10.16938 3.333697,-12.22914 -5.273932,0 -10.495508,5.3276 -11.550302,9.87075 -1.600924,-3.08963 -2.752851,-6.35747 -0.05235,-8.41723 -3.164352,0 -6.872662,3.26786 -7.927457,8.41723 -4.219137,-3.08963 -3.67518,-7.81099 -2.078024,-9.87075 -3.706724,1.02987 -6.62801,3.78294 -6.085639,7.40212 -5.816302,-6.7088 -9.9344397,-2.46863 -12.4180498,0 4.1891898,1.45351 7.4134648,1.86673 9.5230328,5.45667 -6.3287138,-1.03725 -12.0066429,0.007 -12.6574194,5.67891 4.6568068,-3.08962 6.5231246,-0.3795 8.1016064,2.44187 -8.4382836,0 -9.7773765,6.38313 -8.6926351,11.10884 3.2422915,-5.14936 7.9745281,-6.34161 9.4800601,-5.31173 -6.7794628,2.48338 -7.6790453,7.78036 -4.5128398,12.71762 1.2418051,-2.46863 2.4836095,-6.17158 6.2090238,-6.17158 -1.645731,2.66596 -3.593507,7.81478 -3.170173,9.87452 2.711833,-3.60099 5.863271,-3.03222 6.897685,-2.00237 -3.727512,2.46443 -4.161384,4.25527 -2.485706,9.88626 1.904328,-3.71092 5.528282,-4.7021 8.692635,-6.18485 -1.054784,4.11948 1.07621,6.66067 4.240563,8.13604 -0.515147,-3.18815 0.03088,-6.68807 4.773769,-7.71794 2.109568,3.0896 2.109568,5.14936 0,7.2091 7.3835,2.05975 9.014371,-8.23897 8.438284,-11.32861 3.164364,1.02988 3.676777,4.0726 2.621982,7.63277 7.817401,1.02987 5.382412,-12.78211 3.223307,-13.81198 2.592995,-1.02988 4.541421,4.11949 6.812142,6.17921 2.109569,-5.14934 -1.054784,-9.87875 -7.383499,-13.38833 5.273921,-1.46089 9.493068,3.08963 10.547853,5.14937 0.4339,-3.08962 -0.186993,-8.23898 -9.059179,-11.32859 2.54347,-1.45351 6.949609,-1.02988 9.059179,1.02986 1.054784,-4.61979 -3.164354,-10.90493 -8.438285,-7.2091 1.484906,-4.11948 4.653038,-5.64966 7.817391,-5.64966 -4.653038,-4.64905 -12.036527,-0.52957 -13.260656,2.43072 z"
style="fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
inkscape:connector-curvature="0" />
<g
id="g8180">
<path
sodipodi:nodetypes="cccc"
id="path8131"
d="M 18.108579,590.4497 C 12.5,587.36218 3.75,589.86218 3.75,593.61218 c 3.75,-2.5 12.5,-1.18208 15,0.74142 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8139"
d="m 12.5,597.36218 c -7.5,-1.25 -11.25,2.5 -9.4868631,8.75 2.5,-5 10.0985271,-6.75858 13.2368631,-5.50858 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8141"
d="M 14.295979,602.8784 C 7.5,603.61218 4.2928944,610.5036 7.5,613.61218 c 0,-4.35858 5,-7.5 10,-7.5 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8143"
d="m 15,608.61218 c -2.5,1.25 -3.75,5 -3.138336,8.75 1.888336,-3.75 4.388336,-5 6.888336,-7.5 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8145"
d="m 20,584.86218 c -4.279407,-5 -11.25,-5.64142 -12.5,-1.25 4.391421,-1.25 9.358579,3.75 12.5,5 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8147"
d="m 20,586.11218 c -1.986863,-3.09316 -1.25,-8.75 3.75,-8.75 -3.049064,3.75 -0.736863,6.33456 0,10.69314 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8149"
d="M 26.927348,586.7536 C 26.25,583.61218 28.75,578.61218 33.75,578.61218 c -3.049064,3.75 -2.338874,7.5 -2.5,11.25 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8151"
d="m 35,588.61218 c -0.677348,-3.14142 3.75,-11.25 10,-11.79598 -5,3.04598 -6.088874,10.0374 -6.25,13.7874 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8153"
d="m 42.5,591.11218 c -0.677348,-3.14142 8.75,-11.25 11.25,-5 -7.5,1e-5 -6.792895,3.24143 -8.75,6.99142 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
</g>
<path
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/test.png"
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccc"
id="path8133"
d="m 42.989319,588.32549 c -1.495007,-7.51765 1.224129,-10.16938 3.333697,-12.22914 -5.273932,0 -10.495508,5.3276 -11.550302,9.87075 -1.600924,-3.08963 -2.752851,-6.35747 -0.05235,-8.41723 -3.164352,0 -6.872662,3.26786 -7.927457,8.41723 -4.219137,-3.08963 -3.67518,-7.81099 -2.078024,-9.87075 -3.706724,1.02987 -6.62801,3.78294 -6.085639,7.40212 -5.816302,-6.7088 -9.9344397,-2.46863 -12.4180498,0 4.1891898,1.45351 7.4134648,1.86673 9.5230328,5.45667 -6.3287138,-1.03725 -12.0066429,0.007 -12.6574194,5.67891 4.6568068,-3.08962 6.5231246,-0.3795 8.1016064,2.44187 -8.4382836,0 -9.7773765,6.38313 -8.6926351,11.10884 3.2422915,-5.14936 7.9745281,-6.34161 9.4800601,-5.31173 -6.7794628,2.48338 -7.6790453,7.78036 -4.5128398,12.71762 1.2418051,-2.46863 2.4836095,-6.17158 6.2090238,-6.17158 -1.645731,2.66596 -3.593507,7.81478 -3.170173,9.87452 2.711833,-3.60099 5.863271,-3.03222 6.897685,-2.00237 -3.727512,2.46443 -4.161384,4.25527 -2.485706,9.88626 1.904328,-3.71092 5.528282,-4.7021 8.692635,-6.18485 -1.054784,4.11948 1.07621,6.66067 4.240563,8.13604 -0.515147,-3.18815 0.03088,-6.68807 4.773769,-7.71794 2.109568,3.0896 2.109568,5.14936 0,7.2091 7.3835,2.05975 9.014371,-8.23897 8.438284,-11.32861 3.164364,1.02988 3.676777,4.0726 2.621982,7.63277 7.817401,1.02987 5.382412,-12.78211 3.223307,-13.81198 2.592995,-1.02988 4.541421,4.11949 6.812142,6.17921 2.109569,-5.14934 -1.054784,-9.87875 -7.383499,-13.38833 5.273921,-1.46089 9.493068,3.08963 10.547853,5.14937 0.4339,-3.08962 -0.186993,-8.23898 -9.059179,-11.32859 2.54347,-1.45351 6.949609,-1.02988 9.059179,1.02986 1.054784,-4.61979 -3.164354,-10.90493 -8.438285,-7.2091 1.484906,-4.11948 4.653038,-5.64966 7.817391,-5.64966 -4.653038,-4.64905 -12.036527,-0.52957 -13.260656,2.43072 z"
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.49990582;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
inkscape:connector-curvature="0" />
<g
id="g8171">
<path
sodipodi:nodetypes="cccc"
id="path8155"
d="m 43.75,595.51904 c 3.75,-2.49999 12.5,-3.89828 12.5,1.84314 -2.5,-1.25 -6.25,-1.25 -10,1.25 z"
style="fill:#000000;fill-opacity:0.1372549;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8157"
d="m 42.5,600.37076 c 3.75,-2.49999 13.75,1.47829 13.75,6.99142 -2.5,-1.25 -8.75,-6.25 -12.5,-3.75 z"
style="fill:#000000;fill-opacity:0.1372549;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8159"
d="m 43.008581,607.36218 c 4.491419,-1.25 10.741419,1.25 10.741419,8.75 -2.5,-1.25 -5,-6.25 -8.75,-5 z"
style="fill:#000000;fill-opacity:0.1372549;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8161"
d="m 45,610.40816 c 5.545979,3.20402 6.25,11.95402 0,14.45402 1.25,-3.75 1.954021,-6.88834 -2.5,-11.25 z"
style="fill:#000000;fill-opacity:0.1372549;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8163"
d="m 40,616.11218 c 3.75,5 -1.25,12.5 -6.25,12.5 1.891421,-2.5 5,-5 2.5,-10 z"
style="fill:#000000;fill-opacity:0.1372549;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8167"
d="m 23.75,616.11218 c -2.5,1.25 -10,5 -8.75,10 1.888336,-3.75 7.5,-5 9.299064,-6.25 z"
style="fill:#000000;fill-opacity:0.1372549;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path8169"
d="m 28.75,618.61218 c -2.5,1.25 -4.480694,4.29598 -1.947851,9.29598 1.888336,-3.75 3.898787,-6.15456 5.697851,-7.40456 z"
style="fill:#000000;fill-opacity:0.1372549;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
</g>
</g>
<ellipse
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/tiles.png"
id="path8249"
style="fill:url(#radialGradient8251);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2.49999857;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
cx="20.058939"
cy="20.118898"
rx="6.197814"
ry="6.1227274" />
<ellipse
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/tiles.png"
id="path8253"
style="fill:url(#radialGradient8255);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2.49999857;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
cx="37.454739"
cy="20.373499"
rx="6.197814"
ry="6.1227274" />
<g
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/tiles.png"
transform="matrix(1.000014,0,0,1,-168.74596,-24.615984)"
id="g8257">
<path
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/test.png"
sodipodi:nodetypes="cc"
id="path8259"
d="m 191.8115,62.362183 c 2.83835,1.82034 7.56893,1.99609 11.3534,0"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.49998164;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.41176471"
inkscape:connector-curvature="0" />
<path
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/test.png"
sodipodi:nodetypes="cc"
id="path8261"
d="m 193.0615,64.152194 c 2.83835,1.82034 7.56893,1.99609 11.3534,0"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:2.49998164;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.1372549"
inkscape:connector-curvature="0" />
<path
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/test.png"
sodipodi:nodetypes="cc"
id="path8263"
d="m 192.5,63.430263 c 2.83835,1.82034 7.56893,1.99609 11.3534,0"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:2.49998164;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
inkscape:connector-curvature="0" />
</g>
<g
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/tiles.png"
transform="matrix(1.000014,0,0,1,-122.96756,-104.61598)"
id="g8265">
<path
sodipodi:nodetypes="cc"
id="path8267"
d="M 150.47232,132.96909 150,134.86218"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:2.49998116;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cc"
id="path8269"
d="m 153.75,132.96909 0.47232,1.89309"
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:2.49998116;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
inkscape:connector-curvature="0" />
</g>
<path
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/board.png"
sodipodi:nodetypes="ccc"
id="path2874"
d="m -785.55426,25.246316 c 0,-70 0.004,-70 70,-70 -40,10 -60,30 -70,70 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
inkscape:export-ydpi="72.000000"
inkscape:export-xdpi="72.000000"
inkscape:export-filename="/home/sam/monsterz/monsterz/board.png"
sodipodi:nodetypes="ccc"
id="path2878"
d="m -254.99715,-7.2536837 c 0,-37.5000003 0.002,-37.5000003 37.50001,-37.5000003 -21.42861,5.35714 -32.1428,16.07143 -37.50001,37.5000003 z"
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
style="fill:#ffffff;fill-opacity:0.41176471;fill-rule:evenodd;stroke:none;stroke-width:0.25000001pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -786.24496,506.49372 c 0,-27.5 1.25,-21.8676 44.9997,-21.8676 -32.4998,2.4061 -38.5712,9.3718 -44.9997,21.8676 z"
id="path2884"
sodipodi:nodetypes="ccc"
inkscape:export-filename="/home/sam/monsterz/monsterz/board.png"
inkscape:export-xdpi="72.000000"
inkscape:export-ydpi="72.000000"
inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar
22 rue de Plaisance, 75014 Paris, France
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

View File

@@ -0,0 +1,54 @@
SUMMARY="A little arcade puzzle game"
DESCRIPTION="Monsterz is a little arcade puzzle game, similar to the famous \
Bejeweled or Zookeeper. The goal of the game is to create rows of similar \
monsters, either horizontally or vertically. The only allowed move is the swap \
of two adjacent monsters, on the condition that it creates a row of three or \
more. When alignments are cleared, pieces fall from the top of the screen to \
fill the board again. Chain reactions earn you even more points."
HOMEPAGE="http://sam.zoy.org/monsterz/"
COPYRIGHT="2007 Sam Hocevar, Brendan Rackley, MenTaLguY, Sun Microsystems\
Michael Speck, David White Mike Kershaw"
LICENSE="WTFPL v2
GNU GPL v1
GNU LGPL v2"
REVISION="2"
SOURCE_URI="http://sam.zoy.org/monsterz/monsterz-$portVersion.tar.gz"
CHECKSUM_SHA256="50828b8fa26d107bcc2bd134328f83c905b9f5e124846bdf239daf0eed34973d"
PATCHES="monsterz-$portVersion.patchset"
ADDITIONAL_FILES="monsterz.hvif"
# For 32 bits, only "pygame_x86" is available, thus we can't use "any" here.
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
monsterz$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
pygame$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
INSTALL()
{
mkdir -p $appsDir/Monsterz
rm -f graphics/graphics.svg graphics/pattern.png
entries=(graphics sound AUTHORS README)
for entry in ${entries[@]}; do
cp -r $entry $appsDir/Monsterz
done
entryPoint=$appsDir/Monsterz/Monsterz
cp monsterz.py $entryPoint
addattr -t icon -f $portDir/additional-files/monsterz.hvif \
"BEOS:ICON" $entryPoint
addAppDeskbarSymlink $entryPoint "Monsterz"
}

File diff suppressed because it is too large Load Diff