summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/flycast/Makefile16
-rw-r--r--emulators/flycast/Makefile.tuples4
-rw-r--r--emulators/flycast/files/gen_gh_tuple.sh29
3 files changed, 3 insertions, 46 deletions
diff --git a/emulators/flycast/Makefile b/emulators/flycast/Makefile
index c67ffa3354d0..c4a1f271ab9e 100644
--- a/emulators/flycast/Makefile
+++ b/emulators/flycast/Makefile
@@ -20,10 +20,11 @@ LIB_DEPENDS= libchdr.so:devel/libchdr \
USES= cmake compiler:c++20-lang pkgconfig sdl
USE_GITHUB= yes
GH_ACCOUNT= flyinghead
+GH_TUPLE= vinniefalco:LuaBridge:5d21e35633a1f87ed08af115b07d3386096f792b:LuaBridge/core/deps/luabridge \
+ GPUOpen-LibrariesAndSDKs:VulkanMemoryAllocator:6eb62e1515072827db992c2befd80b71b2d04329:VulkanMemoryAllocator/core/deps/VulkanMemoryAllocator \
+ RetroAchievements:rcheevos:563230b1c249774b4852c944dc7cdcb952c9e8e8:rcheevos/core/deps/rcheevos
USE_SDL= sdl2
-.include "${.CURDIR}/Makefile.tuples"
-
CMAKE_ON= USE_HOST_LIBCHDR
OPTIONS_DEFINE= DOCS LUA OPENMP VULKAN
@@ -63,15 +64,4 @@ post-install-DOCS-on:
(cd ${WRKSRC}/docs && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-# For maintainer (do not forget to clean up Makefile.tuples afterwards to
-# remove useless submodules)
-Makefile.tuples::
- ${RM} -f ${.CURDIR}/Makefile.tuples
- ${RM} -rf ${WRKDIR}/.maintainer.checkout
- ${MKDIR} ${WRKDIR}/.maintainer.checkout
- (cd ${WRKDIR}/.maintainer.checkout && \
- git clone --recursive --branch=${DISTVERSIONPREFIX}${DISTVERSION} \
- https://github.com/${GH_ACCOUNT}/${PORTNAME} . && \
- ${SH} ${FILESDIR}/gen_gh_tuple.sh > ${.CURDIR}/Makefile.tuples)
-
.include <bsd.port.mk>
diff --git a/emulators/flycast/Makefile.tuples b/emulators/flycast/Makefile.tuples
deleted file mode 100644
index 3dc85b571e43..000000000000
--- a/emulators/flycast/Makefile.tuples
+++ /dev/null
@@ -1,4 +0,0 @@
-GH_TUPLE= \
- vinniefalco:LuaBridge:5d21e35633a1f87ed08af115b07d3386096f792b:LuaBridge/core/deps/luabridge \
- GPUOpen-LibrariesAndSDKs:VulkanMemoryAllocator:6eb62e1515072827db992c2befd80b71b2d04329:VulkanMemoryAllocator/core/deps/VulkanMemoryAllocator \
- RetroAchievements:rcheevos:563230b1c249774b4852c944dc7cdcb952c9e8e8:rcheevos/core/deps/rcheevos \
diff --git a/emulators/flycast/files/gen_gh_tuple.sh b/emulators/flycast/files/gen_gh_tuple.sh
deleted file mode 100644
index ab014ef5f473..000000000000
--- a/emulators/flycast/files/gen_gh_tuple.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-echo "GH_TUPLE= \\"
-for _sm_root in $(find . -type f -name .gitmodules | sed 's/\.gitmodules$//' | sort)
-do
- (
- cd "${_sm_root}"
-
- # Crawl name|path|url list of submodules within _sm_root
- grep -e '^\[submodule "' -e 'path = ' -e 'url = ' .gitmodules | \
- sed -E -e 's|.*"([^"]+)".*|\1|' -e 's|.*= ||' | \
- paste - - - | \
- sed -E 's/[[:space:]]+/|/g' | \
- while read _sm
- do
- _sm_name=$(echo "${_sm}" | cut -d '|' -f 1)
- _sm_path=$(echo "${_sm}" | cut -d '|' -f 2)
- _sm_url=$(echo "${_sm}" | cut -d '|' -f 3)
-
- _sm_prefix=$(echo "${_sm_root}" | sed 's|^\./||')
-
- _account_project=$(echo "${_sm_url}" | sed -e 's|^https://github.com/||' -e 's|/|:|g' -e 's|\.git$||')
- _group=$(echo "${_account_project}" | cut -d ':' -f 2 | tr -cd 'a-zA-Z0-9_')
- _tagname_group_subdir=$(git submodule status "${_sm_path}" | sed -E -e 's|^.||' -e "s|[[:space:]]+|:${_group}/${_sm_prefix}|" -e 's|[[:space:]]+.*$||')
- echo -e "\t${_account_project}:${_tagname_group_subdir} \\"
- done
- )
-done
-echo ""