diff options
author | Lorenzo Gaifas | 2019-06-24 19:07:48 +0200 |
---|---|---|
committer | Lorenzo Gaifas | 2019-06-24 19:07:48 +0200 |
commit | 6f8c9dd9831ee3c6ccf6b4426b08f490160d943f (patch) | |
tree | e96c03cec6a187bef57d72ab7d64cdec50ad5fb5 | |
parent | 1ed9e96f534fcbbff88a42a43a0a3e37aead5c6d (diff) | |
download | aur-6f8c9dd9831ee3c6ccf6b4426b08f490160d943f.tar.gz |
added info about mpeg encoding
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | pymol-git.install | 22 |
3 files changed, 27 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = pymol-git pkgdesc = Molecular visualization system on an Open Source foundation - pkgver = r4455.9ac17c0a + pkgver = r4456.dc015754 pkgrel = 1 url = https://pymol.org/ arch = x86_64 @@ -18,6 +18,7 @@ pkgbase = pymol-git depends = tcsh optdepends = python-pmw: pmw based UI optdepends = python-pyqt5: Qt5 based UI + optdepends = mjpegtools provides = pymol conflicts = pymol source = git+https://github.com/schrodinger/pymol-open-source.git @@ -1,7 +1,7 @@ # Maintainer: Lorenzo Gaifas <brisvag at gmail dot com> pkgname=pymol-git _pkgname=pymol -pkgver=r4455.9ac17c0a +pkgver=r4456.dc015754 pkgrel=1 pkgdesc="Molecular visualization system on an Open Source foundation" arch=('x86_64') @@ -11,9 +11,10 @@ depends=('freetype2' 'glew' 'glm' 'glut' 'python-numpy' 'tcsh') makedepends=('desktop-file-utils' 'gendesk' 'libmmtf' 'msgpack-c' 'git') optdepends=('python-pmw: pmw based UI' 'python-pyqt5: Qt5 based UI' - 'freemol-svn: MPEG rendering') + 'mjpegtools: MPEG encoding') conflicts=('pymol') provides=('pymol') +install="$pkgname.install" source=("git+https://github.com/schrodinger/pymol-open-source.git" ${_pkgname}.png::"https://c.fsdn.com/allura/p/pymol/icon") md5sums=('SKIP' diff --git a/pymol-git.install b/pymol-git.install new file mode 100644 index 000000000000..6c6648223a4d --- /dev/null +++ b/pymol-git.install @@ -0,0 +1,22 @@ +post_install() { + echo "" + echo "To enable mpeg encoding for PYMOL, you need to install" + echo "the optional dependency: mjpegtools." + echo "Additionally, you will have to set an environment variable:" + echo "FREEMOL=/bin/mpeg2enc" + echo "For convenience, add this line to your ~/.bashrc:" + echo "export FREEMOL=\"/bin/mpeg2enc\"" + echo "" +} + +post_upgrade() { + echo "" + echo "To enable mpeg encoding for PYMOL, you need to install" + echo "the optional dependency: mjpegtools." + echo "Additionally, you will have to set an environment variable:" + echo "FREEMOL=/bin/mpeg2enc" + echo "For convenience, add this line to your ~/.bashrc:" + echo "export FREEMOL=\"/bin/mpeg2enc\"" + echo "" +} + |