Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
François Revol
Infobeamer Templates
Commits
e29927f5
Commit
e29927f5
authored
Dec 21, 2019
by
François Revol
Browse files
Add Giggity 36C3
parent
0f7471f4
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
36C3/giggity/36C3_ad_Giggity.svg
0 → 100644
View file @
e29927f5
This diff is collapsed.
Click to expand it.
36C3/giggity/Makefile
0 → 100644
View file @
e29927f5
# base name
TARGET_BASE
:=
36C3_ad_Giggity
# background color
QRCOL
:=
000000
SCREEN_URL
:=
https://github.com/Wilm0r/giggity/raw/master/play/giggity-tablet.png
SCREEN_IMG
:=
$(
notdir
$(SCREEN_URL)
)
FD_BADGE_URL
:=
https://f-droid.org/badge/get-it-on.png
FD_BADGE_IMG
:=
$(
notdir
$(FD_BADGE_URL)
)
PS_BADGE_URL
:=
https://play.google.com/intl/en_gb/badges/images/generic/en_badge_web_generic.png
PS_BADGE_IMG
:=
$(
notdir
$(PS_BADGE_URL)
)
GH_URL
:=
https://github-media-downloads.s3.amazonaws.com/GitHub-Mark.zip
GH_ZIP
:=
$(
notdir
$(GH_URL)
)
GH_IMG
:=
$(GH_ZIP)
$(GH_ZIP:.zip=)
QR_URL
:=
https://github.com/Wilm0r/giggity/
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
QR_IMG
:=
qr_giggity.png
all
:
$(TARGET_BASE).png $(TARGET_BASE).jpg
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
# Makefile dependency forces regeneration if URL changes
$(QR_IMG)
:
Makefile
qrencode
--foreground
$(QRCOL)
--background
ffffff00
-t
PNG
-s
10
-o
$@
"
$(QR_URL)
"
$(TARGET_BASE).png
:
$(TARGET_BASE).svg $(QR_IMG) $(SCREEN_IMG) $(FD_BADGE_IMG) $(PS_BADGE_IMG) $(GH_IMG)
inkscape
$<
--export-png
$@
$(TARGET_BASE).jpg
:
$(TARGET_BASE).png
convert
$<
$@
$(SCREEN_IMG)
:
wget
-O
$@
"
$(SCREEN_URL)
"
$(FD_BADGE_IMG)
:
wget
-O
$@
"
$(FD_BADGE_URL)
"
$(PS_BADGE_IMG)
:
wget
-O
$@
"
$(PS_BADGE_URL)
"
$(GH_IMG)
:
wget
-O
$@
"
$(GH_URL)
"
unzip
$(GH_ZIP)
clean
:
rm
-Rf
$(TARGET_BASE)
.png
$(TARGET_BASE)
.jpg
$(QR_IMG)
$(SCREEN_IMG)
$(FD_BADGE_IMG)
$(PS_BADGE_IMG)
$(GH_IMG)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment