Package Details: mellowplayer 3.5.3-1

Git Clone URL: https://aur.archlinux.org/mellowplayer.git (read-only)
Package Base: mellowplayer
Description: Open source and cross-platform desktop application that runs web-based music streaming services in its own window and provides integration with your desktop.
Upstream URL: https://github.com/ColinDuquesnoy/MellowPlayer
Keywords: 8Tracks Deezer GooglePlayMusic HearThisAt Mixcloud music Soundcloud Spotify streaming Tidal Youtube
Licenses: GPL
Submitter: ColinDuquesnoy
Maintainer: ColinDuquesnoy (ZeroDot1)
Last Packager: ColinDuquesnoy
Votes: 25
Popularity: 3.514852
First Submitted: 2015-09-08 13:45
Last Updated: 2019-03-10 12:25

Latest Comments

1 2 3 4 Next › Last »

murlakatamenka commented on 2019-03-13 14:14

Upstream URL should be updated to GitLab as well.

Mogreator commented on 2019-02-21 17:13

qt5-webengine-widevine is also needed for amazon web player.

ColinDuquesnoy commented on 2019-02-10 19:51

@sispus Should be fixed now

sispus commented on 2019-02-10 19:06

cannot update in manjaro

edit: fixed, thanks.


Preparing...
Cloning mellowplayer build files...
Checking mellowplayer dependencies...
Building mellowplayer...
==> Making package: mellowplayer 3.5.2-1 (Paz 10 Şub 2019 22:01:39 +03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found MellowPlayer-3.5.2.tar.gz
  -> Found widevine-path.patch
==> Validating source files with md5sums...
    MellowPlayer-3.5.2.tar.gz ... Passed
    widevine-path.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting MellowPlayer-3.5.2.tar.gz with bsdtar
==> Starting prepare()...
patching file /tmp/pamac-build/mellowplayer/src/MellowPlayer-3.5.2/src/main/share/applications/mellowplayer.desktop
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Error: No source or binary directory provided
==> ERROR: A failure occurred in build().
    Aborting...

el.Quero commented on 2018-10-26 06:38

Hi, the install of this package on an OS instance where Qt toolchain had never been used fails with this error message:

[...] PKGBUILD: line 24: qbs-setup-qt: command not found

I've resolved by shifting the Qbs configuration commands to the build() block. The resulting PKGBUILD file looks like this:

# Maintainer: Colin Duquesnoy <colin.duquesnoy@gmail.com>
# Maintainer: ZeroDot1 <zerodot1@bk.ru>
pkgname=mellowplayer
_pkgname=MellowPlayer
pkgver=3.4.0
pkgrel=4
pkgdesc="Open source and cross-platform desktop application that runs web-based music streaming 
         services in its own window and provides integration with your desktop."
url='https://github.com/ColinDuquesnoy/MellowPlayer'
license=('GPL')
arch=('x86_64')
depends=('qt5-base' 'qt5-webengine' 'qt5-svg' 'qt5-quickcontrols2' 'qt5-quickcontrols' 'qt5-translations' 'qt5-graphicaleffects' 'xdg-utils' 'libnotify' 'libevent')
makedepends=('qt5-tools' 'qbs' 'mesa')
optdepends=( 'qt5-webengine-widevine: DRM needed for Spotify' 'pepper-flash: needed for Tidal and Deezer')
source=("https://github.com/ColinDuquesnoy/MellowPlayer/archive/${pkgver}.tar.gz" 
        "widevine-path.patch")
md5sums=('60aac9e1f5f32d699920e44e2f3af790'
         '67f8c5c6af4b770a4017a5ca9f137b90')

build() {
    cd "${srcdir}/${_pkgname}-${pkgver}"

    ## shifted commands ##
    qbs-setup-toolchains --detect
    qbs-setup-qt $(which qmake) qt5
    qbs-config defaultProfile qt5
    ## end shifted commands##

    qbs build config:release

    ## shifted commands ##
    patch -Np1 -i "${srcdir}/widevine-path.patch" "${srcdir}/${_pkgname}-${pkgver}/src/main/share/applications/mellowplayer.desktop"
    ## end shifted commands ##
}

package() {
    cd "${srcdir}/${_pkgname}-${pkgver}"
    qbs install --install-root "${pkgdir}/usr" config:release
}

EDIT: provided PKGBUILD bug fix - also .desktop patch file command has been moved to build() block

ColinDuquesnoy commented on 2018-07-09 19:09

@xteixeira My bad, it should be fixed now

xteixeira commented on 2018-07-09 19:07

Hey, the package is broken atm, there is an invalid ',' character in makedepends.

ColinDuquesnoy commented on 2018-07-09 16:27

@AndRTR Thank you. I added the missing make dependency.

AndyRTR commented on 2018-07-09 15:34

/usr/include/qt/QtGui/qopengl.h:141:13: fatal error: GL/gl.h: No such file or directory

You need to add "mesa" to makedependencies for clean chroot builds.

Terence commented on 2018-07-08 12:25

@ColinDuquesnoy Yup, thanks!