2011-01-03 11:44:00 +08:00
|
|
|
|
pkgname=watchvideo
|
|
|
|
|
_pkgname=WatchVideo
|
2011-07-31 12:27:12 +08:00
|
|
|
|
pkgver=2.2.1
|
2015-08-31 08:48:00 +08:00
|
|
|
|
pkgrel=3
|
2011-01-03 11:44:00 +08:00
|
|
|
|
pkgdesc="Small application to play, download, convert to OGG or rip videos from Youtube-like sites."
|
2015-08-31 08:48:00 +08:00
|
|
|
|
arch=('x86_64')
|
2011-01-03 11:44:00 +08:00
|
|
|
|
url="http://www.nongnu.org/watchvideo/"
|
|
|
|
|
license=('custom:AGPLv3')
|
2015-08-31 08:48:00 +08:00
|
|
|
|
depends=('pyqt' 'python2' 'python2-getmediumurl' 'python2-lxml' 'python-distribute')
|
2011-01-03 11:44:00 +08:00
|
|
|
|
optdepends=('ffmpeg: needed for all operations related with video conversion or ripping.'
|
2012-03-16 22:51:37 +08:00
|
|
|
|
'ffmpeg2theora: needed to convert videos to Ogg Vorbis or Theora, but not for ripping audio.'
|
|
|
|
|
'python-notify: uses the system’s default mechanism to show notification messages.')
|
|
|
|
|
categories=('multimedia')
|
2011-01-03 11:44:00 +08:00
|
|
|
|
install=$pkgname.install
|
|
|
|
|
changelog=ChangeLog
|
|
|
|
|
source=("http://kde-apps.org/CONTENT/content-files/133133-$_pkgname-$pkgver.tar.gz")
|
2015-08-31 08:48:00 +08:00
|
|
|
|
sha512sums=('9288fc2013677c55d474976a53e54f89ffec52681ce83625ac6945d3cfde13133797fdad2bebb0f12871e7ca13aa6623629cb0952637bb97edd6330c1005c264')
|
2011-01-03 11:44:00 +08:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
|
|
|
|
|
|
# Installation:
|
|
|
|
|
python2 setup.py install --root=$pkgdir/ --optimize=1
|
|
|
|
|
|
|
|
|
|
# Icon, .desktop entry and license:
|
|
|
|
|
install -Dm 644 $srcdir/$_pkgname-$pkgver/media/watchvideo.svg \
|
|
|
|
|
$pkgdir/usr/share/pixmaps/watchvideo.svg
|
|
|
|
|
install -Dm 755 $srcdir/$_pkgname-$pkgver/watchvideo.desktop \
|
|
|
|
|
$pkgdir/usr/share/applications/watchvideo.desktop
|
|
|
|
|
install -Dm 644 $srcdir/$_pkgname-$pkgver/COPYING \
|
|
|
|
|
$pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
|
|
|
}
|