2012-11-11 11:02:55 +08:00
|
|
|
pkgname=smtube
|
2018-12-06 21:30:23 +08:00
|
|
|
pkgver=18.11.0
|
2014-07-29 15:09:25 +08:00
|
|
|
pkgrel=1
|
2012-11-11 11:02:55 +08:00
|
|
|
pkgdesc="Search and download videos from YouTube"
|
2013-12-19 23:30:19 +08:00
|
|
|
arch=('x86_64')
|
2018-01-11 18:51:00 +08:00
|
|
|
url="https://www.smtube.org/"
|
2012-11-11 11:02:55 +08:00
|
|
|
license=('GPL')
|
2015-11-26 18:48:54 +08:00
|
|
|
depends=('qt5-script' 'qt5-webkit' 'desktop-file-utils' 'hicolor-icon-theme')
|
|
|
|
makedepends=('qt5-tools')
|
2014-03-30 02:58:49 +08:00
|
|
|
optdepends=('mplayer: play videos with MPlayer'
|
|
|
|
'smplayer: play videos with SMPlayer'
|
2015-11-26 18:48:54 +08:00
|
|
|
'dragon: play videos with Dragon Player'
|
2015-09-16 18:37:35 +08:00
|
|
|
'vlc: play videos with VLC'
|
|
|
|
'mpv: play videos with MPV'
|
|
|
|
'youtube-dl: download videos')
|
2018-10-23 14:21:18 +08:00
|
|
|
source=("https://downloads.sourceforge.net/smtube/${pkgname}-${pkgver}.tar.bz2")
|
2018-12-06 21:30:23 +08:00
|
|
|
sha256sums=('173f7f0902d336ef423b2074654bef461326ee6fba669f54865c81ac5b3daa65')
|
2012-11-11 11:02:55 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2015-11-26 18:48:54 +08:00
|
|
|
make QMAKE=qmake-qt5 LRELEASE=lrelease-qt5 PREFIX=/usr
|
2012-11-11 11:02:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2014-04-06 10:11:53 +08:00
|
|
|
make PREFIX=/usr DESTDIR="$pkgdir/" install
|
2012-11-11 11:02:55 +08:00
|
|
|
}
|