mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
42 lines
1.5 KiB
Bash
42 lines
1.5 KiB
Bash
#
|
||
# Apps Packages for Chakra, part of chakra-project.org
|
||
#
|
||
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
||
|
||
pkgname=watchvideo
|
||
_pkgname=WatchVideo
|
||
pkgver=2.2.1
|
||
pkgrel=2
|
||
pkgdesc="Small application to play, download, convert to OGG or rip videos from Youtube-like sites."
|
||
arch=('i686' 'x86_64')
|
||
url="http://www.nongnu.org/watchvideo/"
|
||
license=('custom:AGPLv3')
|
||
depends=('pyqt' 'python2' 'python-getmediumurl' 'python-lxml' 'python-distribute')
|
||
optdepends=('ffmpeg: needed for all operations related with video conversion or ripping.'
|
||
'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')
|
||
install=$pkgname.install
|
||
changelog=ChangeLog
|
||
source=("http://kde-apps.org/CONTENT/content-files/133133-$_pkgname-$pkgver.tar.gz")
|
||
md5sums=('f8bea1dab1534cb01f5c3f268536e0d3')
|
||
|
||
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
|
||
}
|