1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Update `audio/mpz' to the latest version 1.0.7

- Given the number of files, convert PLIST_FILES to pkg-plist

Found out via:	repology.org
This commit is contained in:
Alexey Dokuchaev 2020-10-23 11:59:50 +00:00
parent 25326001c9
commit f0ed0bcc67
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553103
4 changed files with 57 additions and 13 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mpz
PORTVERSION= 1.0.2
PORTVERSION= 1.0.7
CATEGORIES= audio
MAINTAINER= danfe@FreeBSD.org
@ -21,9 +21,6 @@ USE_GSTREAMER1= flac libav mpg123 ogg opus vorbis
USE_QT= buildtools_build concurrent core dbus gui multimedia \
network widgets x11extras
PLIST_FILES= bin/mpz share/applications/mpz.desktop \
share/icons/hicolor/512x512/apps/mpz.png
post-extract:
@${RM} -r ${WRKSRC}/libs/taglib ${WRKSRC}/libs/yaml-cpp

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1602483860
SHA256 (olegantonyan-mpz-1.0.2_GH0.tar.gz) = 581dad7941d8db781d04e1a94ca06c8dbf128093bdcf58972c0a8b3e4831f3d3
SIZE (olegantonyan-mpz-1.0.2_GH0.tar.gz) = 2854578
TIMESTAMP = 1603365332
SHA256 (olegantonyan-mpz-1.0.7_GH0.tar.gz) = 9be079a47635fdad624e47561d15c24b79eeda3742ba00c6449460edd5cc640c
SIZE (olegantonyan-mpz-1.0.7_GH0.tar.gz) = 2951265

View File

@ -1,6 +1,6 @@
--- mpz.pro.orig 2020-10-08 17:36:49 UTC
--- mpz.pro.orig 2020-10-22 11:15:32 UTC
+++ mpz.pro
@@ -2,17 +2,15 @@ TEMPLATE = subdirs
@@ -2,39 +2,37 @@ TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = \
@ -15,8 +15,41 @@
+desktop.path = $$PREFIX/share/applications/
desktop.files += mpz.desktop
-icon.path = /usr/share/icons/hicolor/512x512/apps/
+icon.path = $$PREFIX/share/icons/hicolor/512x512/apps/
icon.files += app/resources/icons/mpz.png
-icon512.path = /usr/share/icons/hicolor/512x512/apps/
+icon512.path = $$PREFIX/share/icons/hicolor/512x512/apps/
icon512.files += app/resources/icons/512x512/mpz.png
-icon256.path = /usr/share/icons/hicolor/256x256/apps/
+icon256.path = $$PREFIX/share/icons/hicolor/256x256/apps/
icon256.files += app/resources/icons/256x256/mpz.png
-icon192.path = /usr/share/icons/hicolor/192x192/apps/
+icon192.path = $$PREFIX/share/icons/hicolor/192x192/apps/
icon192.files += app/resources/icons/192x192/mpz.png
-icon128.path = /usr/share/icons/hicolor/128x128/apps/
+icon128.path = $$PREFIX/share/icons/hicolor/128x128/apps/
icon128.files += app/resources/icons/128x128/mpz.png
-icon96.path = /usr/share/icons/hicolor/96x96/apps/
+icon96.path = $$PREFIX/share/icons/hicolor/96x96/apps/
icon96.files += app/resources/icons/96x96/mpz.png
-icon72.path = /usr/share/icons/hicolor/72x72/apps/
+icon72.path = $$PREFIX/share/icons/hicolor/72x72/apps/
icon72.files += app/resources/icons/72x72/mpz.png
-icon64.path = /usr/share/icons/hicolor/64x64/apps/
+icon64.path = $$PREFIX/share/icons/hicolor/64x64/apps/
icon64.files += app/resources/icons/64x64/mpz.png
-icon48.path = /usr/share/icons/hicolor/48x48/apps/
+icon48.path = $$PREFIX/share/icons/hicolor/48x48/apps/
icon48.files += app/resources/icons/48x48/mpz.png
-icon32.path = /usr/share/icons/hicolor/32x32/apps/
+icon32.path = $$PREFIX/share/icons/hicolor/32x32/apps/
icon32.files += app/resources/icons/32x32/mpz.png
-icon24.path = /usr/share/icons/hicolor/24x24/apps/
+icon24.path = $$PREFIX/share/icons/hicolor/24x24/apps/
icon24.files += app/resources/icons/24x24/mpz.png
-icon22.path = /usr/share/icons/hicolor/22x22/apps/
+icon22.path = $$PREFIX/share/icons/hicolor/22x22/apps/
icon22.files += app/resources/icons/22x22/mpz.png
-icon16.path = /usr/share/icons/hicolor/16x16/apps/
+icon16.path = $$PREFIX/share/icons/hicolor/16x16/apps/
icon16.files += app/resources/icons/16x16/mpz.png
INSTALLS += desktop icon
INSTALLS += desktop icon512 icon256 icon192 icon128 icon96 icon72 icon64 icon48 icon32 icon24 icon22 icon16

14
audio/mpz/pkg-plist Normal file
View File

@ -0,0 +1,14 @@
bin/mpz
share/applications/mpz.desktop
share/icons/hicolor/16x16/apps/mpz.png
share/icons/hicolor/22x22/apps/mpz.png
share/icons/hicolor/24x24/apps/mpz.png
share/icons/hicolor/32x32/apps/mpz.png
share/icons/hicolor/48x48/apps/mpz.png
share/icons/hicolor/64x64/apps/mpz.png
share/icons/hicolor/72x72/apps/mpz.png
share/icons/hicolor/96x96/apps/mpz.png
share/icons/hicolor/128x128/apps/mpz.png
share/icons/hicolor/192x192/apps/mpz.png
share/icons/hicolor/256x256/apps/mpz.png
share/icons/hicolor/512x512/apps/mpz.png