love, bump version (#10597)

This commit is contained in:
Schrijvers Luc
2024-06-21 20:54:10 +02:00
committed by GitHub
parent 43350de1a8
commit cf94d12f42
2 changed files with 6 additions and 42 deletions

View File

@@ -4,7 +4,7 @@ It's free, open-source, and works also on Windows, Mac OS X and Linux."
HOMEPAGE="http://love2d.org/"
COPYRIGHT="2010-2018 Löve"
LICENSE="Zlib"
REVISION="4"
REVISION="1"
SOURCE_URI="https://github.com/love2d/love/releases/download/$portVersion/love-$portVersion-linux-src.tar.gz"
CHECKSUM_SHA256="6aaf8104fc35bb8bbd7865986b98079e7564ffdb374ea4d33604b46b458444f6"
PATCHES="love-$portVersion.patchset"
@@ -16,7 +16,7 @@ SECONDARY_ARCHITECTURES="x86"
PROVIDES="
love$secondaryArchSuffix = $portVersion
cmd:love$secondaryArchSuffix = $portVersion
lib:liblove_11.2$secondaryArchSuffix = $portVersion
lib:liblove_$portVersion$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -45,7 +45,7 @@ REQUIRES="
PROVIDES_devel="
love${secondaryArchSuffix}_devel = $portVersion
devel:liblove$secondaryArchSuffix = $portVersion
devel:liblove_11.2$secondaryArchSuffix = $portVersion
devel:liblove_$portVersion$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
love$secondaryArchSuffix == $portVersion base
@@ -105,7 +105,7 @@ INSTALL()
rm -f $libDir/*.la
# remove not relevant files
rm -rf $dataDir/{applications,icons,pixmaps}
rm -rf $dataDir/{applications,icons,pixmaps,mime}
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
@@ -118,7 +118,7 @@ INSTALL()
addResourcesToBinaries love.rdef $binDir/love
prepareInstalledDevelLibs liblove-11.2 liblove
prepareInstalledDevelLibs liblove-$portVersion liblove
packageEntries devel \
$developDir
@@ -126,5 +126,5 @@ INSTALL()
TEST()
{
make test
make check
}

View File

@@ -21,42 +21,6 @@ index 8180f6a..72b2496 100644
2.30.0
From a975efb2a9af608abb8c0e9a213ff27fa04037e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sat, 6 May 2017 11:18:30 +0200
Subject: Build fix for Haiku
diff --git a/src/modules/system/System.cpp b/src/modules/system/System.cpp
index d85a947..3a9d441 100644
--- a/src/modules/system/System.cpp
+++ b/src/modules/system/System.cpp
@@ -39,8 +39,10 @@
#if defined(LOVE_ANDROID)
#include "common/android.h"
#elif defined(LOVE_LINUX)
+#ifndef __HAIKU__
#include <spawn.h>
#endif
+#endif
namespace love
{
@@ -106,8 +108,10 @@ bool System::openURL(const std::string &url) const
// Note: at the moment this process inherits our file descriptors.
// Note: the below const_cast is really ugly as well.
+ #ifndef __HAIKU__
if (posix_spawnp(&pid, "xdg-open", nullptr, nullptr, const_cast<char **>(argv), environ) != 0)
return false;
+ #endif
// Check if xdg-open already completed (or failed.)
int status = 0;
--
2.30.0
From fefdfa8ca95a20e939de01dcd9a1a729d93c9ce0 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Fri, 26 Apr 2019 19:14:39 +0200