From nobody Tue Jan 18 12:47:26 2022 X-Original-To: dev-commits-ports-all@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 853461963BAE; Tue, 18 Jan 2022 12:47:27 +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 4JdT7g0cSJz3Ggc; Tue, 18 Jan 2022 12:47:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642510047; 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=ZIRPVs5GbBjZ2MdOk4NI/QHVLoe7SH/CGRkTxD50I1o=; b=QAYsnlZ923iLnARJar08+VcmcsYIrOMLmhiaUf+OVAhCQrwloRAMC4g+QlGfde41u3Nsds oWECM7YGbPMWYgvtNo3O84FN+ZY5432zWhtj8tygg1H6wn59ufDpcDpTE7ugIzTlQazgqd zv+WDZWJWP+wxpI4HPRqmbQ2VpPnyDzNzbLD6Xmn+4NOt8bpx2HVV4yY2qIIQRxSORie3C 8co7JJWUeZlJB/VXHpRDdY/MSneOu7o7wPRuei/swaqhAzKkkMrGfluasqaulc3fjwinIz m9Mu4Zge0Oo/qDbnWpj3QGGQHexP9rDOHG8ZM7efPg5aYvozoJ0veB/7HvFP5Q== 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 C6E0F217B5; Tue, 18 Jan 2022 12:47:26 +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 20IClQBq049977; Tue, 18 Jan 2022 12:47:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20IClQhM049976; Tue, 18 Jan 2022 12:47:26 GMT (envelope-from git) Date: Tue, 18 Jan 2022 12:47:26 GMT Message-Id: <202201181247.20IClQhM049976@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: cb87af0a076b - main - games/kodi-addon-game.libretro.picodrive: Avoid bundling picodrive List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: cb87af0a076b7a5ebee974045d0f427ec6897337 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642510047; 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=ZIRPVs5GbBjZ2MdOk4NI/QHVLoe7SH/CGRkTxD50I1o=; b=jP6ZGBKfRcnB0f/qWrbHbq7b6mpLwu+Go0h5nukzgOdR6jGgJ9vkstLRQK8gXjkidBq6CM F7yPXiZcN7l0qt/IXsV0yzMx1GZXgysmAwC7fKhknhRdywbCyqBAGLmTNHKcwzsAFubX79 t9okpI1+Rqgub0yzjBQ3uf7JCZyLGmymoBGh4WPQPr8Ob//YyLN6ZptlCLhmXjZEduoYXL evBrrXm4QJWNQdXW3DwSxYSaFHS67O/gkHNXObrRqwmDm+S9mdi9dTaOoJArqLHnOYA3Nu WuGkV86Almkfg6ASggU/RpW1SYx9/0dFZ9rRQLUMQZ/p7wc7MAlwnV1g2rq58g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642510047; a=rsa-sha256; cv=none; b=iTQiLfiEdjv20jtC+XGAfmykcBUQYEMH/dKXM1/8vqC+OFOlDMNUEcKK7dob36aSxMhgJh t9dzd74Uh2nuB+7braK4EGIb5DHhGIuYEA8FZm6vv2ECvaLBPW7mXU4tDC47lYcw/0I7oC 25uEeRkTd9Qi2pvYlG5vOVAzogzqVj74snGWtq+K+W0fP+6N7W4EQBqJElknJnfXr8Couu PFjJ3nPg7geXqb7u/fWwqvI0UNPoVMnxpqbF199JhUxR1eqZ9u1CpVe3pNh59I7Jxg/rtj RdNYhzRZ/PjJ2XtBVzFgpiUmwxsFt8d64ydN4Snl+DWPVWzPYh3sC61pN9vewQ== 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=cb87af0a076b7a5ebee974045d0f427ec6897337 commit cb87af0a076b7a5ebee974045d0f427ec6897337 Author: Bernhard Froehlich AuthorDate: 2022-01-18 12:36:35 +0000 Commit: Bernhard Froehlich CommitDate: 2022-01-18 12:36:35 +0000 games/kodi-addon-game.libretro.picodrive: Avoid bundling picodrive PR: 261114 Submitted by: Ivan Rozhuk (maintainer) --- games/kodi-addon-game.libretro.picodrive/Makefile | 58 ++++++++++------------- games/kodi-addon-game.libretro.picodrive/distinfo | 10 ---- 2 files changed, 26 insertions(+), 42 deletions(-) diff --git a/games/kodi-addon-game.libretro.picodrive/Makefile b/games/kodi-addon-game.libretro.picodrive/Makefile index 59ad5146ec23..653db7bc801a 100644 --- a/games/kodi-addon-game.libretro.picodrive/Makefile +++ b/games/kodi-addon-game.libretro.picodrive/Makefile @@ -3,47 +3,41 @@ PORTNAME= game.libretro.picodrive PORTVERSION= 1.98.0.26 DISTVERSIONSUFFIX= -Matrix +PORTREVISION= 1 CATEGORIES= games MAINTAINER= rozhuk.im@gmail.com COMMENT= Kodi game addon for Sega - MS/MD/CD/32X (PicoDrive) -LICENSE= MAME-LICENSE -LICENSE_NAME= MAME license -LICENSE_FILE= ${WRKSRC}/depends/common/picodrive/COPYING -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-picodrive + +RUN_DEPENDS= kodi-addon-game.libretro>=0:games/kodi-addon-game.libretro \ + ${LIBRETRO_PORT}>=0:games/${LIBRETRO_PORT} + +NO_ARCH= yes + +USES= kodi -USES= cmake:noninja gmake kodi USE_GITHUB= yes GH_ACCOUNT= kodi-game -# Keep in sync with: depends/common/picodrive/picodrive.txt and work/picodrive-*/.gitmodules -GH_TUPLE= libretro:picodrive:046371ad2a3842d938cc74db5a615764ca2ff4ac:libretro_picodrive \ - notaz:libpicofe:76e45c3489a0c32d91744413c198f685b553f6c0:notaz_libpicofe \ - notaz:cyclone68000:94a9d9a888e72cbfa4db12113cd113cf5e154f7f:notaz_cyclone68000 \ - digital-sound-antiques:emu2413:a18c81927fae4963f88a4c946ca150246cb9e9be:digital_sound_antiques_emu2413 \ - lieff:minimp3:ef9e212fa29bb72d23558da21bb5694fd2d01768:lieff_minimp3 - -CMAKE_ARGS= -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=1 \ - -DADDONS_TO_BUILD=${PORTNAME} \ - -DPICODRIVE_LIB=depends/common/picodrive/picodrive_libretro.so - -post-extract: - @${MV} ${WRKSRC_notaz_libpicofe}/* ${WRKSRC_libretro_picodrive}/platform/libpicofe/ - @${MV} ${WRKSRC_notaz_cyclone68000}/* ${WRKSRC_libretro_picodrive}/cpu/cyclone/ - @${MV} ${WRKSRC_digital_sound_antiques_emu2413}/* ${WRKSRC_libretro_picodrive}/pico/sound/emu2413/ - @${MV} ${WRKSRC_lieff_minimp3}/* ${WRKSRC_libretro_picodrive}/platform/common/minimp3 - @${MV} ${WRKSRC_libretro_picodrive}/* ${WRKSRC}/depends/common/picodrive/ - -post-patch: - @${REINPLACE_CMD} -e 's|find_library(PICODRIVE_LIB.*|add_subdirectory(depends/common/picodrive)|g' \ - ${WRKSRC}/CMakeLists.txt - -post-install: - ${RM} -rf ${STAGEDIR}${PREFIX}/lib/libretro +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.picodrive/distinfo b/games/kodi-addon-game.libretro.picodrive/distinfo index 638b1cb51fbd..13e1af8fbbb3 100644 --- a/games/kodi-addon-game.libretro.picodrive/distinfo +++ b/games/kodi-addon-game.libretro.picodrive/distinfo @@ -1,13 +1,3 @@ TIMESTAMP = 1641912990 SHA256 (kodi-game-game.libretro.picodrive-1.98.0.26-Matrix_GH0.tar.gz) = d427d69ac7814613643d42a6e5d9790ce937479785abd45d980d5dedf1e9856f SIZE (kodi-game-game.libretro.picodrive-1.98.0.26-Matrix_GH0.tar.gz) = 817411 -SHA256 (libretro-picodrive-046371ad2a3842d938cc74db5a615764ca2ff4ac_GH0.tar.gz) = 101155a1a0da985a2d8a7c62967a3ee110825b68703a2519ba906d2eba7fe994 -SIZE (libretro-picodrive-046371ad2a3842d938cc74db5a615764ca2ff4ac_GH0.tar.gz) = 1573265 -SHA256 (notaz-libpicofe-76e45c3489a0c32d91744413c198f685b553f6c0_GH0.tar.gz) = a0a1c7e65f88b8fb17f0c3139a947c3677fcab848b90e24ee1cd0c6ae5ffe8c2 -SIZE (notaz-libpicofe-76e45c3489a0c32d91744413c198f685b553f6c0_GH0.tar.gz) = 86695 -SHA256 (notaz-cyclone68000-94a9d9a888e72cbfa4db12113cd113cf5e154f7f_GH0.tar.gz) = 1bd2f6558b3cf276ed6d895df303c3e8fc45e501017b10c2f96b35a73d052401 -SIZE (notaz-cyclone68000-94a9d9a888e72cbfa4db12113cd113cf5e154f7f_GH0.tar.gz) = 64417 -SHA256 (digital-sound-antiques-emu2413-a18c81927fae4963f88a4c946ca150246cb9e9be_GH0.tar.gz) = b183c44a83451cb5c8ce16f800e11a8c848b8554f6f98e909a279edc927d8db1 -SIZE (digital-sound-antiques-emu2413-a18c81927fae4963f88a4c946ca150246cb9e9be_GH0.tar.gz) = 17155 -SHA256 (lieff-minimp3-ef9e212fa29bb72d23558da21bb5694fd2d01768_GH0.tar.gz) = 1290ecb0f0d489506169bc3b886fe8323e5b27e72bf647afd13500716ac64824 -SIZE (lieff-minimp3-ef9e212fa29bb72d23558da21bb5694fd2d01768_GH0.tar.gz) = 19744364