1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

emulators/cemu: the port had been updated to version 2.0

After many years and around 450 commits, it's finally here.
CEmu is more accurate and more powerful than ever before!
Major core and GUI improvements plus new features.

Reported by:	portscout
This commit is contained in:
Alexey Dokuchaev 2024-09-07 18:21:40 +00:00
parent de77e1b869
commit e1f074dc26
3 changed files with 24 additions and 23 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= cemu
PORTVERSION= 1.3
PORTVERSION= 2.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= emulators
MAINTAINER= danfe@FreeBSD.org
@ -20,7 +19,8 @@ USE_QT= buildtools:build core gui network widgets
USE_GITHUB= yes
GH_ACCOUNT= CE-Programming
GH_PROJECT= CEmu
GH_TUPLE= CE-Programming:zdis:7eb89e5:zdis/core/debug/zdis
GH_TUPLE= CE-Programming:zdis:7eb89e5:zdis/core/debug/zdis \
adriweb:tivars_lib_cpp:f627164:tvlc/gui/qt/tivars_lib_cpp
QMAKE_SOURCE_PATH= gui/qt/CEmu.pro
_ICON_PREFIX= ${PREFIX}/share/icons/hicolor

View File

@ -1,5 +1,7 @@
TIMESTAMP = 1561195244
SHA256 (CE-Programming-CEmu-v1.3_GH0.tar.gz) = 581da0eff0c7e5b24dfbe19a125b9f0dd3f17c431a0ba50e1984e1ec4f65d2b5
SIZE (CE-Programming-CEmu-v1.3_GH0.tar.gz) = 993425
TIMESTAMP = 1725568524
SHA256 (CE-Programming-CEmu-v2.0_GH0.tar.gz) = 84a2fd783d095a6f3fc89d89060dc5b6666e1b9fd6a11dfde81abec0f0046fd5
SIZE (CE-Programming-CEmu-v2.0_GH0.tar.gz) = 1080496
SHA256 (CE-Programming-zdis-7eb89e5_GH0.tar.gz) = 63cc483cc848f31a0cfbcb0d0733e91a574a1ba76881ba7623e8a8265fb5bd70
SIZE (CE-Programming-zdis-7eb89e5_GH0.tar.gz) = 5504
SHA256 (adriweb-tivars_lib_cpp-f627164_GH0.tar.gz) = a233474603f22cab2a94659b8cafccb19383005838441c98fdd11950d2e63579
SIZE (adriweb-tivars_lib_cpp-f627164_GH0.tar.gz) = 442271

View File

@ -1,15 +1,15 @@
--- gui/qt/CEmu.pro.orig 2019-06-22 09:20:44 UTC
--- gui/qt/CEmu.pro.orig 2024-09-05 20:35:24 UTC
+++ gui/qt/CEmu.pro
@@ -6,7 +6,7 @@ lessThan(QT_MINOR_VERSION, 5) : error("You need at lea
@@ -9,7 +9,7 @@ if (lessThan(QT_MAJOR_VERSION, 6)) {
# CEmu version and info
CEMU_RELEASE = true
-CEMU_GIT_SHA = $$system(git describe --abbrev=7 --always)
+CEMU_GIT_SHA = 87c3b43 # XXX: don't forget to change for the next version!
+CEMU_GIT_SHA = a0a9d35 # XXX: don't forget to change for the next version!
isEmpty(CEMU_VERSION) {
CEMU_VERSION = v1.3dev
CEMU_VERSION = v2.0dev
CEMU_RELEASE = false
@@ -23,7 +23,7 @@ CI = $$(CI)
@@ -31,7 +31,7 @@ CI = $$(CI)
DISTFILES += ../../.astylerc
# Linux desktop files
@ -18,13 +18,12 @@
isEmpty(PREFIX) {
PREFIX = /usr
}
@@ -77,12 +77,13 @@ if (!win32-msvc*) {
isEmpty(CI) {
# Only enable opts for non-CI release builds
# -flto might cause an internal compiler error on GCC in some circumstances (with -g3?)... Comment it if needed.
- CONFIG(release, debug|release): GLOBAL_FLAGS += -O3 -flto
+ #CONFIG(release, debug|release): GLOBAL_FLAGS += -O3 -flto
}
@@ -93,11 +93,12 @@ if (!win32-msvc*) {
QMAKE_CFLAGS += -std=gnu11 -Werror=implicit-function-declaration -Werror=missing-prototypes
# -flto might cause an internal compiler error on GCC in some circumstances (with -g3?)... Comment it if needed.
- CONFIG(release, debug|release): GLOBAL_FLAGS += -O3 -flto
+ #CONFIG(release, debug|release): GLOBAL_FLAGS += -O3 -flto
if (contains(DEFINES, LIB_ARCHIVE_SUPPORT)) {
CONFIG += link_pkgconfig
@ -34,7 +33,7 @@
}
# You should run ./capture/get_libpng-apng.sh first!
isEmpty(USE_LIBPNG) {
@@ -157,7 +158,7 @@ if (!win32-msvc*) {
@@ -172,7 +173,7 @@ if (!win32-msvc*) {
}
}
@ -43,7 +42,7 @@
# Be more secure by default...
GLOBAL_FLAGS += -fPIE -Wstack-protector -fstack-protector-strong --param=ssp-buffer-size=1
# Use ASAN on debug builds. Watch out about ODR crashes when built with -flto. detect_odr_violation=0 as an env var may help.
@@ -165,7 +166,7 @@ if (macx|linux) {
@@ -180,7 +181,7 @@ if (macx|linux) {
}
macx: QMAKE_LFLAGS += -Wl,-dead_strip
@ -52,9 +51,9 @@
QMAKE_CFLAGS += $$GLOBAL_FLAGS
QMAKE_CXXFLAGS += $$GLOBAL_FLAGS
@@ -256,7 +257,7 @@ SOURCES += \
keyhistorywidget.cpp \
tablewidget.cpp
@@ -279,7 +280,7 @@ SOURCES += \
tablewidget.cpp \
basicdebugger.cpp
-linux|macx: SOURCES += ../../core/os/os-linux.c
+unix|macx: SOURCES += ../../core/os/os-linux.c