Date: Sun, 20 Mar 2016 19:38:08 +0000 (UTC) From: David Naylor <dbn@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411515 - in head/graphics: . s2tc s2tc/files Message-ID: <201603201938.u2KJc8r7046284@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dbn Date: Sun Mar 20 19:38:08 2016 New Revision: 411515 URL: https://svnweb.freebsd.org/changeset/ports/411515 Log: graphics/s2tc: add new port. Add a port that implements a subset of the Color Cell Compression texture compression scheme. Added: head/graphics/s2tc/ head/graphics/s2tc/Makefile (contents, props changed) head/graphics/s2tc/distinfo (contents, props changed) head/graphics/s2tc/files/ head/graphics/s2tc/files/patch-Makefile.am (contents, props changed) head/graphics/s2tc/pkg-descr (contents, props changed) head/graphics/s2tc/pkg-plist (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Mar 20 19:11:52 2016 (r411514) +++ head/graphics/Makefile Sun Mar 20 19:38:08 2016 (r411515) @@ -959,6 +959,7 @@ SUBDIR += rubygem-ruby-graphviz SUBDIR += rubygem-scruffy SUBDIR += s10sh + SUBDIR += s2tc SUBDIR += sage SUBDIR += sam2p SUBDIR += sampleicc Added: head/graphics/s2tc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/s2tc/Makefile Sun Mar 20 19:38:08 2016 (r411515) @@ -0,0 +1,26 @@ +# Created by: David Naylor <dbn@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= s2tc +PORTVERSION= 1.0 +DISTVERSIONPREFIX= v +CATEGORIES= graphics + +MAINTAINER= dbn@FreeBSD.org +COMMENT= S2TC is a subset of a wellknown texture compression scheme + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= autoreconf libtool +USE_GL= gl +USE_GITHUB= yes + +GH_ACCOUNT= divVerent +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +.include <bsd.port.mk> Added: head/graphics/s2tc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/s2tc/distinfo Sun Mar 20 19:38:08 2016 (r411515) @@ -0,0 +1,2 @@ +SHA256 (divVerent-s2tc-v1.0_GH0.tar.gz) = a21c5babd3810af4f7d4e8099e830f545b4e5f5dc0aadf375ed09d23566c6e45 +SIZE (divVerent-s2tc-v1.0_GH0.tar.gz) = 1397232 Added: head/graphics/s2tc/files/patch-Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/s2tc/files/patch-Makefile.am Sun Mar 20 19:38:08 2016 (r411515) @@ -0,0 +1,11 @@ +--- Makefile.am.orig 2016-03-20 18:59:03 UTC ++++ Makefile.am +@@ -10,8 +10,6 @@ s2tc_from_s3tc_SOURCES = s2tc_from_s3tc. + s2tc_compress_SOURCES = s2tc_compress.cpp txc_dxtn.h s2tc_license.h + s2tc_decompress_SOURCES = s2tc_decompress.cpp txc_dxtn.h s2tc_license.h + if ENABLE_RUNTIME_LINKING +-s2tc_compress_LDADD = -ldl +-s2tc_decompress_LDADD = -ldl + else + if ENABLE_LIB + s2tc_compress_LDADD = libtxc_dxtn.la Added: head/graphics/s2tc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/s2tc/pkg-descr Sun Mar 20 19:38:08 2016 (r411515) @@ -0,0 +1,14 @@ +S2TC's format specification is very easy to implement, so it is not hard to make +a working compressor or decompressor for it. It is based on Color Cell +Compression[1] from 1986, and decoding is done entirely using the methods from +there. Encoding is done using a search and refinement method that is derived +from the methods described in that paper. + +This also makes this format a great platform for learning about texture +compression and how to tune a compressor for best quality. + +S2TC is especially well suited for runtime (on-load) compression of textures, as +it is - in low quality settings - way faster than any other texture compressors +out there. + +WWW: https://github.com/divVerent/s2tc/wiki Added: head/graphics/s2tc/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/s2tc/pkg-plist Sun Mar 20 19:38:08 2016 (r411515) @@ -0,0 +1,9 @@ +bin/s2tc_compress +bin/s2tc_decompress +bin/s2tc_from_s3tc +include/txc_dxtn.h +lib/libtxc_dxtn.a +lib/libtxc_dxtn.so +lib/libtxc_dxtn.so.0 +lib/libtxc_dxtn.so.0.0.0 +lib/pkgconfig/txc_dxtn.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603201938.u2KJc8r7046284>