Add libtxc_dxtn.
S2TC is a patent-free S3TC compatible implementation and provides texture compression to Mesa. The library is automatically loaded if present and adds the OpenGL extensions GL_S3_s3tc and GL_EXT_texture_compression_s3tc. Submitted by: dumbbell@
This commit is contained in:
parent
91e91ce311
commit
e273d4d26b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362961
@ -538,6 +538,7 @@
|
||||
SUBDIR += libspiro
|
||||
SUBDIR += libsvg
|
||||
SUBDIR += libsvg-cairo
|
||||
SUBDIR += libtxc_dxtn
|
||||
SUBDIR += libvisual
|
||||
SUBDIR += libvisual04
|
||||
SUBDIR += libvisual04-plugins
|
||||
|
34
graphics/libtxc_dxtn/Makefile
Normal file
34
graphics/libtxc_dxtn/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# Created by: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libtxn_dxtn
|
||||
PORTVERSION= 20140604
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= x11@FreeBSD.org
|
||||
COMMENT= Subset of a well-known texture compression scheme
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
BUILD_DEPENDS= libGL>=9.1.7:${PORTSDIR}/graphics/libGL
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= divVerent
|
||||
GH_PROJECT= s2tc
|
||||
GH_COMMIT= 3d644da
|
||||
GH_TAGNAME= ${GH_COMMIT}
|
||||
|
||||
USES= libtool pathfix pkgconfig
|
||||
PATHFIX_MAKEFILEIN=Makefile.am
|
||||
USE_AUTOTOOLS= aclocal autoconf libtoolize automake
|
||||
AUTOMAKE_ARGS= --add-missing --copy
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CONFIGURE_ARGS+=--disable-tools
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/libtxc_dxtn/distinfo
Normal file
2
graphics/libtxc_dxtn/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (libtxn_dxtn-20140604.tar.gz) = e6fe8827c68de7ba62f5e4996cec62ee3248bc6f98707d4a36425a537c179333
|
||||
SIZE (libtxn_dxtn-20140604.tar.gz) = 1397439
|
7
graphics/libtxc_dxtn/pkg-descr
Normal file
7
graphics/libtxc_dxtn/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
S2TC is a patent-free S3TC compatible implementation and provides texture
|
||||
compression to Mesa.
|
||||
|
||||
The library is automatically loaded if present and adds the OpenGL extensions
|
||||
GL_S3_s3tc and GL_EXT_texture_compression_s3tc.
|
||||
|
||||
WWW: https://github.com/divVerent/s2tc
|
6
graphics/libtxc_dxtn/pkg-plist
Normal file
6
graphics/libtxc_dxtn/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
include/txc_dxtn.h
|
||||
lib/libtxc_dxtn.a
|
||||
lib/libtxc_dxtn.so
|
||||
lib/libtxc_dxtn.so.0
|
||||
lib/libtxc_dxtn.so.0.0.0
|
||||
libdata/pkgconfig/txc_dxtn.pc
|
Loading…
Reference in New Issue
Block a user