mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible. (From OE-Core rev: 8f3669f81db8a58f8ed2faef76acab3499f59619) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 139102a73d4151f4748b4a861bd4ab28dda7dab7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
50 lines
1.4 KiB
BlitzBasic
50 lines
1.4 KiB
BlitzBasic
SUMMARY = "Simon Tatham's Portable Puzzle Collection"
|
|
DESCRIPTION = "Collection of small computer programs which implement one-player puzzle games."
|
|
HOMEPAGE = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENCE;md5=92d2b7a2fc96b5f7f17101df7db1fefa"
|
|
|
|
# gtk support includes a bunch of x11 headers
|
|
REQUIRED_DISTRO_FEATURES = "x11"
|
|
|
|
SRC_URI = "git://git.tartarus.org/simon/puzzles.git;branch=main;protocol=https"
|
|
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
|
SRCREV = "5a491c5ad333ef34c1e7713f920f51cbb205af60"
|
|
PE = "2"
|
|
PV = "0.0+git${SRCPV}"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake features_check pkgconfig
|
|
|
|
DEPENDS += "gtk+3"
|
|
|
|
do_install:append () {
|
|
# net conflicts with Samba, so rename it
|
|
mv ${D}${bindir}/net ${D}${bindir}/puzzles-net
|
|
rm ${D}/${datadir}/applications/net.desktop
|
|
|
|
# Create desktop shortcuts
|
|
install -d ${D}/${datadir}/applications/
|
|
cd ${D}/${prefix}/bin
|
|
for prog in *; do
|
|
if [ -x $prog ]; then
|
|
# Convert prog to Title Case
|
|
title=$(echo $prog | sed 's/puzzles-//' | sed 's/\(^\| \)./\U&/g')
|
|
echo "making ${D}/${datadir}/applications/$prog.desktop"
|
|
cat <<STOP > ${D}/${datadir}/applications/$prog.desktop
|
|
[Desktop Entry]
|
|
Name=$title
|
|
Exec=${bindir}/$prog
|
|
Icon=applications-games
|
|
Terminal=false
|
|
Type=Application
|
|
Categories=Game;
|
|
StartupNotify=true
|
|
STOP
|
|
fi
|
|
done
|
|
}
|
|
|