Commit 01607ea1 authored by Rene Ladan's avatar Rene Ladan
Browse files

x11/antimicro: Remove expired port

2023-10-01 x11/antimicro: Replaced by x11/antimicrox upstream no longer maintained
parent 836119fc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7927,3 +7927,4 @@ databases/percona57-pam-for-mysql||2023-10-01|Has expired: Upstream EOL reaches
databases/percona57-server||2023-10-01|Has expired: Upstream EOL reaches on 2023-10-01
databases/percona57-client||2023-10-01|Has expired: Upstream EOL reaches on 2023-10-01
sysutils/nfs-over-tls||2023-10-01|Has expired: All supported releases of FreeBSD include this in base
x11/antimicro|x11/antimicrox|2023-10-01|Has expired: Replaced by x11/antimicrox upstream no longer maintained
+0 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@
    SUBDIR += albert
    SUBDIR += alttab
    SUBDIR += aminal
    SUBDIR += antimicro
    SUBDIR += antimicrox
    SUBDIR += appmenu-registrar
    SUBDIR += appres

x11/antimicro/Makefile

deleted100644 → 0
+0 −28
Original line number Diff line number Diff line
PORTNAME=	antimicro
PORTVERSION=	2.23
PORTREVISION=	3
CATEGORIES=	x11

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Program for mapping keyboard and mouse to a gamepad
WWW=		https://github.com/AntiMicro/antimicro

LICENSE=	GPLv3

DEPRECATED=	Replaced by x11/antimicrox upstream no longer maintained
EXPIRATION_DATE=	2023-10-01

USES=		cmake compiler:c++11-lang desktop-file-utils pkgconfig \
		qt:5 sdl shared-mime-info xorg
USE_GITHUB=	yes
GH_ACCOUNT=	antimicro #Ryochan7
USE_QT=		core gui linguisttools:build qmake:build buildtools:build widgets network
USE_SDL=	sdl2
USE_XORG=	x11 xi xtst

# Upstream assumes ${LOCALBASE}/lib is part of the default linker path. Pull
# request 268 fixes it for X11 libraries, but SDL2 is still using pkg-config
# output (without full paths).
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.port.mk>

x11/antimicro/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1484123767
SHA256 (antimicro-antimicro-2.23_GH0.tar.gz) = ef309170612da805992f9194f1973bf38a3174a0856856afedab67f9d927a9ef
SIZE (antimicro-antimicro-2.23_GH0.tar.gz) = 1157299
+0 −36
Original line number Diff line number Diff line
Submitted upstream: https://github.com/AntiMicro/antimicro/pull/207

From e5d2c880ac336bc9ff558c43fe5ed7d47df28bbe Mon Sep 17 00:00:00 2001
From: Raphael Kubo da Costa <rakuco@FreeBSD.org>
Date: Mon, 29 Jan 2018 12:19:55 +0100
Subject: [PATCH] cmake: Stop calling QT5_WRAP_CPP().

The USE_QT5 code path already unconditionally sets CMAKE_AUTOMOC to on.

Calling QT5_WRAP_CPP() used to be just redundant, as antimicro_HEADERS_MOC
was never actually added as a source dependency of the antiword target. In
other words, CMake's own automoc infrastructure was actually being used and
the moc invocations from QT5_WRAP_CPP() were not being made at all.

Starting with Qt 5.9.4, calling QT5_WRAP_CPP() disables the AUTOMOC property
on the macro's input files, which means neither CMake's automoc
infrastructure not QT5_WRAP_CPP()'s code were being used and we ended up
with several 'undefined reference to vtable' errors when linking.
--- CMakeLists.txt.orig	2016-11-06 01:23:03 UTC
+++ CMakeLists.txt
@@ -499,7 +499,6 @@ if (UNIX)
         find_package(Qt5Network REQUIRED)
         find_package(Qt5LinguistTools REQUIRED)
 
-        QT5_WRAP_CPP(antimicro_HEADERS_MOC ${antimicro_HEADERS})
         QT5_WRAP_UI(antimicro_FORMS_HEADERS ${antimicro_FORMS})
         QT5_ADD_RESOURCES(antimicro_RESOURCES_RCC ${antimicro_RESOURCES})
         add_subdirectory("share/antimicro/translations")
@@ -550,7 +549,6 @@ elseif(WIN32)
     find_package(Qt5Network REQUIRED)
     find_package(Qt5LinguistTools REQUIRED)
 
-    QT5_WRAP_CPP(antimicro_HEADERS_MOC ${antimicro_HEADERS})
     QT5_WRAP_UI(antimicro_FORMS_HEADERS ${antimicro_FORMS})
     QT5_ADD_RESOURCES(antimicro_RESOURCES_RCC ${antimicro_RESOURCES})
     add_subdirectory("share/antimicro/translations")
Loading