From nobody Fri Jan 14 14:15:14 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6B0EC1958BF9; Fri, 14 Jan 2022 14:15:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jb3Gq0NXsz3J5n; Fri, 14 Jan 2022 14:15:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642169715; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ozwjIq07obUgCaHJUIN4DOD3bGIHBQLOAnuBelF2vsI=; b=EwvJGrh8B7B+1Aoul7M+ueJRdI6dw2BqiXrwohWzC6Vxa6U8nqSFVznsxRgxhNB/mBf/hk MegkvhvaX8ooNjukqTpo/Ep/8tdA0Dem8Y1zDorVbvIiv4PEevtQAsgrlYOqxPRdMYKOeo LTKzgnqsM+HrAmjiJZqbm0Jssv+B3AbUZG5bbrxgj9gKGIYoBfKSgNvWz6NHNJJ+gLNh/L 7e7OFQYwsWDJ+ygQi92JuLfrF8Ul7Up1aMd7Jb6gX1R+bLWLLZ8an4WXhHMzfUBHUWvFGA P9ea0DY5P06sL/z6qQqk7M3K3XxdD3c38uCGrkDyXRauxjS6KXJdwX127bffLg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CE16D15360; Fri, 14 Jan 2022 14:15:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20EEFE5n078379; Fri, 14 Jan 2022 14:15:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20EEFEqm078378; Fri, 14 Jan 2022 14:15:14 GMT (envelope-from git) Date: Fri, 14 Jan 2022 14:15:14 GMT Message-Id: <202201141415.20EEFEqm078378@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Bernhard Froehlich Subject: git: 139487d6381f - main - games/kodi-addon-game.libretro.genplus: Update to 1.7.4.31 and more List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: decke X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 139487d6381fb03c9afe1c862e7791ac2b2ef6c8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642169715; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ozwjIq07obUgCaHJUIN4DOD3bGIHBQLOAnuBelF2vsI=; b=MClugT9RMaBvSJTjcmCm80ifkKFfunflMqqSJ4wvbuY6fq7Chqfwyv3PyRlv6zT+wJl25e AjWlOOXfjk81GClmSS6AN+o47N5ic3eKOBsBd9+l5hxLx2x+XonGNAtgcfyJ1v566LqfWD ACU4kX97WD//Z6ZKI98jlF2HklrwSyA1+5fonp0ZFvsbhvdka3yiaaxI/Fm1+21RLKv9L7 UCXoTD29/Pe3qhlWqCkHHIIuDstZRvk53GZ6Nt0I3QrFJGyMluQbTY4GxKMvLOYzeMp6VX jEA8Q/vNMHtrYgI8Me7CwrU+Zb1gnIZB/MRLfYubsRvMcNXdilSBxpi7BSQxTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642169715; a=rsa-sha256; cv=none; b=D0hS7yPZDFuXCEMrX2Q801ayF/7b/gLCEJ37s8fztSl29IiHYksIfjdAhDxNnH8CdMcbwO w4et56fn3KS8h89/7i5/i0+oEW86i4Aeu5D8zfxTfYwP/Gd6TfM59Xyhy9D9+F4RsWr3Fy IyItN2VaPpMG734+C16m/wssihf+KN/yQski4xzUjcg2IXiXw/KTmoSdVBuaMJZfDoB+VE yMSScocGnEJwBmWiwhwBV7KCgu0urGVGA9tWoqTsy7/YCFp3SlDSgBg3ClfFhycxVTduRu gibKfp4vvsvEWwZVHtC4Hm7/S4a0fH6XnKmcf421JLQpYt03d+PEmiVM67R0Eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by decke: URL: https://cgit.FreeBSD.org/ports/commit/?id=139487d6381fb03c9afe1c862e7791ac2b2ef6c8 commit 139487d6381fb03c9afe1c862e7791ac2b2ef6c8 Author: Bernhard Froehlich AuthorDate: 2022-01-14 14:11:47 +0000 Commit: Bernhard Froehlich CommitDate: 2022-01-14 14:11:47 +0000 games/kodi-addon-game.libretro.genplus: Update to 1.7.4.31 and more This avoids bundling the genplus code and instead depends on the libretro-genesis_plus_gx port. PR: 261112 Submitted by: Ivan Rozhuk (maintainer) --- games/kodi-addon-game.libretro.genplus/Makefile | 56 ++++++++++++------------- games/kodi-addon-game.libretro.genplus/distinfo | 8 ++-- 2 files changed, 30 insertions(+), 34 deletions(-) diff --git a/games/kodi-addon-game.libretro.genplus/Makefile b/games/kodi-addon-game.libretro.genplus/Makefile index d72fb2efa79b..aeac170a0535 100644 --- a/games/kodi-addon-game.libretro.genplus/Makefile +++ b/games/kodi-addon-game.libretro.genplus/Makefile @@ -1,43 +1,41 @@ # Created by: Rozhuk Ivan PORTNAME= game.libretro.genplus -PORTVERSION= 1.7.4.15 +PORTVERSION= 1.7.4.31 DISTVERSIONSUFFIX= -Matrix -PORTREVISION= 1 CATEGORIES= games MAINTAINER= rozhuk.im@gmail.com COMMENT= Kodi game addon for Sega - MS/GG/MD/CD (Genesis Plus GX) -LICENSE= GPGX -LICENSE_NAME= GPGX -LICENSE_FILE= ${WRKSRC}/depends/common/genplus/LICENSE.txt -LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept +LICENSE= GPLv2+ -LIB_DEPENDS= libtinyxml.so:textproc/tinyxml -RUN_DEPENDS= kodi-addon-game.libretro>=0:games/kodi-addon-game.libretro +LIBRETRO_PORT= libretro-genesis_plus_gx -USES= cmake:noninja gmake kodi +RUN_DEPENDS= kodi-addon-game.libretro>=0:games/kodi-addon-game.libretro \ + ${LIBRETRO_PORT}>=0:games/${LIBRETRO_PORT} + +NO_ARCH= yes + +USES= kodi USE_GITHUB= yes -GH_ACCOUNT= kodi-game \ - libretro:genplus -GH_PROJECT= Genesis-Plus-GX:genplus -# Keep in sync with: depends/common/genplus/genplus.txt -GH_TAGNAME= 0164eb9730c0803674a54a3694633a56f4801661:genplus - -CMAKE_ARGS= -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=1 \ - -DADDONS_TO_BUILD=${PORTNAME} \ - -DGENPLUS_LIB=depends/common/genplus/genesis_plus_gx_libretro.so - -post-extract: - @${MV} ${WRKSRC_genplus}/* ${WRKSRC}/depends/common/genplus/ - -post-patch: - @${REINPLACE_CMD} -e 's|find_library(GENPLUS_LIB.*|add_subdirectory(depends/common/genplus)|g' \ - ${WRKSRC}/CMakeLists.txt - -post-install: - ${RM} -rf ${STAGEDIR}${PREFIX}/lib/libretro +GH_ACCOUNT= kodi-game + +do-build: + @${MKDIR} ${WRKSRC}/lib + @LIBRARY_FILENAME_FULL=`${MAKE} -C ../${LIBRETRO_PORT} -V PLIST_FILES | ${SED} 's| .*||g'` && \ + LIBRARY_FILENAME=`basename "$${LIBRARY_FILENAME_FULL}"` && \ + ${LN} -sf "${LOCALBASE}/$${LIBRARY_FILENAME_FULL}" ${WRKSRC}/lib/ && \ + ${REINPLACE_CMD} -e 's|@PLATFORM@|freebsd|g' \ + -e "s|@LIBRARY_FILENAME@|$${LIBRARY_FILENAME}|g" \ + ${WRKSRC}/${PORTNAME}/addon.xml.in + @${MV} ${WRKSRC}/${PORTNAME}/addon.xml.in ${WRKSRC}/${PORTNAME}/addon.xml + @${RM} -f ${WRKSRC}/${PORTNAME}/addon.xml.in.bak + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/kodi/addons/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/share/kodi/addons + @(cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} * ${STAGEDIR}${PREFIX}/lib/kodi/addons/${PORTNAME}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/share/kodi/addons) .include diff --git a/games/kodi-addon-game.libretro.genplus/distinfo b/games/kodi-addon-game.libretro.genplus/distinfo index ac3b14b76b56..f2b25c83729b 100644 --- a/games/kodi-addon-game.libretro.genplus/distinfo +++ b/games/kodi-addon-game.libretro.genplus/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1611230470 -SHA256 (kodi-game-game.libretro.genplus-1.7.4.15-Matrix_GH0.tar.gz) = 7a2cb0872e1d4a6908672dd250aeae8a3369c525b73cde30c370e0de87e22f9e -SIZE (kodi-game-game.libretro.genplus-1.7.4.15-Matrix_GH0.tar.gz) = 862196 -SHA256 (libretro-Genesis-Plus-GX-0164eb9730c0803674a54a3694633a56f4801661_GH0.tar.gz) = 549961291e5615caa156186d5975353db84488ef7395a9d095b37ae30cf22891 -SIZE (libretro-Genesis-Plus-GX-0164eb9730c0803674a54a3694633a56f4801661_GH0.tar.gz) = 6512941 +TIMESTAMP = 1641911296 +SHA256 (kodi-game-game.libretro.genplus-1.7.4.31-Matrix_GH0.tar.gz) = 3eebfa7685da718e11bd7f1bd45c34ba796da2323d165ccc9862bcf6d987331a +SIZE (kodi-game-game.libretro.genplus-1.7.4.31-Matrix_GH0.tar.gz) = 870715