diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2022-03-16 08:10:40 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2022-03-16 08:25:27 -0400 |
commit | 8c3b7f81c8f3a78fefa9092d9c146646b158a1d7 (patch) | |
tree | 1115710dd48c6ac080143d2027a78ddbd8597824 /pcr-testing/hts_engine_api-git/PKGBUILD | |
parent | 0cc59a5579e8b1c01b1bdf0e39fa96fc7c516d3c (diff) | |
download | abslibre-8c3b7f81c8f3a78fefa9092d9c146646b158a1d7.tar.gz abslibre-8c3b7f81c8f3a78fefa9092d9c146646b158a1d7.tar.bz2 abslibre-8c3b7f81c8f3a78fefa9092d9c146646b158a1d7.zip |
[qtau][sinsy][sekai][hts_engine_api-git]: add package and deps
Diffstat (limited to 'pcr-testing/hts_engine_api-git/PKGBUILD')
-rw-r--r-- | pcr-testing/hts_engine_api-git/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr-testing/hts_engine_api-git/PKGBUILD b/pcr-testing/hts_engine_api-git/PKGBUILD new file mode 100644 index 000000000..6b0f1d440 --- /dev/null +++ b/pcr-testing/hts_engine_api-git/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer bill-auger <bill-auger@programmer.net> + + +# rationale for VCS package: +# - the latest release source-ball (from 2015) does not compile + + +pkgname=hts_engine_api-git +pkgver=0.0.0.vcs +pkgrel=1 +pkgdesc="Synthesize speech waveform from HTS-trained HMMs" +arch=(armv7h i686 x86_64) +license=(custom:BSD3) +url=http://hts-engine.sourceforge.net/ +makedepends=(cmake git) +source=(git+https://github.com/r9y9/hts_engine_API.git) +sha256sums=('SKIP') + + +build() +{ + mkdir "${srcdir}"/hts_engine_API/src/build + cd "${srcdir}"/hts_engine_API/src/build + + cmake -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib .. + make +} + +package() +{ + cd "${srcdir}"/hts_engine_API/src/build + + make DESTDIR="${pkgdir}" install + + install -Dm644 ../COPYING "${pkgdir}"/usr/share/licences/${pkgname}/COPYING +} |