New package: ptex-2.3.2

This commit is contained in:
Enno Boland 2021-04-17 10:46:05 +02:00 committed by Enno Boland
parent e49068331f
commit 5f73330e29
3 changed files with 31 additions and 0 deletions

View File

@ -2968,6 +2968,7 @@ libPocoRedis.so.64 poco-1.9.4_3
libPocoEncodings.so.64 poco-1.9.4_3
libPocoNetSSL.so.64 poco-1.9.4_3
libPocoCrypto.so.64 poco-1.9.4_3
libPtex.so ptex-2.3.2_1
libopenblas.so.0 openblas-0.2.19_1
librtaudio.so.6 rtaudio-5.1.0_1
librtmidi.so.5 rtmidi-4.0.0_1

1
srcpkgs/ptex-devel Symbolic link
View File

@ -0,0 +1 @@
ptex

29
srcpkgs/ptex/template Normal file
View File

@ -0,0 +1,29 @@
# Template file for 'ptex'
pkgname=ptex
version=2.3.2
revision=1
build_style=cmake
configure_args="-DPTEX_VER=$version"
hostmakedepends="pkg-config"
makedepends="zlib-devel"
short_desc="Per-Face Texture Mapping for Production Rendering"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://ptex.us/"
distfiles="https://github.com/wdas/ptex/archive/refs/tags/v${version}.tar.gz"
checksum=30aeb85b965ca542a8945b75285cd67d8e207d23dbb57fcfeaab587bb443402b
post_install() {
sed '1,/\/\*/d;/\*\//,$d' src/ptex/PtexCache.h > LICENSE
vlicense LICENSE
}
ptex-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/share/cmake
vmove usr/include
vmove "usr/lib/*.a"
}
}