diff options
author | zxp19821005 | 2023-04-23 00:06:50 +0800 |
---|---|---|
committer | zxp19821005 | 2023-04-23 00:06:50 +0800 |
commit | 4ee10ef94ba3294d18c59f698b551c48bb7f0f32 (patch) | |
tree | 2d0b1fd23bcfd98c264c5e321f74122f72998f38 | |
parent | 24dd34211865b292b8163c10e4383439f70f350b (diff) | |
download | aur-4ee10ef94ba3294d18c59f698b551c48bb7f0f32.tar.gz |
update to 3.3.0.0
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rw-r--r-- | TTKMusicPlayer.desktop | 12 | ||||
-rw-r--r-- | ttkmusicplayer.desktop | 12 |
4 files changed, 34 insertions, 59 deletions
@@ -1,10 +1,11 @@ pkgbase = ttkmusicplayer-bin pkgdesc = TTKMusicPlayer that imitation Kugou music, the music player uses of qmmp core library based on Qt for windows and linux.(支持网易云音乐、酷我音乐、酷狗音乐) - pkgver = 3.2.0.0 - pkgrel = 2 + pkgver = 3.3.0.0 + pkgrel = 1 url = https://github.com/Greedysky/TTKMusicPlayer arch = x86_64 license = GPL3 + makedepends = gendesk depends = qt5-multimedia depends = qt5-webengine depends = qt5-x11extras @@ -13,10 +14,6 @@ pkgbase = ttkmusicplayer-bin depends = nspr depends = nss depends = libxcomposite - depends = libxext - depends = libxcursor - depends = alsa-lib - depends = bash depends = glib2 depends = zlib depends = libxcb @@ -27,9 +24,6 @@ pkgbase = ttkmusicplayer-bin depends = libxkbcommon depends = libxrandr depends = gcc-libs - depends = libxi - depends = libxdamage - depends = qt5-declarative depends = glibc depends = expat depends = libpulse @@ -39,13 +33,17 @@ pkgbase = ttkmusicplayer-bin depends = libxxf86vm depends = libxrender depends = gst-plugins-base-libs - depends = hicolor-icon-theme depends = dbus + depends = libxext + depends = libxcursor + depends = alsa-lib + depends = sh + depends = libxi + depends = libxdamage + depends = qt5-declarative conflicts = ttkmusicplayer - noextract = ttkmusicplayer-3.2.0.0.7z - source = ttkmusicplayer-3.2.0.0.7z::https://github.com/Greedysky/TTKMusicPlayer/releases/download/3.2.0.0/ttkmusicplayer-linux-x64.7z - source = ttkmusicplayer.desktop - sha256sums = e0422e488429b8ce7c23716f26368f1346910b8ac4f0bca63e2e8c8cf88814cc - sha256sums = dd86a87a220ae12b5f0737be7bbad8bdaad3970a60b2244ec55b100293091fef + noextract = ttkmusicplayer-3.3.0.0.7z + source = ttkmusicplayer-3.3.0.0.7z::https://github.com/Greedysky/TTKMusicPlayer/releases/download/3.3.0.0/ttkmusicplayer-linux-x64.7z + sha256sums = faf2f6d37ba8226e1e49a65d2c6d8f8bebc5dcf02f1e82b70cbf773a3e39280a pkgname = ttkmusicplayer-bin @@ -1,28 +1,29 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> -_pkgname=ttkmusicplayer -pkgname="${_pkgname}-bin" -pkgver=3.2.0.0 -pkgrel=2 +pkgname="ttkmusicplayer-bin" +pkgver=3.3.0.0 +pkgrel=1 pkgdesc="TTKMusicPlayer that imitation Kugou music, the music player uses of qmmp core library based on Qt for windows and linux.(支持网易云音乐、酷我音乐、酷狗音乐)" arch=('x86_64') url="https://github.com/Greedysky/TTKMusicPlayer" license=('GPL3') -conflicts=("${_pkgname}") -noextract=("${_pkgname}-${pkgver}.7z") -depends=(qt5-multimedia qt5-webengine qt5-x11extras qt5-base libcups nspr nss libxcomposite libxext libxcursor alsa-lib bash \ - glib2 zlib libxcb libglvnd fontconfig freetype2 gstreamer libxkbcommon libxrandr gcc-libs libxi libxdamage qt5-declarative \ - glibc expat libpulse libxfixes libx11 libxtst libxxf86vm libxrender gst-plugins-base-libs hicolor-icon-theme dbus) -source=("${_pkgname}-${pkgver}.7z::${url}/releases/download/${pkgver}/${_pkgname}-linux-x64.7z" - "${_pkgname}.desktop") -sha256sums=('e0422e488429b8ce7c23716f26368f1346910b8ac4f0bca63e2e8c8cf88814cc' - 'dd86a87a220ae12b5f0737be7bbad8bdaad3970a60b2244ec55b100293091fef') +conflicts=("${pkgname%-bin}") +noextract=("${pkgname%-bin}-${pkgver}.7z") +depends=('qt5-multimedia' 'qt5-webengine' 'qt5-x11extras' 'qt5-base' 'libcups' 'nspr' 'nss' 'libxcomposite' \ + 'glib2' 'zlib' 'libxcb' 'libglvnd' 'fontconfig' 'freetype2' 'gstreamer' 'libxkbcommon' 'libxrandr' 'gcc-libs' \ + 'glibc' 'expat' 'libpulse' 'libxfixes' 'libx11' 'libxtst' 'libxxf86vm' 'libxrender' 'gst-plugins-base-libs' \ + 'dbus' 'libxext' 'libxcursor' 'alsa-lib' 'sh' 'libxi' 'libxdamage' 'qt5-declarative') +makedepends=('gendesk') +#options=(!strip) +source=("${pkgname%-bin}-${pkgver}.7z::${url}/releases/download/${pkgver}/${pkgname%-bin}-linux-x64.7z") +sha256sums=('faf2f6d37ba8226e1e49a65d2c6d8f8bebc5dcf02f1e82b70cbf773a3e39280a') package() { - install -Dm755 -d "${pkgdir}/opt/${_pkgname}" - bsdtar -xf "${_pkgname}-${pkgver}.7z" -C "${pkgdir}/opt/${_pkgname}" + install -Dm755 -d "${pkgdir}/opt/${pkgname%-bin}" + bsdtar -xf "${pkgname%-bin}-${pkgver}.7z" -C "${pkgdir}/opt/${pkgname%-bin}" find "${pkgdir}" -type f -exec chmod 644 {} \; find "${pkgdir}" -type d -exec chmod 755 {} \; - chmod 755 "${pkgdir}/opt/${_pkgname}/"*.sh "${pkgdir}/opt/${_pkgname}/"TTK* "${pkgdir}/opt/${_pkgname}/${pkgver}/"*.sh "${pkgdir}/opt/${_pkgname}/${pkgver}/"TTK* - rm -r "${pkgdir}/opt/${_pkgname}/Downloads" - install -Dm644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" - install -Dm644 "${pkgdir}/opt/${_pkgname}/deploy/share/pixmaps/ttkmusicplayer.png" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.png" -} + find "${pkgdir}/opt/${pkgname%-bin}" -type f -name "TTK*" -exec chmod 755 {} \; + rm -rf "${pkgdir}/opt/${pkgname%-bin}/Downloads" + gendesk -f --icon "${pkgname%-bin}" --categories "AudioVideo;Player;Audio;Qt" --name "TTKMusicPlayer" --exec "/opt/${pkgname%-bin}/TTKMusicPlayer" + install -Dm644 "${srcdir}/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications" + install -Dm644 "${pkgdir}/opt/${pkgname%-bin}/deploy/share/pixmaps/ttkmusicplayer.png" -t "${pkgdir}/usr/share/pixmaps" +}
\ No newline at end of file diff --git a/TTKMusicPlayer.desktop b/TTKMusicPlayer.desktop deleted file mode 100644 index 6c53665fa6cc..000000000000 --- a/TTKMusicPlayer.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Type=Application -Version=3.2.0.0 -Name=TTKMusicPlayer -Comment=天天酷音 -Icon=TTKMusicPlayer -Exec=/opt/TTKMusicPlayer/TTKMusicPlayer.sh -Terminal=false -Keywords=player;audio;video;multimedia; -Categories=AudioVideo;Player;Audio;Qt; -X-KDE-StartupNotify=false -Name[zh_CN]=天天酷音
\ No newline at end of file diff --git a/ttkmusicplayer.desktop b/ttkmusicplayer.desktop deleted file mode 100644 index b43ece9e1b7f..000000000000 --- a/ttkmusicplayer.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Type=Application -Version=3.2.0.0 -Name=TTKMusicPlayer -Comment=天天酷音 -Icon=ttkmusicplayer -Exec=/opt/ttkmusicplayer/TTKMusicPlayer.sh -Terminal=false -Keywords=player;audio;video;multimedia; -Categories=AudioVideo;Player;Audio;Qt; -X-KDE-StartupNotify=false -Name[zh_CN]=天天酷音
\ No newline at end of file |