diff options
author | sumt | 2018-04-07 21:34:23 +0300 |
---|---|---|
committer | sumt | 2018-04-07 21:39:13 +0300 |
commit | 706e6f8afd4fc0a3a88a914679a44013b442f254 (patch) | |
tree | 85003250df76be5ae1edb5be0db9b247f005826c /PKGBUILD | |
parent | 83e3225afc4b52c3da066f032b82c6a1e596683e (diff) | |
download | aur-706e6f8afd4fc0a3a88a914679a44013b442f254.tar.gz |
php optional dependency
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -8,10 +8,11 @@ pkgdesc="Download video and audio from YLE Areena." arch=("any") url="http://aajanki.github.io/yle-dl/" license=("GPL3") -depends=('ffmpeg' 'php' 'python-mini-amf' 'python-pycryptodomex' +depends=('ffmpeg' 'python-mini-amf' 'python-pycryptodomex' 'python-future' 'python-lxml' 'python-pysocks' 'python-requests' 'wget') -optdepends=('youtube-dl: an alternative downloader backend to AdobeHDS.php' - 'rtmpdump: for downloading Areena audio streams') +optdepends=('php: for downloading live TV and certain news broadcasts' + 'rtmpdump: for downloading Areena audio streams' + 'youtube-dl: an alternative downloader backend to AdobeHDS.php') makedepends=('git' 'python-setuptools') provides=(${pkgname%-git}=$pkgver) conflicts=(${pkgname%-git}) @@ -23,14 +24,6 @@ pkgver() { git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } -prepare() { - cd "$pkgname" - # Enable required PHP extensions by directly - # appending them to the hds_binary arguments list. - # OR enable them globaly in php.ini - sed -i "s|\['php'|\['php', '-dextension=bcmath.so', '-dextension=curl.so'|" yledl/downloaders.py -} - package() { cd "$pkgname" python setup.py install --root="$pkgdir/" --optimize=1 |