logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: b4f4fe77f0a03114b15012ee6ad73c677a54556b
parent ace5a3267dada8d86a955fa297f46817e508f856
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 31 Jan 2024 17:03:44 +0100

games-arcade/kobodeluxe: new package, add 9999

Diffstat:

Agames-arcade/kobodeluxe/files/CMake-Fix-desktop-icon-installation.patch29+++++++++++++++++++++++++++++
Agames-arcade/kobodeluxe/kobodeluxe-9999.ebuild18++++++++++++++++++
2 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/games-arcade/kobodeluxe/files/CMake-Fix-desktop-icon-installation.patch b/games-arcade/kobodeluxe/files/CMake-Fix-desktop-icon-installation.patch @@ -0,0 +1,29 @@ +From f45b765c9f005c7f8b5327a1cbce3b67f3a9b89c Mon Sep 17 00:00:00 2001 +From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me> +Date: Wed, 31 Jan 2024 16:58:38 +0100 +Subject: [PATCH] CMake: Fix desktop icon installation + +Also .desktop file refers to kobodl as icon-name so should be left unchanged +--- + CMakeLists.txt | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 29fa1b7..01355d8 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -87,9 +87,8 @@ install(FILES ${doc_files} + # Desktop entry + if(NOT WIN32) + set(KOBO_DE_FILE "net.olofson.${KOBO_PACKAGE_NAME}.desktop") +- install(FILES "${KOBODELUXE_SOURCE_DIR}/icons/kobodeluxe.png" +- DESTINATION "share/pixmaps" +- RENAME "${KOBO_PACKAGE_NAME}.png") ++ install(FILES "${KOBODELUXE_SOURCE_DIR}/icons/kobodl.png" ++ DESTINATION "share/pixmaps") + install(FILES "${KOBODELUXE_SOURCE_DIR}/icons/${KOBO_DE_FILE}" + DESTINATION "share/applications") + endif(NOT WIN32) +-- +2.43.0 + diff --git a/games-arcade/kobodeluxe/kobodeluxe-9999.ebuild b/games-arcade/kobodeluxe/kobodeluxe-9999.ebuild @@ -0,0 +1,18 @@ +# Copyright 2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake git-r3 + +DESCRIPTION="An SDL port of xkobo, a addictive space shoot-em-up" +HOMEPAGE="http://www.olofson.net/kobodl/ https://github.com/olofson/kobodeluxe/" +EGIT_REPO_URI="https://github.com/olofson/kobodeluxe" +SLOT="0" + +DEPEND="media-libs/libsdl" + +# https://github.com/olofson/kobodeluxe/pull/8 +PATCHES=( + "${FILESDIR}/CMake-Fix-desktop-icon-installation.patch" +)