[arch-commits] Commit in qsopcast/repos/multilib-x86_64 (3 files)

Alexander Rødseth arodseth at archlinux.org
Thu Nov 23 21:11:23 UTC 2017


    Date: Thursday, November 23, 2017 @ 21:11:23
  Author: arodseth
Revision: 268243

archrelease: copy trunk to multilib-x86_64

Added:
  qsopcast/repos/multilib-x86_64/PKGBUILD
    (from rev 268242, qsopcast/trunk/PKGBUILD)
Deleted:
  qsopcast/repos/multilib-x86_64/PKGBUILD
  qsopcast/repos/multilib-x86_64/qsopcast.desktop

------------------+
 PKGBUILD         |   76 +++++++++++++++++++++++++++--------------------------
 qsopcast.desktop |   10 ------
 2 files changed, 40 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-23 21:11:10 UTC (rev 268242)
+++ PKGBUILD	2017-11-23 21:11:23 UTC (rev 268243)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=qsopcast
-pkgver=0.3.8.1
-pkgrel=2
-pkgdesc="A Qt front-end to p2p TV sopcast"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/qsopcast"
-license=('GPL2')
-depends=('qt4' 'sopcast')
-source=("http://qsopcast.googlecode.com/files/${pkgname}-${pkgver}-qt4.tar.bz2"
-        'qsopcast.desktop')
-sha1sums=('9c89c15544e20c120c97a0b54589c5d2acac398e'
-          'ada48f3fdeab903235967142740d057d544494c4')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}-qt4/src"
-
-  sed -i "s:/usr/local:/usr:g" qsopcast.pro main.cpp
-  qmake-qt4
-
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}-qt4/src"
-
-  make INSTALL_ROOT=${pkgdir} install
-  install -D -m644 "${srcdir}/qsopcast.desktop" \
-                   "${pkgdir}/usr/share/applications/qsopcast.desktop"
-  install -D -m644 "icons/mozart.xpm" \
-                   "${pkgdir}/usr/share/pixmaps/qsopcast.xpm"
-  rm -rf "${pkgdir}/usr/bin/sp-sc"
-}

Copied: qsopcast/repos/multilib-x86_64/PKGBUILD (from rev 268242, qsopcast/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-23 21:11:23 UTC (rev 268243)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qsopcast
+pkgver=0.3.8.1
+pkgrel=3
+pkgdesc='Qt front-end for p2p TV sopcast'
+arch=('x86_64')
+url='https://code.google.com/archive/p/qsopcast/'
+license=('GPL2')
+depends=('qt4' 'sopcast')
+makedepends=('gendesk' 'imagemagick')
+source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$pkgver-qt4.tar.bz2")
+sha256sums=('59ebca822102e7c3af1d5a39368457a3bb659ceba74cdd9aa9034fb68a8af8fc')
+
+prepare() {
+  sed -i 's,/local,/,g' "$pkgname-$pkgver-qt4/src/"{qsopcast.pro,main.cpp}
+  convert "$pkgname-$pkgver-qt4/src/icons/mozart.xpm" "$srcdir/qsopcast.png"
+  gendesk -f -n --pkgname="$pkgname" --pkgdesc="$pkgdesc" --custom='GenericName=Online TV'
+}
+
+build() {
+  cd "$pkgname-$pkgver-qt4/src"
+
+  qmake-qt4
+  make
+}
+
+package() {
+  make -C "$pkgname-$pkgver-qt4/src" INSTALL_ROOT="$pkgdir" install
+
+  install -Dm644 qsopcast.png "$pkgdir/usr/share/pixmaps/qsopcast.png"
+  install -Dm644 qsopcast.desktop "$pkgdir/usr/share/applications/qsopcast.desktop"
+
+  rm "$pkgdir/usr/bin/sp-sc"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: qsopcast.desktop
===================================================================
--- qsopcast.desktop	2017-11-23 21:11:10 UTC (rev 268242)
+++ qsopcast.desktop	2017-11-23 21:11:23 UTC (rev 268243)
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Comment=A Qt frontend of sopcast
-Exec=qsopcast
-GenericName=Online TV
-Icon=qsopcast.xpm
-Name=QSopcast
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Application;Network;


More information about the arch-commits mailing list