From nobody Tue Feb 28 21:00:35 2023 X-Original-To: dev-commits-ports-main@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 4PR8sJ2Qtzz3twWM; Tue, 28 Feb 2023 21:00:36 +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 4PR8sJ1ctkz40kh; Tue, 28 Feb 2023 21:00:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677618036; 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=9UbS6ElFvv1O+VwrrWpjlugfdmR9+p6hJC9uPXIPFx8=; b=ncel0LTDdY2hS5cNjeaiHkESGKFPsIeFnB9SVudAGggb/2ebwuqQwk+gJ7r2F9rIcPu1WO CNndhDBDDKhTuumgDyremYb3er/PcoMhucXfhZXo0jYiUAGdfhf4Fg0fqV64KHbWO6Jg14 m9lhDMUF+ENVtyjEAUh76i8yohLsywFVLyxOcUMlCoBw12KsaHmGDeoXPiZPMwowlafYE4 tTekW/8OrGMnpqBa3TK1dRV5rz/iqEcBxocJjrd2y1TjM4CWvVlWaV2Ic/xVcg/sGqE7XV vXSIqxMfiaXQSVeK59YCd+3tIpCk4Sx/a/dUCm8eI7ukYt15C/YvKyg112nxkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677618036; 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=9UbS6ElFvv1O+VwrrWpjlugfdmR9+p6hJC9uPXIPFx8=; b=vgOA6/MsgLo6Md/dSG1cJ84q16Qpd8nC5Ae8eaSOfzkY8EWMQpg3R8RxpYcB1TFI1sDUPj mvlM6LYZ+kpZJzu0Pau1xwFQYLmUdysMzn7oKutRVvg0A2kqOZ25W1yWMsCZ3FNFwrdhPK hJoNvyDlwi9p1nZX/p8TrWLb46cQpsmuLHv1v6vytsHl/ELP163a/+x0XFzCzHRYQPVYFR Ortqvsnowns7aGnXbUqb1DO2ki7dV1y4oeHF8sng+VyyvauvTHNmboXN8EPXCXViZ3Cz19 87/s+VTdPkl07E1QhzzCYCjLyJ5SGo00z2mwxg5npCPn3PYXt0+kWxIrtjB8rQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677618036; a=rsa-sha256; cv=none; b=B8DZMn98TjhxetgIImRoZXjky4jATZQ5+6MyMWOW+9/YC17s4BartTUmJMrGDdu4GTguql CefeJXpymaHb9L9+BwqYd4JoXcgiq8z0MHKomMCFMoFHVf4ZaYjC55OPkcv1+D6fbdW50G ZukDsgbple/W/Y4TQv+uh/guqbtroLhSCLDPfyEvG42xB29PlvWyHjB19zWlpstkZyEesm WSfW6Txrr32cVzarSkciPJiJ7ISJWlolBEbEQUDs/vxk7GR/FlM383w4FChAwJOC+ivKSA rXqe0fpMr2ghI/fl2SzEK1Bvlj0L6mS+PRLvDGBmKntRi9onvWzLVCWw8oHiyg== 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 4PR8sJ0KQMz1M2v; Tue, 28 Feb 2023 21:00:36 +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 31SL0ZpC076821; Tue, 28 Feb 2023 21:00:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31SL0Zn4076820; Tue, 28 Feb 2023 21:00:35 GMT (envelope-from git) Date: Tue, 28 Feb 2023 21:00:35 GMT Message-Id: <202302282100.31SL0Zn4076820@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: c14e8a660992 - main - audio/milkytracker: Add MIDI support List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c14e8a660992114f8bbcf8523dd566b317da392c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=c14e8a660992114f8bbcf8523dd566b317da392c commit c14e8a660992114f8bbcf8523dd566b317da392c Author: Emanuel Haupt AuthorDate: 2023-02-28 20:59:52 +0000 Commit: Emanuel Haupt CommitDate: 2023-02-28 21:00:30 +0000 audio/milkytracker: Add MIDI support While here pacify portfmt, portclippy. PR: 269106 Submitted by: notbylundzander@gmail.com --- audio/milkytracker/Makefile | 27 ++++++++++++++++----------- audio/milkytracker/files/patch-CMakeLists.txt | 20 ++++++++++++++++++++ 2 files changed, 36 insertions(+), 11 deletions(-) diff --git a/audio/milkytracker/Makefile b/audio/milkytracker/Makefile index 2d676e06af14..7fff7dbb9080 100644 --- a/audio/milkytracker/Makefile +++ b/audio/milkytracker/Makefile @@ -1,36 +1,41 @@ PORTNAME= milkytracker PORTVERSION= 1.03.00 -PORTREVISION= 1 DISTVERSIONPREFIX= v +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= ehaupt@FreeBSD.org COMMENT= Music creation tool inspired by Fast Tracker 2 WWW= https://milkytracker.titandemo.org/ -LICENSE= GPLv3+ BSD3CLAUSE +LICENSE= BSD3CLAUSE GPLv3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING -LIB_DEPENDS= liblhasa.so:archivers/lhasa \ - libzzip.so:devel/zziplib \ - libjack.so:audio/jack +LIB_DEPENDS= libjack.so:audio/jack \ + liblhasa.so:archivers/lhasa \ + libzzip.so:devel/zziplib USES= cmake compiler:c11 cpe sdl -USE_GITHUB= yes -USE_SDL= sdl2 - CPE_VENDOR= milkytracker_project - +USE_GITHUB= yes GH_PROJECT= MilkyTracker +USE_SDL= sdl2 ICONS= carton.ico carton.png -OPTIONS_DEFINE= DOCS - # ci pipeline creates transient tags PORTSCOUT= ignore:1 +OPTIONS_DEFINE= DOCS RTMIDI +OPTIONS_DEFAULT= DOCS RTMIDI + +RTMIDI_DESC= MIDI input support via rtmidi + +RTMIDI_LIB_DEPENDS= libasound.so:audio/alsa-lib \ + librtmidi.so:audio/rtmidi +RTMIDI_CMAKE_ON= -DENABLE_RTMIDI:BOOL=ON + post-install: .for f in ${ICONS} ${INSTALL_DATA} ${WRKSRC}/resources/pictures/${f} \ diff --git a/audio/milkytracker/files/patch-CMakeLists.txt b/audio/milkytracker/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..f7ee60f09d44 --- /dev/null +++ b/audio/milkytracker/files/patch-CMakeLists.txt @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2020-12-09 22:58:14 UTC ++++ CMakeLists.txt +@@ -23,7 +23,7 @@ cmake_minimum_required(VERSION 3.10) + project(MilkyTracker) + + # Set C++ standard to C++98 +-set(CMAKE_CXX_STANDARD 98) ++set(CMAKE_CXX_STANDARD 17) + set(CMAKE_CXX_EXTENSIONS OFF) + + # Enable IDE solution folders +@@ -196,7 +196,7 @@ if(UNIX) + find_package(ZZIPLIB) + endif() + +- if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") ++ if(${ENABLE_RTMIDI}) + find_package(ALSA) + find_package(JACK) +