Package Details: upplay-git r554.2f042aa-1

Git Clone URL: https://aur.archlinux.org/upplay-git.git (read-only)
Package Base: upplay-git
Description: A Qt-based UPnP audio Control point
Upstream URL: http://www.lesbonscomptes.com/upplay/
Licenses: GPL2
Submitter: cyrevolt
Maintainer: cyrevolt
Last Packager: cyrevolt
Votes: 0
Popularity: 0.000000
First Submitted: 2016-05-29 00:07
Last Updated: 2019-03-06 22:47

Latest Comments

ElVirolo commented on 2019-09-25 11:47

Thanks. New PKGBUILD:

# Maintainer: Daniel Maslowski <info@orangecms.org>

_gitname=upplay
pkgname=${_gitname}-git
pkgver=1.3.9.r31.ga51f386
pkgrel=2
pkgdesc="A Qt-based UPnP audio Control point"
url="http://www.lesbonscomptes.com/upplay/"
arch=('x86_64')
license=('GPL2')
depends=('libupnpp>=0.16'
         'qt5-webkit'
         'hicolor-icon-theme'
         'jsoncpp')
makedepends=('qt5-script')
conflicts=('upplay')
source=("git+https://opensourceprojects.eu/git/p/upplay/code")
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/code"
  git describe --long | sed 's/^UPPLAY_//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd "${srcdir}/code"
    qmake -o Makefile upplay.pro PREFIX=/usr
}

package() {
    cd "${srcdir}/code"
    make install INSTALL_ROOT="${pkgdir}"
}

connaisseur commented on 2019-06-20 16:11

Oh, I beg your pardon, but doesn't make a

git describe --long | sed 's/^UPPLAY_//;s/([^-]*-g)/r\1/;s/-/./g'

in the pkgver() make more sense? Guess it's about taste...

connaisseur commented on 2019-06-20 16:03

Please note, that the prepare()-cludge from @ElVirolo is no longer needed, as of today (2019-06-20). Source from git repo compiles without it.

Also please add a "conflicts=('upplay')" line in your PKGBUILD... For obvious reasons. Make things easier.

ElVirolo commented on 2019-03-06 19:03

This must be added before the build() function in order for it to compile:

prepare() {
    cd "${srcdir}/code/dirbrowser"
    sed -i 's/QtWebKit/QtWebKitWidgets/' dirbrowser.ui
}