From nobody Mon Jun 20 21:27:22 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 ED5EC872F9A; Mon, 20 Jun 2022 21:27:22 +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 4LRjQy5t7mz4VMB; Mon, 20 Jun 2022 21:27:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655760442; 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=yNzDIwGhBXyQQ3Pamiu/irfFDbcoAO3oTs7gOetmXkg=; b=BDUhUZHSaSkUsw1obdzkLI7Gq0zwAJhoC463tP8HJq3Mz4sfjsSUn5grqpFs368kOlxqCN LbXfO8hK3UO0m5bk0MK8e4s3vQD6b0Trrj22Nz52CtFnF+Cys3RUaGoJe/7l+4W+59hKnu 5aeuMng21e1xa4ZbpTJW+x9CCaDwwQCCQ3iZIpytfdyvY2FPt6eOpfh/cY1f9B2uLKoHp0 A5zohZW9PSwsFZFzSveoQq26BrCUjkEajOCi3w20Jvzbx12CWk+Tyb9ca+CA6EAYLIviCz Qkd3xoHz0ud4WYHoB4Lsv35G3xFqvT1I59RuUG816liNcyckrUEC8mPMOMdXvA== 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 A9DD524C2A; Mon, 20 Jun 2022 21:27:22 +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 25KLRMCi005267; Mon, 20 Jun 2022 21:27:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25KLRMCt005266; Mon, 20 Jun 2022 21:27:22 GMT (envelope-from git) Date: Mon, 20 Jun 2022 21:27:22 GMT Message-Id: <202206202127.25KLRMCt005266@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: 14b221f06428 - main - misc/cuttlefish: New port: Texture compression library and tool 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: 14b221f06428730f59f093119fa65e3dcdc9c487 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655760442; 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=yNzDIwGhBXyQQ3Pamiu/irfFDbcoAO3oTs7gOetmXkg=; b=fYHvKUlgGkVovW8uFhvOGG7cKDi3fXxRH7K0klYVQgFOTWNXlN/NnTBA4nNowKAWMnRKrI 2Ht/SgkHCaeUBfPm/8hW0f5AJsjZ1mVWEsuQaJ52CcqXnbet/pqPaF64UtMPwQ2xi1BMGo MIsoAOfM2jnALk14LLgeYsdpjxNCdoo0CCS4ufg6Iqz1bJ8vNkhK86QykHWlC48ybpiNsw 52lVSL1rMjEy8p2crslF8hm/stc9z6T9xSBDMVOEZ2d2otf2PBHk6azQODjlNmhTt3zTUF D0TfqhxyvnW2Qaur0HUSJw0AXlpM64Fd815qATAIzK2uLFHq2Al18WsC8N96vw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655760442; a=rsa-sha256; cv=none; b=rGYisAg1mG6LXpB0+26C1b/TsoOAGnfiFu5i4/JZws5JTCJespOsX3QyoGUDbFSIpPxBVN y0ic935wVqH6WleGAIqGXKxFPffUQBOmmBkPwJRYY8+BeccL0tVB7noUgUIJQSqVhCwfIL /Tdua6AVuBSL8EOe8IrjgNIdqGDvAQ8YLqR79H6mcZveYdbZOAAVtNO7CDE0vAevDguMEW oJlf+hYQqcRUuKq67lHhHqxULRoXxcuWF6UsiG7fAGNVN54vPGqbIs7Cw/ojxfqu6dmCTk al1dtSY+dNrEgH5efbwBWswXoO4B4Bfx7P68gGwEgVKXQXVGCMDHcLoqWCOp5Q== 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=14b221f06428730f59f093119fa65e3dcdc9c487 commit 14b221f06428730f59f093119fa65e3dcdc9c487 Author: Yuri Victorovich AuthorDate: 2022-06-20 21:23:38 +0000 Commit: Yuri Victorovich CommitDate: 2022-06-20 21:23:38 +0000 misc/cuttlefish: New port: Texture compression library and tool --- misc/Makefile | 1 + misc/cuttlefish/Makefile | 36 ++++++++++++++++++++++++++++++++++++ misc/cuttlefish/distinfo | 23 +++++++++++++++++++++++ misc/cuttlefish/pkg-descr | 7 +++++++ misc/cuttlefish/pkg-plist | 12 ++++++++++++ 5 files changed, 79 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index d8c8cad29700..779b502f1758 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -63,6 +63,7 @@ SUBDIR += cs SUBDIR += cstream SUBDIR += ctm + SUBDIR += cuttlefish SUBDIR += cxxmatrix SUBDIR += dahdi SUBDIR += dahdi-kmod diff --git a/misc/cuttlefish/Makefile b/misc/cuttlefish/Makefile new file mode 100644 index 000000000000..e33461e1a6b4 --- /dev/null +++ b/misc/cuttlefish/Makefile @@ -0,0 +1,36 @@ +PORTNAME= cuttlefish +DISTVERSIONPREFIX= v +DISTVERSION= 2.5.5-2 +DISTVERSIONSUFFIX= -g7e3c57c +CATEGORIES= misc +PKGNAMESUFFIX= -texture-compressor + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Texture compression library and tool + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +TEST_DEPENDS= ispc:devel/ispc + +USES= cmake:testing compiler:c++11-lang + +USE_GITHUB= yes +GH_ACCOUNT= akb825 +GH_PROJECT= Cuttlefish +GH_TUPLE= akb825:freeimage:dae76e95cd4a9fbb58b0a6d635fd3c3f4b222076:akb825_freeimage/lib/FreeImage \ + akb825:etc2comp:10ec1fc4987c5a81c48c6bf6319bb77389a5f23a:akb825_etc2comp/lib/etc2comp \ + ARM-software:astc-encoder:f48cc27b2528286126c116f42f2792ed2fa13755:ARM_software_astc_encoder/lib/astc-encoder \ + g-truc:glm:bf71a834948186f4097caa076cd2663c69a10e1e:g_truc_glm/lib/glm \ + akb825:PVRTexToolLib:015a0f7b125394d7628e5d562fb8d3e5cb7cac08:akb825_PVRTexToolLib/lib/PVRTexToolLib \ + richgel999:bc7enc_rdo:f965c3fd8a39ef91f8bf8cddb7d2eee83a95a1c2:richgel999_bc7enc_rdo/lib/bc7enc_rdo \ + akb825:compressonator:a4d078359f74053564a9b7a9bd0b5bb2fa0a65a7:akb825_compressonator/lib/compressonator \ + GameTechDev:ISPCTextureCompressor:14d998c02b71c356ff3a1ec1adc9243a517bbf38:GameTechDev_ISPCTextureCompressor/lib/ISPCTextureCompressor \ + KonajuGames:libsquish:7543ea155b475f129d3733b98b7f17f1fa274cf1:KonajuGames_libsquish/lib/libsquish \ + google:googletest:703bd9caab50b139428cea1aaff9974ebee5742e:google_googletest/lib/astc-encoder/Source/GoogleTest + +CMAKE_OFF= CUTTLEFISH_BUILD_DOCS CUTTLEFISH_BUILD_TESTS +CMAKE_ON= CUTTLEFISH_SHARED +CMAKE_TESTING_ON= CUTTLEFISH_BUILD_TESTS + +.include diff --git a/misc/cuttlefish/distinfo b/misc/cuttlefish/distinfo new file mode 100644 index 000000000000..66ab4e4934c0 --- /dev/null +++ b/misc/cuttlefish/distinfo @@ -0,0 +1,23 @@ +TIMESTAMP = 1655759044 +SHA256 (akb825-Cuttlefish-v2.5.5-2-g7e3c57c_GH0.tar.gz) = 775bd8a4c8f1a739980c89e67631972133b22e36a62d5a588470492dd3d4d50e +SIZE (akb825-Cuttlefish-v2.5.5-2-g7e3c57c_GH0.tar.gz) = 110842 +SHA256 (akb825-freeimage-dae76e95cd4a9fbb58b0a6d635fd3c3f4b222076_GH0.tar.gz) = d0648ffca8a71ff988344285f2c7f29c709b6e62c6fcb8edaaad4a189d9de8dc +SIZE (akb825-freeimage-dae76e95cd4a9fbb58b0a6d635fd3c3f4b222076_GH0.tar.gz) = 7248018 +SHA256 (akb825-etc2comp-10ec1fc4987c5a81c48c6bf6319bb77389a5f23a_GH0.tar.gz) = 8aae8f87e0f1e79c2bde57254e0b85273d0d036f381f549ce148bc3fbd785b02 +SIZE (akb825-etc2comp-10ec1fc4987c5a81c48c6bf6319bb77389a5f23a_GH0.tar.gz) = 152493 +SHA256 (ARM-software-astc-encoder-f48cc27b2528286126c116f42f2792ed2fa13755_GH0.tar.gz) = f77d7b966dbb8b6029ab5b5b152b42f2ace4474a82e551dbcdaa49647b8782d9 +SIZE (ARM-software-astc-encoder-f48cc27b2528286126c116f42f2792ed2fa13755_GH0.tar.gz) = 36637218 +SHA256 (g-truc-glm-bf71a834948186f4097caa076cd2663c69a10e1e_GH0.tar.gz) = 70ad78e872c145f0164d54da833b651914c184edc65958906937b9739fb8fb1b +SIZE (g-truc-glm-bf71a834948186f4097caa076cd2663c69a10e1e_GH0.tar.gz) = 4369431 +SHA256 (akb825-PVRTexToolLib-015a0f7b125394d7628e5d562fb8d3e5cb7cac08_GH0.tar.gz) = 2198525c3cb3058f68f6cd90121c5b0f3233d937148d197c731c0bd1e3e1a3ba +SIZE (akb825-PVRTexToolLib-015a0f7b125394d7628e5d562fb8d3e5cb7cac08_GH0.tar.gz) = 19155157 +SHA256 (richgel999-bc7enc_rdo-f965c3fd8a39ef91f8bf8cddb7d2eee83a95a1c2_GH0.tar.gz) = 0a9ee5571ebcc63f1da901dbd6d6d5ec072ae3ff8e074efae166f776d5ddc7fa +SIZE (richgel999-bc7enc_rdo-f965c3fd8a39ef91f8bf8cddb7d2eee83a95a1c2_GH0.tar.gz) = 15084973 +SHA256 (akb825-compressonator-a4d078359f74053564a9b7a9bd0b5bb2fa0a65a7_GH0.tar.gz) = 5f69f22753f283a9e52afa518f151d222a1d6684150e4c5f028e24e15add7c70 +SIZE (akb825-compressonator-a4d078359f74053564a9b7a9bd0b5bb2fa0a65a7_GH0.tar.gz) = 24367769 +SHA256 (GameTechDev-ISPCTextureCompressor-14d998c02b71c356ff3a1ec1adc9243a517bbf38_GH0.tar.gz) = a0f6f0537650295b0df66fd55dc888e53b9a6cf5aea576e2c99f2f7959a9931f +SIZE (GameTechDev-ISPCTextureCompressor-14d998c02b71c356ff3a1ec1adc9243a517bbf38_GH0.tar.gz) = 6435886 +SHA256 (KonajuGames-libsquish-7543ea155b475f129d3733b98b7f17f1fa274cf1_GH0.tar.gz) = 5fa333d02ba94d466ce17a4ab33b16b5c518f52ea7a2063db51808d849d35d79 +SIZE (KonajuGames-libsquish-7543ea155b475f129d3733b98b7f17f1fa274cf1_GH0.tar.gz) = 57348 +SHA256 (google-googletest-703bd9caab50b139428cea1aaff9974ebee5742e_GH0.tar.gz) = d17b1b83a57b3933565a6d0616fe261107326d47de20288d0949ed038e1c342d +SIZE (google-googletest-703bd9caab50b139428cea1aaff9974ebee5742e_GH0.tar.gz) = 905359 diff --git a/misc/cuttlefish/pkg-descr b/misc/cuttlefish/pkg-descr new file mode 100644 index 000000000000..590be29fd9aa --- /dev/null +++ b/misc/cuttlefish/pkg-descr @@ -0,0 +1,7 @@ +Cuttlefish is a texture conversion library and tool. A command line +tool is provided for most texture conversion needs, such as running +manually or part of an asset conversion pipeline. The library may be +used to integrate more advanced texture generation within other +software. + +WWW: https://github.com/akb825/Cuttlefish diff --git a/misc/cuttlefish/pkg-plist b/misc/cuttlefish/pkg-plist new file mode 100644 index 000000000000..a1563abc18f1 --- /dev/null +++ b/misc/cuttlefish/pkg-plist @@ -0,0 +1,12 @@ +bin/cuttlefish +include/cuttlefish/Color.h +include/cuttlefish/Config.h +include/cuttlefish/Export.h +include/cuttlefish/Image.h +include/cuttlefish/Texture.h +lib/cmake/Cuttlefish/CuttlefishConfig.cmake +lib/cmake/Cuttlefish/CuttlefishConfigVersion.cmake +lib/cmake/Cuttlefish/CuttlefishTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Cuttlefish/CuttlefishTargets.cmake +lib/libcuttlefish.so +lib/libcuttlefish.so.2.5.5