From nobody Fri Jan 14 18:06:04 2022 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 531B2196582F; Fri, 14 Jan 2022 18:06:05 +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 4Jb8P91vR8z4m3M; Fri, 14 Jan 2022 18:06:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642183565; 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=d1ugjozDAPEZq9aEtxPkZsQqOM63llkJshsW5xIvmfQ=; b=hZcIFHNpfwgb4JE86y5zJeq3gEbefvByrZ9/SnSibbUK/RTpmGeztRa2q4cxYeEngwalCj LG6I23/W2SNNlvgjUJjQpZMZsfNLgvU0AJcoHsA4gnw13hiRNDShFQG+RLJDPz0DxWzha5 iXxgdLeD3uVYcEVrjTdoFdqdlmA1WE+rrq57qyFBVKNu8HZXX+XM6Jlb42tYHG4yEg+Gek gVtXFrKBxiCBdl6KHAL5ye4Ad1JRmn6LyIKWbH9bE/2z1pfJZnGmxe1bf3ItZ563yb0/yi V3m28qyp4gRpO83MmZW1Cc2OZMas6OGdXMp8uX/mju8YS4c33guL/hkrW+L+ng== 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 1CC3A1842C; Fri, 14 Jan 2022 18:06:05 +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 20EI649I086378; Fri, 14 Jan 2022 18:06:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20EI64Ws086377; Fri, 14 Jan 2022 18:06:04 GMT (envelope-from git) Date: Fri, 14 Jan 2022 18:06:04 GMT Message-Id: <202201141806.20EI64Ws086377@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 391fef9e9f2a - main - multimedia/obs-ndi: Fix lookup path for libndi.so and add it as dependency 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 391fef9e9f2a873effd31feabbe50ecbf4ec4811 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642183565; 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=d1ugjozDAPEZq9aEtxPkZsQqOM63llkJshsW5xIvmfQ=; b=De9sCkGZ7vUavAzQa3LHmDjoMGa+bSoIlUwJwI+k94K9Ewx8DOmITLonm0VtMCr3o+gnbf ADiaqhM1YfR3br51moYa5RWJnW6maiREQBHwoIGspMuiTadUwua5hq05yCq6GeQ8//twHf DCqq6A7fepl7cUfJuoagoVGnFtZR3psqbkNXMYbwjpUvXeArx4dH/NbnB75GB52lS13E4/ OI8rByIlDua2zIoc+l/HfGnc2wXPr4dLbD6wpTEW/Ju7N1WcX5o4U6oCODEcKBOJdc3oq4 CDW6N1gg+4iTV8HhLM+ZgbshdJbONokAecTjfUeQt55LevZBHW68DoOzHjdB7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642183565; a=rsa-sha256; cv=none; b=C0xaoKWXeFCGcoV090DnumB6lmS1IXhZswOEBEY53cqLxrpQgnKa7zVktXAGFvsh8T9TXx 6gWeYoyh+R477jgP6rXWtIapSTg/Ksj5tUiyP7IgE5NZpSYlreXYcFPvE6PQ57xQqRXOP+ PJOvV+yjBwJYJ08HhwCIahyIsVPGE56/JuVMKwP0z4WUDE31XsecP/hPvC3Iy2NoSYrpTn SlAHMwvfrYjspL+5uTelf3popcNNUcEZE3mWJUUcn4uvGfmbLoJbU4Y1ooeGPcrHaXRo0a 0uB3iwp6SCqoVmoDOLu+qWqADRzly4XBSqWHpKUmQYsA7Xq/yyt8Ktn4b9WUWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=391fef9e9f2a873effd31feabbe50ecbf4ec4811 commit 391fef9e9f2a873effd31feabbe50ecbf4ec4811 Author: Yuri Victorovich AuthorDate: 2022-01-14 18:04:27 +0000 Commit: Yuri Victorovich CommitDate: 2022-01-14 18:06:01 +0000 multimedia/obs-ndi: Fix lookup path for libndi.so and add it as dependency PR: 258694 Reported by: mario felicioni --- multimedia/obs-ndi/Makefile | 3 ++- multimedia/obs-ndi/files/patch-src_obs-ndi.cpp | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/multimedia/obs-ndi/Makefile b/multimedia/obs-ndi/Makefile index 97304ff52748..a456aaab3c0c 100644 --- a/multimedia/obs-ndi/Makefile +++ b/multimedia/obs-ndi/Makefile @@ -1,6 +1,6 @@ PORTNAME= obs-ndi DISTVERSION= 4.9.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org @@ -10,6 +10,7 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libobs.so:multimedia/obs-studio +RUN_DEPENDS= ${LOCALBASE}/lib/libndi.so:multimedia/libndi USES= cmake compiler:c++11-lang localbase:ldflags qt:5 USE_GITHUB= yes diff --git a/multimedia/obs-ndi/files/patch-src_obs-ndi.cpp b/multimedia/obs-ndi/files/patch-src_obs-ndi.cpp new file mode 100644 index 000000000000..f8eb273db537 --- /dev/null +++ b/multimedia/obs-ndi/files/patch-src_obs-ndi.cpp @@ -0,0 +1,11 @@ +--- src/obs-ndi.cpp.orig 2022-01-14 17:54:22 UTC ++++ src/obs-ndi.cpp +@@ -198,7 +198,7 @@ const NDIlib_v4* load_ndilib() + { + QStringList locations; + locations << QString(qgetenv(NDILIB_REDIST_FOLDER)); +-#if defined(__linux__) || defined(__APPLE__) ++#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) + locations << "/usr/lib"; + locations << "/usr/local/lib"; + #endif