Commit 8f86399d authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Add an icon and a desktop file

parent d0835e64
Pipeline #95528 passed with stages
in 8 minutes and 9 seconds
......@@ -46,6 +46,17 @@ tarotsysconf_DATA =
dist_tarotsysconf_DATA =
dist_pkgdata_DATA = COPYING
dist_html_DATA =
iconsdir = $(datadir)/icons
xlargeiconsdir = $(iconsdir)/hicolor/256x256/apps
largeiconsdir = $(iconsdir)/hicolor/48x48/apps
mediumiconsdir = $(iconsdir)/hicolor/32x32/apps
smalliconsdir = $(iconsdir)/hicolor/22x22/apps
dist_xlargeicons_DATA =
dist_largeicons_DATA =
dist_mediumicons_DATA =
dist_smallicons_DATA =
applicationsdir = $(datadir)/applications
applications_DATA = %reldir%/tarot.desktop
INDENTED =
TANGLED =
SUFFIXES =
......@@ -109,6 +120,7 @@ include ci/Makefile.am
include doc/Makefile.am
include src/Makefile.am
include games/Makefile.am
include icon/Makefile.am
EXTRA_DIST += $(TANGLED)
......
......@@ -19,6 +19,6 @@ Url = $CI_PROJECT_URL/-/jobs/artifacts/$CI_COMMIT_REF_NAME/raw/flatpak?job=$CI_J
Homepage = https://gugurumbe.frama.io/tarot/share/doc/tarot/tarot.html/index.html
Comment = The Amazing Repository Of TAROT
Description = This is where I host the flatpaks for my personal project, only for the reference '$CI_COMMIT_REF_NAME'
Icon = https://dl.flathub.org/repo/logo.svg
Icon = https://gugurumbe.frama.io/tarot/share/doc/tarot/tarot.svg
GPGKey = $(gpg --export C8ECB5A2 | base64 --wrap=0)
EOF
......@@ -37,6 +37,7 @@ AC_PROG_LEX
AC_PROG_YACC
AM_MISSING_PROG([XSLTPROC], [xsltproc])
AM_MISSING_PROG([XMLLINT], [xmllint])
AM_MISSING_PROG([CONVERT], [convert])
# Checks for libraries.
gl_lib_INIT
......@@ -73,6 +74,7 @@ AC_CONFIG_FILES([
AC_CONFIG_FILES([
src/tarot-self-train
pre-inst-env
tarot.desktop
], [chmod +x src/tarot-self-train pre-inst-env])
AC_OUTPUT
# Makefile.am
#
# Copyright (C) 2018 Vivien Kraus <vivien@planete-kraus.eu>
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see
# <http://www.gnu.org/licenses/>.
dist_xlargeicons_DATA += %reldir%/256x256/tarot.png
dist_largeicons_DATA += %reldir%/48x48/tarot.png
dist_mediumicons_DATA += %reldir%/32x32/tarot.png
dist_smallicons_DATA += %reldir%/22x22/tarot.png
dist_html_DATA += %reldir%/tarot.svg
<?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"
width="48"
height="48"
viewBox="0 0 12.7 12.7"
version="1.1"
id="svg8"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="reference.svg"
inkscape:export-filename="/home/vivien/Documents/Prog/tarot/icon/22x22png.png"
inkscape:export-xdpi="44"
inkscape:export-ydpi="44">
<defs
id="defs2">
<linearGradient
inkscape:collect="always"
id="linearGradient4599">
<stop
style="stop-color:#c17d11;stop-opacity:1"
offset="0"
id="stop4595" />
<stop
style="stop-color:#e9b96e;stop-opacity:1"
offset="1"
id="stop4597" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4566">
<stop
style="stop-color:#2e3436;stop-opacity:1"
offset="0"
id="stop4562" />
<stop
style="stop-color:#555753;stop-opacity:1"
offset="1"
id="stop4564" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4558">
<stop
style="stop-color:#cc0000;stop-opacity:1"
offset="0"
id="stop4554" />
<stop
style="stop-color:#a40000;stop-opacity:1"
offset="1"
id="stop4556" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4534">
<stop
style="stop-color:#2e3436;stop-opacity:1;"
offset="0"
id="stop4530" />
<stop
style="stop-color:#888a85;stop-opacity:1"
offset="1"
id="stop4532" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4534"
id="linearGradient4536"
x1="-88.432793"
y1="283.85291"
x2="-96.095459"
y2="267.63132"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4534"
id="linearGradient4544"
x1="12.683605"
y1="297.04648"
x2="0.040599395"
y2="284.3493"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4534"
id="linearGradient4552"
x1="115.30654"
y1="274.04224"
x2="98.970787"
y2="266.57193"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4558"
id="linearGradient4560"
x1="106.40459"
y1="265.83148"
x2="111.71988"
y2="273.29651"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4566"
id="linearGradient4568"
x1="3.9215028"
y1="286.55841"
x2="9.2367926"
y2="294.02344"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4599"
id="linearGradient4601"
x1="65.101479"
y1="18.956154"
x2="58.577717"
y2="-1.2405831"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4599"
id="linearGradient4624"
x1="-38.991039"
y1="5.8358159"
x2="-60.503922"
y2="-47.789185"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.22909247,-0.13236683,0.13236683,0.22909247,4.4302751,278.2659)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4599"
id="linearGradient4632"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.22909247,-0.13236683,0.13236683,0.22909247,4.4302751,278.2659)"
x1="-38.991039"
y1="5.8358159"
x2="-60.503922"
y2="-47.789185" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="8"
inkscape:cx="19.784329"
inkscape:cy="15.629606"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1016"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<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>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-284.3)">
<rect
ry="0.35435268"
style="fill:url(#linearGradient4560);fill-opacity:1.0;stroke:url(#linearGradient4552);stroke-width:0.16500001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
y="265.83148"
x="106.40459"
height="7.4650292"
width="5.31529"
id="rect4524"
transform="rotate(20.36803)" />
<rect
id="rect3713"
width="5.31529"
height="7.4650292"
x="3.9215028"
y="286.55841"
style="fill:url(#linearGradient4568);fill-opacity:1.0;stroke:url(#linearGradient4544);stroke-width:0.16500001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
ry="0.35435268" />
<rect
ry="0.35435268"
style="fill:#eeeeec;fill-opacity:1;stroke:url(#linearGradient4536);stroke-width:0.165;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
y="271.26849"
x="-97.105934"
height="7.4650292"
width="5.31529"
id="rect4526"
transform="rotate(-19.753246)" />
<g
id="g4630"
transform="matrix(0.48959112,-0.18340911,0.17728806,0.47325163,-41.221856,156.57058)">
<path
sodipodi:nodetypes="cccccccccsscccccccccccccccc"
inkscape:connector-curvature="0"
id="path4611"
d="m -12.184255,273.6762 0.876047,0.50186 -0.350615,0.58932 -0.947521,-0.54292 -0.164643,0.28727 0.942957,0.54019 -0.339937,0.57062 -0.205164,0.76669 1.923418,3.75037 c 0.6373235,1.08466 -0.233371,3.43936 0.321114,4.62246 0.5544855,1.1831 1.6989125,2.33827 3.6377235,1.24693 1.9388068,-1.09134 1.3326261,-2.74157 0.6315498,-3.76797 -0.7010748,-1.02641 -3.0181178,-1.67675 -3.8067198,-2.66223 l -1.9018005,-3.38449 0.429276,-0.74757 0.790694,0.4533 0.164643,-0.28727 -0.790435,-0.45285 0.34104,-0.59453 0.8714845,0.49912 0.164643,-0.28737 -0.8707785,-0.49894 0.245945,-0.42858 -0.67209,-0.36784 -0.245318,0.4121 -0.88087,-0.50504 z"
style="fill:url(#linearGradient4632);fill-opacity:1;stroke:#8f5902;stroke-width:0.3209995;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<circle
r="0.79374999"
cy="282.31564"
cx="-8.7312498"
id="path4626"
style="fill:#2e3436;fill-opacity:1;stroke:#8f5902;stroke-width:0.16536338;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>
[Desktop Entry]
Type = Application
Encoding = UTF-8
Name = The Amazing Rules Of TAROT
Comment = Play the multi-player tarot game version @VERSION@
Exec = tarot
Icon = tarot.png
Terminal = true
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment