Date: Saturday, April 25, 2015 @ 23:17:28 Author: speps Revision: 132247
upgpkg: minitube 2.4-1 Added: minitube/trunk/minitube.sh Modified: minitube/trunk/PKGBUILD minitube/trunk/minitube.install ------------------+ PKGBUILD | 16 +++++++++++----- minitube.install | 7 +++++++ minitube.sh | 9 +++++++++ 3 files changed, 27 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-04-25 20:41:33 UTC (rev 132246) +++ PKGBUILD 2015-04-25 21:17:28 UTC (rev 132247) @@ -3,7 +3,7 @@ # Contributor: Andrea Scarpino <[email protected]> pkgname=minitube -pkgver=2.3 +pkgver=2.4 pkgrel=1 pkgdesc="A native YouTube client in Qt. Watch YouTube videos without Flash Player" arch=('i686' 'x86_64') @@ -11,15 +11,21 @@ license=('GPL3') depends=('phonon-qt4') install="$pkgname.install" -source=("http://flavio.tordini.org/files/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('8c9dba9b0190a740fab6c38c5d79c3f8') +backup=('etc/profile.d/minitube.sh') +source=("https://github.com/flaviotordini/minitube/archive/$pkgver.tar.gz" $pkgname.sh) +md5sums=('90e8f7c8adfe633553e08d98edd77961' + '01d1d532dd7f4670cf7f33f007863b7a') build() { - cd $pkgname + cd $pkgname-$pkgver qmake-qt4 } package() { - cd $pkgname + cd $pkgname-$pkgver make install INSTALL_ROOT="$pkgdir/" + + # GOOGLE_API_KEY + install -Dm644 ../$pkgname.sh \ + "$pkgdir/etc/profile.d/$pkgname.sh" } Modified: minitube.install =================================================================== --- minitube.install 2015-04-25 20:41:33 UTC (rev 132246) +++ minitube.install 2015-04-25 21:17:28 UTC (rev 132247) @@ -4,6 +4,13 @@ post_upgrade() { post_install + cat << EOF + + # Google is now requiring an API key in order to access YouTube Data web services. + # Create a "Browser Key" at https://console.developers.google.com and put it in + # /etc/profile.d/minitube.sh as the GOOGLE_API_KEY environmental variable. + +EOF } post_remove() { Added: minitube.sh =================================================================== --- minitube.sh (rev 0) +++ minitube.sh 2015-04-25 21:17:28 UTC (rev 132247) @@ -0,0 +1,9 @@ +# Google is now requiring an API key in order to access YouTube Data web services. +# Create a "Browser Key" at https://console.developers.google.com and put it here. + +export GOOGLE_API_KEY="" + +# Uncomment the following line if you do use any +# Desktop Environment and icons does not show up + +#export DESKTOP_SESSION="gnome" \ No newline at end of file
