1SUMMARY="Modern music player and library organizer based on Amarok 1.4 and Qt5" 2DESCRIPTION="Clementine Music Player is a multiplatform music player. It is inspired by Amarok 1.4, \ 3focusing on a fast and easy-to-use interface for searching and playing your music. 4 5Now with Podcast support including integration and synchronization with gpodder.net. \ 6Music from Soundcloud and jazzradio.com is available in the Internet tab in the sidebar, \ 7as well as any songs you've uploaded to Google Drive. \ 8Clementine Music Player will also now show moodbars for the music you play from your local disc. 9 10Clementine Music Player Features: 11 12Search and play your local music library. 13Listen to internet radio from Spotify, Grooveshark, Last.fm, SomaFM, Magnatune, Jamendo, SKY.fm, Digitally Imported, JAZZRADIO.com, Soundcloud, and Icecast. 14Search and play songs you've uploaded to Google Drive. 15Create smart playlists and dynamic playlists. 16Tabbed playlists, import and export M3U, XSPF, PLS and ASX. 17CUE sheet support. 18Play audio CDs. 19Visualisations from projectM. 20Lyrics and artist biographies and photos. 21Transcode music into MP3, Ogg Vorbis, Ogg Speex, FLAC or AAC. 22Edit tags on MP3 and OGG files, organise your music. 23Fetch missing tags from MusicBrainz. 24Discover and download Podcasts. 25Download missing album cover art from Last.fm and Amazon. 26Cross-platform - works on Windows, Mac OS X and Linux. 27Native desktop notifications on Linux (libnotify) and Mac OS X (Growl). 28Remote control using a Wii Remote, MPRIS or the command-line. 29Copy music to your iPod, iPhone, MTP or mass-storage USB player. 30Queue manager." 31HOMEPAGE="https://www.clementine-player.org/" 32COPYRIGHT="2010-2020 David Sansome, John Maguire, Arnaud Bienner" 33LICENSE="GNU GPL v3" 34REVISION="4" 35srcGitRev="fc4cb6fc7a71695beef3c30a25fe78c4aabc6017" 36SOURCE_URI="https://github.com/clementine-player/Clementine/archive/$srcGitRev.tar.gz" 37CHECKSUM_SHA256="79628e500f37f92539fa522e265bf40bf54da2cdb243589992ad681536f0c86e" 38SOURCE_DIR="Clementine-$srcGitRev" 39PATCHES="clementine-$portVersion.patchset" 40ADDITIONAL_FILES="clementine.rdef.in" 41 42ARCHITECTURES="all !x86_gcc2" 43SECONDARY_ARCHITECTURES="x86" 44 45PROVIDES=" 46 clementine$secondaryArchSuffix = $portVersion 47 app:Clementine$secondaryArchSuffix = $portVersion 48 " 49REQUIRES=" 50 dbus$secondaryArchSuffix 51 haiku$secondaryArchSuffix 52 lib:libcdio$secondaryArchSuffix 53 lib:libchromaprint$secondaryArchSuffix 54 lib:libfftw3$secondaryArchSuffix 55 lib:libgio_2.0$secondaryArchSuffix 56 lib:libglib_2.0$secondaryArchSuffix 57 lib:libgmodule_2.0$secondaryArchSuffix 58 lib:libgobject_2.0$secondaryArchSuffix 59 lib:libgstapp_1.0$secondaryArchSuffix 60 lib:libgstaudio_1.0$secondaryArchSuffix 61 lib:libgstbase_1.0$secondaryArchSuffix 62 lib:libgstpbutils_1.0$secondaryArchSuffix 63 lib:libgstreamer_1.0$secondaryArchSuffix 64 lib:libiconv$secondaryArchSuffix 65 lib:libintl$secondaryArchSuffix 66 lib:libmtp$secondaryArchSuffix 67 lib:libprotobuf$secondaryArchSuffix 68 lib:libQt5Core$secondaryArchSuffix 69 lib:libQt5Gui$secondaryArchSuffix 70 lib:libQt5Widgets$secondaryArchSuffix 71 lib:libsqlite3$secondaryArchSuffix 72 lib:libtag$secondaryArchSuffix 73 lib:libz$secondaryArchSuffix 74 " 75 76BUILD_REQUIRES=" 77 haiku${secondaryArchSuffix}_devel 78 sparsehash$secondaryArchSuffix 79 devel:libboost_atomic$secondaryArchSuffix >= 1.69.0 80 devel:libboost_chrono$secondaryArchSuffix >= 1.69.0 81 devel:libboost_date_time$secondaryArchSuffix >= 1.69.0 82 devel:libboost_filesystem$secondaryArchSuffix >= 1.69.0 83 devel:libboost_locale$secondaryArchSuffix >= 1.69.0 84 devel:libboost_regex$secondaryArchSuffix >= 1.69.0 85 devel:libboost_system$secondaryArchSuffix >= 1.69.0 86 devel:libboost_thread$secondaryArchSuffix >= 1.69.0 87 devel:libcdio$secondaryArchSuffix >= 19 88 devel:libchromaprint$secondaryArchSuffix 89 devel:libexecinfo$secondaryArchSuffix 90 devel:libfftw3$secondaryArchSuffix 91 devel:libgio_2.0$secondaryArchSuffix 92 devel:libgl$secondaryArchSuffix 93 devel:libglib_2.0$secondaryArchSuffix 94 devel:libglu$secondaryArchSuffix 95 devel:libgstapp_1.0$secondaryArchSuffix 96 devel:libgstaudio_1.0$secondaryArchSuffix 97 devel:libgstbadaudio_1.0$secondaryArchSuffix 98 devel:libgstbase_1.0$secondaryArchSuffix 99 devel:libgstreamer_1.0$secondaryArchSuffix 100 devel:libiconv$secondaryArchSuffix 101 devel:libintl$secondaryArchSuffix 102 devel:libmtp$secondaryArchSuffix 103 devel:libprotobuf$secondaryArchSuffix 104 devel:libQt5Core$secondaryArchSuffix 105 devel:libQt5Gui$secondaryArchSuffix 106 devel:libQt5Widgets$secondaryArchSuffix 107 devel:libsqlite3$secondaryArchSuffix 108 devel:libtag$secondaryArchSuffix 109 devel:libxml2$secondaryArchSuffix 110 devel:libz$secondaryArchSuffix 111 " 112BUILD_PREREQUIRES=" 113 cmd:cmake 114 cmd:gcc$secondaryArchSuffix 115 cmd:lrelease$secondaryArchSuffix >= 5 116 cmd:make 117 cmd:orcc$secondaryArchSuffix 118 cmd:pkg_config$secondaryArchSuffix 119 " 120 121BUILD() 122{ 123 mkdir -p build 124 cd build 125 cmake .. $cmakeDirArgs \ 126 -DCMAKE_BUILD_TYPE=Release \ 127 -DCMAKE_INSTALL_PREFIX=$appsDir/Clementine \ 128 -DCMAKE_DISABLE_FIND_PACKAGE_Qt5DBus=OFF \ 129 -DCCACHE_EXECUTABLE=OFF \ 130 -DENABLE_BREAKPAD=OFF \ 131 -DENABLE_DEVICEKIT=OFF \ 132 -DENABLE_DROPBOX=OFF \ 133 -DENABLE_GIO=ON \ 134 -DENABLE_GOOGLE_DRIVE=OFF \ 135 -DENABLE_LIBGPOD=OFF \ 136 -DENABLE_LIBLASTFM=OFF \ 137 -DENABLE_SPOTIFY_BLOB=OFF \ 138 -DENABLE_UDISKS2=OFF \ 139 -DENABLE_VISUALISATIONS=OFF \ 140 -DENABLE_WIIMOTEDEV=OFF \ 141 -DUSE_SYSTEM_PROJECTM=OFF 142 make $jobArgs 143} 144 145INSTALL() 146{ 147 mkdir -p $appsDir/Clementine 148 cp build/clementine $appsDir/Clementine/Clementine 149 cp build/clementine-tagreader $appsDir/Clementine 150 151 local APP_SIGNATURE="application/x-vnd.clementine" 152 local MAJOR="`echo "$portVersion" | cut -d. -f1`" 153 local MIDDLE="`echo "$portVersion" | cut -d. -f2`" 154 local MINOR="`echo "$portVersion" | cut -d. -f3 | cut -d~ -f1`" 155 local LONG_INFO="$SUMMARY" 156 sed \ 157 -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ 158 -e "s|@MAJOR@|$MAJOR|" \ 159 -e "s|@MIDDLE@|$MIDDLE|" \ 160 -e "s|@MINOR@|$MINOR|" \ 161 -e "s|@LONG_INFO@|$LONG_INFO|" \ 162 $portDir/additional-files/clementine.rdef.in > clementine.rdef 163 164 addResourcesToBinaries clementine.rdef $appsDir/Clementine/Clementine 165 mimeset -f $appsDir/Clementine/Clementine 166 addAppDeskbarSymlink $appsDir/Clementine/Clementine 167} 168