mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
SpotifyQt, bump to src checkout, fixing crash on startup (#5179)
This commit is contained in:
@@ -5,7 +5,7 @@ resource app_flags B_SINGLE_LAUNCH | B_ARGV_ONLY;
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
variety = B_APPV_FINAL,
|
||||
variety = B_APPV_DEVELOPMENT,
|
||||
internal = 0,
|
||||
short_info = "SpotifyQt",
|
||||
long_info = "A Spotify client using Qt"
|
||||
@@ -7,19 +7,20 @@ clients, controlling music playback requires Spotify Premium."
|
||||
HOMEPAGE="https://github.com/kraxarn/spotify-qt"
|
||||
COPYRIGHT="2020 Kraxarn"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/kraxarn/spotify-qt/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ca9b4af238f4b7392524c93bee4093db656cf240f5ef490c6f569238dec35455"
|
||||
SOURCE_FILENAME="spotify-qt-v$portVersion.tar.gz"
|
||||
SOURCE_DIR="spotify-qt-$portVersion"
|
||||
ADDITIONAL_FILES="spotify-qt.rdef.in"
|
||||
REVISION="1"
|
||||
srcGitRev="cc11ce0d1213f191847a6ad44e28be0b6a05a085"
|
||||
SOURCE_URI="https://github.com/kraxarn/spotify-qt/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="2c431ee1cb881729a98951965bbed27a56e12056e13c6cef05a433413a484e6f"
|
||||
SOURCE_FILENAME="spotify-qt-v$portVersion-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="spotify-qt-$srcGitRev"
|
||||
ADDITIONAL_FILES="spotify_qt.rdef.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
spotify_qt$secondaryArchSuffix = $portVersion
|
||||
cmd:spotify_qt
|
||||
app:SpotifyQt
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -61,16 +62,16 @@ INSTALL()
|
||||
make install
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2 | cut -c 1-1`"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
$portDir/additional-files/spotify-qt.rdef.in > spotify-qt.rdef
|
||||
$portDir/additional-files/spotify_qt.rdef.in > spotify_qt.rdef
|
||||
|
||||
mv $appsDir/bin/spotify-qt $appsDir/SpotifyQt
|
||||
rmdir $appsDir/bin
|
||||
|
||||
addResourcesToBinaries spotify-qt.rdef \
|
||||
addResourcesToBinaries spotify_qt.rdef \
|
||||
$appsDir/SpotifyQt
|
||||
|
||||
addAppDeskbarSymlink $appsDir/SpotifyQt
|
||||
Reference in New Issue
Block a user