diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-21 16:27:40 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-21 16:27:40 -0500 |
commit | c59e6c0f1e2f3716ee8ec015eb837fc4819aebd8 (patch) | |
tree | 86875b1000a1c3342ef811a1406e48a6a5f3d10b | |
parent | 6013ee2b66fb8b2664116706b009156b4a0a377f (diff) | |
download | abslibre-c59e6c0f1e2f3716ee8ec015eb837fc4819aebd8.tar.gz abslibre-c59e6c0f1e2f3716ee8ec015eb837fc4819aebd8.tar.bz2 abslibre-c59e6c0f1e2f3716ee8ec015eb837fc4819aebd8.zip |
Improve package metadata for openni
-rw-r--r-- | ~lukeshu/openni-git/PKGBUILD | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/~lukeshu/openni-git/PKGBUILD b/~lukeshu/openni-git/PKGBUILD index c36cb0ef0..6a384aed5 100644 --- a/~lukeshu/openni-git/PKGBUILD +++ b/~lukeshu/openni-git/PKGBUILD @@ -93,10 +93,13 @@ abs_mono_samples: $(MONO_SAMPLES) $(MONO_FORMS_SAMPLES) package_openni() { pkgdesc="Open Natural Interface framework" depends=('openni-core') - recomends=('openni-docs') + optdepends=('openni-docs: programmer documentation') } package_openni-docs() { + pkgdesc="OpenNI programmer documentation" + arch=('any') + cd "${srcdir}/${_gitname}-build/Source/DoxyGen/" install -d "${pkgdir}/usr/share/openni" cp -r html "${pkgdir}/usr/share/openni" @@ -106,7 +109,7 @@ package_openni-core() { pkgdesc="OpenNI core libraries" depends=('libusb' 'freeglut') install="openni.install" - + cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" LIB_FILES=' @@ -134,7 +137,7 @@ package_openni-core() { package_openni-java() { pkgdesc="OpenNI java wrapper" - depends=('openni') + depends=('openni' 'java-environment') cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" @@ -147,7 +150,7 @@ package_openni-java() { package_openni-mono() { pkgdesc="OpenNI mono wrapper" - depends=('openni') + depends=('openni' 'mono') cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" @@ -179,7 +182,8 @@ JAVA_SAMPLES='SimpleRead SimpleViewer UserTracker' package_openni-core-samples() { pkgdesc="OpenNI sample programs" - depends=('openni') + depends=('openni-core') + optdepends=('openni-core-samples-source: source code for the samples') cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" install -d "${pkgdir}/usr/bin" @@ -190,7 +194,7 @@ package_openni-core-samples() { } package_openni-core-samples-source() { pkgdesc="OpenNI sample programs source code" - depends=('openni') + depends=('openni-core') cd "${srcdir}/${_gitname}-build" for sample in Viewer $CORE_SAMPLES; do @@ -201,6 +205,8 @@ package_openni-core-samples-source() { package_openni-java-samples() { pkgdesc="OpenNI java wrapper sample programs" depends=('openni-java') + optdepends=('openni-java-samples-source: source code for the samples') + arch=('any') cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" install -d "${pkgdir}/usr/bin" @@ -226,6 +232,7 @@ package_openni-java-samples-source() { package_openni-mono-samples() { pkgdesc="OpenNI java wrapper sample programs" depends=('openni-mono') + optdepends=('openni-mono-samples-source: source code for the samples') cd "${srcdir}/${_gitname}-build/Platform/${_platform}/Bin/Release" install -d "${pkgdir}/usr/bin" |