diff --git a/games/cubiomes-viewer/Makefile b/games/cubiomes-viewer/Makefile new file mode 100644 index 00000000000..82a885082ac --- /dev/null +++ b/games/cubiomes-viewer/Makefile @@ -0,0 +1,42 @@ +COMMENT = graphical Minecraft seed finder and map viewer + +V = 4.1.2 +DISTNAME = cubiomes-viewer-${V} + +SITES = https://github.com/Cubitect/cubiomes-viewer/releases/download/${V}/ +EXTRACT_SUFX = -src.tar.gz + +CATEGORIES = games + +# GPL v3 +PERMIT_PACKAGE = Yes + +WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Widgets c m + +MODULES = devel/qmake \ + x11/qt5 + +RUN_DEPENDS += devel/desktop-file-utils + +MODQMAKE_ARGS += 'CONFIG+=without_network' + +SEPARATE_BUILD = Yes +USE_GMAKE = Yes + +WRKDIST = ${WRKDIR}/cubiomes-viewer + +do-install: + ${INSTALL_PROGRAM} ${WRKBUILD}/cubiomes-viewer ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/metainfo + ${INSTALL_DATA} \ + ${WRKSRC}/etc/com.github.cubitect.cubiomes-viewer.metainfo.xml \ + ${PREFIX}/share/metainfo/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/applications + ${INSTALL_DATA} \ + ${WRKSRC}/etc/com.github.cubitect.cubiomes-viewer.desktop \ + ${PREFIX}/share/applications/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/etc/icon.svg \ + ${PREFIX}/share/pixmaps/cubiomes-viewer.svg + +.include diff --git a/games/cubiomes-viewer/distinfo b/games/cubiomes-viewer/distinfo new file mode 100644 index 00000000000..b1df40fced5 --- /dev/null +++ b/games/cubiomes-viewer/distinfo @@ -0,0 +1,2 @@ +SHA256 (cubiomes-viewer-4.1.2-src.tar.gz) = +oqjKLS/vdXflHTMm9E6Eh1Mk/X0Xy/UCnmlPZq0IlU= +SIZE (cubiomes-viewer-4.1.2-src.tar.gz) = 2447165 diff --git a/games/cubiomes-viewer/pkg/DESCR b/games/cubiomes-viewer/pkg/DESCR new file mode 100644 index 00000000000..1182187f046 --- /dev/null +++ b/games/cubiomes-viewer/pkg/DESCR @@ -0,0 +1,6 @@ +Cubiomes Viewer provides a graphical interface for the efficient and +flexible seed-finding utilities provided by cubiomes and a map viewer +for the Minecraft biomes and structure generation. + +The tool is designed for high performance and supports Minecraft Java +Edition main releases up to 1.21. diff --git a/games/cubiomes-viewer/pkg/PLIST b/games/cubiomes-viewer/pkg/PLIST new file mode 100644 index 00000000000..73301c771d6 --- /dev/null +++ b/games/cubiomes-viewer/pkg/PLIST @@ -0,0 +1,7 @@ +@bin bin/cubiomes-viewer +share/applications/com.github.cubitect.cubiomes-viewer.desktop +share/metainfo/ +share/metainfo/com.github.cubitect.cubiomes-viewer.metainfo.xml +share/pixmaps/ +share/pixmaps/cubiomes-viewer.svg +@tag update-desktop-database