Bug 226530

Summary: audio/liblastfm: add Qt 5 version
Product: Ports & Packages Reporter: Val Packett <val>
Component: Individual Port(s)Assignee: Jason E. Hale <jhale>
Status: Closed FIXED    
Severity: Affects Only Me Flags: jhale: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D14667
Attachments:
Description Flags
liblastfm-qt5.patch none

Description Val Packett 2018-03-11 17:34:28 UTC
Created attachment 191424 [details]
liblastfm-qt5.patch

Necessary for the Qt 5 version of Clementine (https://github.com/clementine-player/Clementine/tree/qt5). Updated to newer version to make it parallel-installable with the Qt 4 version (https://github.com/lastfm/liblastfm/commit/480e2ec663ef867e7892dbbc624737cae176c717)
Comment 1 Jason E. Hale freebsd_committer freebsd_triage 2018-03-11 23:44:13 UTC
No objection to adding Qt5 support. It would probably be better to make this a flavorized port instead of adding the slave port and maybe just have one pkg-plist with the version suffix subbed. I'll look into it.
Comment 2 Jason E. Hale freebsd_committer freebsd_triage 2018-03-12 15:57:59 UTC
I've flavorized the port and added a few fixes. Waiting on portmgr approval for the flavors, but more testing always appreciated: https://reviews.freebsd.org/D14667
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-04-17 23:28:24 UTC
A commit references this bug:

Author: jhale
Date: Tue Apr 17 23:27:22 UTC 2018
New revision: 467663
URL: https://svnweb.freebsd.org/changeset/ports/467663

Log:
  - Update audio/liblastfm to 1.0.9-5-g4433165 [1]
  - Add audio/liblastfm-qt5 slave port which provides a Qt 5 interface [1]
  - Explicitly mark UrlBuilder::mobilize() as deprecated

  - Allow Qt4 and Qt5 versions to be installed concurrently
  - Make sure liblastfm creates the directories it uses instead of relying
    on client apps to do so

  PR:		226530 [1]
  Submitted by:	Greg V <greg@unrelenting.technology> [1]

Changes:
  head/audio/Makefile
  head/audio/liblastfm/Makefile
  head/audio/liblastfm/distinfo
  head/audio/liblastfm/files/patch-src_UrlBuilder.h
  head/audio/liblastfm/pkg-plist
  head/audio/liblastfm-qt5/
  head/audio/liblastfm-qt5/Makefile
Comment 4 Jason E. Hale freebsd_committer freebsd_triage 2018-04-17 23:30:25 UTC
Slave port added. FLAVOR plan abandoned for now.