View | Details | Raw Unified | Return to bug 234534
Collapse All | Expand All

(-)i/audio/clementine-player/Makefile (-24 / +31 lines)
Lines 2-31 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	clementine
4
PORTNAME=	clementine
5
DISTVERSIONPREFIX=	v
5
PORTVERSION=	g20181205
6
DISTVERSION=		1.3.1-441
7
DISTVERSIONSUFFIX=	-gc01b7bc
8
PORTREVISION=	7
9
CATEGORIES=	audio
6
CATEGORIES=	audio
10
PKGNAMESUFFIX=	-player
7
PKGNAMESUFFIX=	-player
11
8
9
PATCH_SITES=	https://github.com/jonaski/${GH_PROJECT}/commit/
10
PATCHFILES=	6f189d95.patch:-p1
11
12
MAINTAINER=	sbruno@FreeBSD.org
12
MAINTAINER=	sbruno@FreeBSD.org
13
COMMENT=	Cross-platform music player based on Amarok 1.4
13
COMMENT=	Modern music player and library organizer
14
14
15
LICENSE=	GPLv3+
15
LICENSE=	GPLv3+
16
LICENSE_FILE=	${WRKSRC}/COPYING
16
LICENSE_FILE=	${WRKSRC}/COPYING
17
17
18
DEPRECATED=		Qt4 has been EOL since december 2015
19
EXPIRATION_DATE=	2019-03-15
20
21
BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
18
BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
22
LIB_DEPENDS=	libtag.so:audio/taglib \
19
LIB_DEPENDS=	libtag.so:audio/taglib \
23
		libchromaprint.so:audio/chromaprint \
20
		libchromaprint.so:audio/chromaprint \
24
		libprotobuf.so:devel/protobuf \
21
		libprotobuf.so:devel/protobuf \
25
		libqca.so:devel/qca@qt4 \
22
		libqca-qt5.so:devel/qca@qt5 \
26
		libqjson.so:devel/qjson@qt4 \
23
		libqjson-qt5.so:devel/qjson@qt5 \
27
		libfftw3.so:math/fftw3 \
24
		libfftw3.so:math/fftw3 \
28
		libechonest.so:audio/libechonest \
25
		libechonest5.so:audio/libechonest \
29
		libcryptopp.so:security/cryptopp
26
		libcryptopp.so:security/cryptopp
30
27
31
BROKEN_powerpc64=	fails to compile: tagreader.cpp: undefined reference to TagLib::String::String
28
BROKEN_powerpc64=	fails to compile: tagreader.cpp: undefined reference to TagLib::String::String
Lines 33-65 BROKEN_powerpc64= fails to compile: tagreader.cpp: undefined reference to TagLib Link Here
33
USE_GITHUB=	yes
30
USE_GITHUB=	yes
34
GH_ACCOUNT=	${PORTNAME}${PKGNAMESUFFIX}
31
GH_ACCOUNT=	${PORTNAME}${PKGNAMESUFFIX}
35
GH_PROJECT=	Clementine
32
GH_PROJECT=	Clementine
33
GH_TAGNAME=	453270c8b5015f39a44fd34c659e811c6b8048cf # qt5 branch
36
34
37
USES=		cmake \
35
USES=		cmake \
36
		qt:5 \
37
		gl \
38
		compiler:c++11-lib \
38
		compiler:c++11-lib \
39
		desktop-file-utils \
39
		desktop-file-utils \
40
		gettext-tools \
40
		gettext-tools \
41
		pkgconfig \
41
		pkgconfig \
42
		qt:4 sqlite
42
		sqlite
43
USE_CXXSTD=	c++11
44
43
45
USE_GL=		gl glew glu
44
USE_GL=		gl glu glew
46
USE_XORG=	x11
47
45
48
CONFLICTS_BUILD=	qt-3.*
46
USE_QT=	core \
49
USE_QT=		corelib \
47
		concurrent \
50
		dbus \
48
		dbus \
51
		gui \
49
		gui \
52
		imageformats \
50
		imageformats \
53
		qmake_build \
51
		qmake_build \
54
		linguist_build \
52
		linguist_build \
55
		moc_build \
56
		network \
53
		network \
57
		opengl \
54
		opengl \
58
		qtestlib \
55
		testlib \
59
		rcc_build \
60
		sql \
56
		sql \
61
		uic_build \
57
		widgets \
62
		webkit \
58
		x11extras \
63
		xml
59
		xml
64
60
65
USE_GSTREAMER1=	cdparanoia \
61
USE_GSTREAMER1=	cdparanoia \
Lines 70-75 USE_GSTREAMER1= cdparanoia \ Link Here
70
		lame \
66
		lame \
71
		mpg123 \
67
		mpg123 \
72
		neon \
68
		neon \
69
		opus \
73
		shout2 \
70
		shout2 \
74
		soup \
71
		soup \
75
		taglib \
72
		taglib \
Lines 84-90 CFLAGS+= -Wno-inconsistent-missing-override \ Link Here
84
81
85
CMAKE_ARGS+=	-DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib" \
82
CMAKE_ARGS+=	-DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib" \
86
		-DENABLE_DBUS=ON \
83
		-DENABLE_DBUS=ON \
87
		-DENABLE_SPOTIFY_BLOB=OFF
84
		-DENABLE_SPOTIFY_BLOB=OFF \
85
		-DCRYPTOPP_LIBS=${LOCALBASE}/lib/libcryptopp.so \
86
		-DCRYPTOPP_INCLUDEDIR=${LOCALBASE}/include/cryptopp \
87
		-DCRYPTOPP_LIBDIR=${LOCALBASE}/lib \
88
		-DCRYPTOPP_LDFLAGS=-lcryptopp \
89
		-DCRYPTOPP_LIBRARIES=cryptopp \
90
		-DCRYPTOPP_LIBRARY_DIRS=${LOCALBASE}/lib \
91
		-DCRYPTOPP_cryptopp_INCLUDEDIR=${LOCALBASE}/include/cryptopp \
92
		-DCRYPTOPP_cryptopp_LIBDIR=${LOCALBASE}/lib \
93
		-DCRYPTOPP_FOUND=1
88
94
89
OPTIONS_DEFINE=		AMAZON \
95
OPTIONS_DEFINE=		AMAZON \
90
			AUDIOCD \
96
			AUDIOCD \
Lines 158-163 DROPBOX_BUILD_DEPENDS= sparsehash>=2.0.2:devel/sparsehash Link Here
158
DROPBOX_CMAKE_ON=	-DENABLE_DROPBOX=ON
164
DROPBOX_CMAKE_ON=	-DENABLE_DROPBOX=ON
159
DROPBOX_CMAKE_OFF=	-DENABLE_DROPBOX=OFF
165
DROPBOX_CMAKE_OFF=	-DENABLE_DROPBOX=OFF
160
166
167
GIO_USES=		gnome
161
GIO_USE=		GNOME=glib20
168
GIO_USE=		GNOME=glib20
162
GIO_CMAKE_ON=		-DENABLE_GIO=ON
169
GIO_CMAKE_ON=		-DENABLE_GIO=ON
163
GIO_CMAKE_OFF=		-DENABLE_GIO=OFF
170
GIO_CMAKE_OFF=		-DENABLE_GIO=OFF
Lines 173-179 GPOD_LIB_DEPENDS= libgpod.so:audio/libgpod \ Link Here
173
GPOD_CMAKE_ON=		-DENABLE_LIBGPOD=ON
180
GPOD_CMAKE_ON=		-DENABLE_LIBGPOD=ON
174
GPOD_CMAKE_OFF=		-DENABLE_LIBGPOD=OFF
181
GPOD_CMAKE_OFF=		-DENABLE_LIBGPOD=OFF
175
182
176
LASTFM_LIB_DEPENDS=	liblastfm.so:audio/liblastfm
183
LASTFM_LIB_DEPENDS=	liblastfm5.so:audio/liblastfm-qt5
177
LASTFM_CMAKE_ON=	-DENABLE_LIBLASTFM=ON
184
LASTFM_CMAKE_ON=	-DENABLE_LIBLASTFM=ON
178
LASTFM_CMAKE_OFF=	-DENABLE_LIBLASTFM=OFF
185
LASTFM_CMAKE_OFF=	-DENABLE_LIBLASTFM=OFF
179
186
(-)i/audio/clementine-player/distinfo (-3 / +5 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1527263085
1
TIMESTAMP = 1546283735
2
SHA256 (clementine-player-Clementine-v1.3.1-441-gc01b7bc_GH0.tar.gz) = 78082a523dc21b6ddf17fd7bd3ab7734634bce93dacdc1a50efb4dda4e346be6
2
SHA256 (clementine-player-Clementine-g20181205-453270c8b5015f39a44fd34c659e811c6b8048cf_GH0.tar.gz) = e19ffb54b532caf2755cb0cf0999f743e4dec6a00996d265180e4a547231b4bc
3
SIZE (clementine-player-Clementine-v1.3.1-441-gc01b7bc_GH0.tar.gz) = 8468459
3
SIZE (clementine-player-Clementine-g20181205-453270c8b5015f39a44fd34c659e811c6b8048cf_GH0.tar.gz) = 8527453
4
SHA256 (6f189d95.patch) = a4d0d811de1fd9425d91ce51d8f22499dcc5d69a5849d960901e1fa71123398d
5
SIZE (6f189d95.patch) = 1427
(-)i/audio/clementine-player/files/patch-dist_clementine.desktop (-2 / +56 lines)
Lines 1-6 Link Here
1
--- dist/clementine.desktop.orig	2016-04-19 15:08:35 UTC
1
--- dist/clementine.desktop.orig	2018-03-11 17:39:57 UTC
2
+++ dist/clementine.desktop
2
+++ dist/clementine.desktop
3
@@ -26,8 +26,8 @@ Comment[sr]=Репродукује муÐ
3
@@ -31,8 +31,8 @@ Comment[sr]=Репродукује музику и las
4
 Comment[sr@ijekavian]=Репродукује музику и last.fm токове
4
 Comment[sr@ijekavian]=Репродукује музику и last.fm токове
5
 Comment[sr@ijekavianlatin]=Reprodukuje muziku i last.fm tokove
5
 Comment[sr@ijekavianlatin]=Reprodukuje muziku i last.fm tokove
6
 Comment[sr@latin]=Reprodukuje muziku i last.fm tokove
6
 Comment[sr@latin]=Reprodukuje muziku i last.fm tokove
Lines 11-13 Link Here
11
 Icon=clementine
11
 Icon=clementine
12
 Terminal=false
12
 Terminal=false
13
 Categories=AudioVideo;Player;Qt;Audio;
13
 Categories=AudioVideo;Player;Qt;Audio;
14
@@ -42,7 +42,7 @@ Actions=Play;Pause;Stop;StopAfterCurrent;Previous;Next
15
 
16
 [Desktop Action Play]
17
 Name=Play
18
-Exec=clementine --play
19
+Exec=clementine-player --play
20
 Name[af]=Speel
21
 Name[be]=Прайграць
22
 Name[bg]=Възпроизвеждане
23
@@ -94,7 +94,7 @@ Name[zh_TW]=播放
24
 
25
 [Desktop Action Pause]
26
 Name=Pause
27
-Exec=clementine --pause
28
+Exec=clementine-player --pause
29
 Name[be]=Прыпыніць
30
 Name[bg]=Пауза
31
 Name[br]=Ehan
32
@@ -141,7 +141,7 @@ Name[zh_TW]=暫停
33
 
34
 [Desktop Action Stop]
35
 Name=Stop
36
-Exec=clementine --stop
37
+Exec=clementine-player --stop
38
 Name[be]=Спыніць
39
 Name[bg]=Спиране
40
 Name[br]=Paouez
41
@@ -191,7 +191,7 @@ Name[zh_TW]=停止
42
 
43
 [Desktop Action StopAfterCurrent]
44
 Name=Stop after this track
45
-Exec=clementine --stop-after-current
46
+Exec=clementine-player --stop-after-current
47
 Name[be]=Спыніць пасьля гэтага трэку
48
 Name[bg]=Спри след тази песен
49
 Name[br]=Paouez goude ar roud-mañ
50
@@ -238,7 +238,7 @@ Name[zh_TW]=在這首歌之後停止
51
 
52
 [Desktop Action Previous]
53
 Name=Previous
54
-Exec=clementine --previous
55
+Exec=clementine-player --previous
56
 Name[af]=Vorige
57
 Name[be]=Папярэдні
58
 Name[bg]=Предишна
59
@@ -287,7 +287,7 @@ Name[zh_TW]=往前
60
 
61
 [Desktop Action Next]
62
 Name=Next
63
-Exec=clementine --next
64
+Exec=clementine-player --next
65
 Name[af]=Volgende
66
 Name[be]=Далей
67
 Name[bg]=Следваща
(-)i/audio/clementine-player/files/patch-src_CMakeLists.txt (-2 / +2 lines)
Lines 10-18 Link Here
10
   )
10
   )
11
@@ -1380,6 +1381,7 @@ add_executable(clementine
11
@@ -1380,6 +1381,7 @@ add_executable(clementine
12
 
12
 
13
 if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
13
 if (FREEBSD)
14
   target_link_libraries(clementine execinfo)
14
   target_link_libraries(clementine execinfo)
15
+  set_target_properties(clementine PROPERTIES OUTPUT_NAME clementine-player)
15
+  set_target_properties(clementine PROPERTIES OUTPUT_NAME clementine-player)
16
 endif (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
16
 endif (FREEBSD)
17
 
17
 
18
 target_link_libraries(clementine
18
 target_link_libraries(clementine
(-)i/audio/clementine-player/pkg-plist (-5 / +5 lines)
Lines 1-14 Link Here
1
bin/clementine-player
1
bin/clementine-player
2
bin/clementine-tagreader
2
bin/clementine-tagreader
3
share/appdata/clementine.appdata.xml
4
share/applications/clementine.desktop
3
share/applications/clementine.desktop
5
share/icons/hicolor/128x128/apps/clementine.png
4
share/icons/hicolor/128x128/apps/clementine.png
6
share/icons/hicolor/64x64/apps/clementine.png
5
share/icons/hicolor/64x64/apps/clementine.png
7
share/icons/hicolor/scalable/apps/clementine.svg
6
share/icons/hicolor/scalable/apps/clementine.svg
8
share/kde4/services/clementine-feed.protocol
7
share/kservices5/clementine-feed.protocol
9
share/kde4/services/clementine-itms.protocol
8
share/kservices5/clementine-itms.protocol
10
share/kde4/services/clementine-itpc.protocol
9
share/kservices5/clementine-itpc.protocol
11
share/kde4/services/clementine-zune.protocol
10
share/kservices5/clementine-zune.protocol
11
share/metainfo/clementine.appdata.xml
12
%%VISUALISATION%%%%DATADIR%%/projectm-presets/Aderrasi - Agitator.milk
12
%%VISUALISATION%%%%DATADIR%%/projectm-presets/Aderrasi - Agitator.milk
13
%%VISUALISATION%%%%DATADIR%%/projectm-presets/Aderrasi - Aimless (Gravity Directive Mix).milk
13
%%VISUALISATION%%%%DATADIR%%/projectm-presets/Aderrasi - Aimless (Gravity Directive Mix).milk
14
%%VISUALISATION%%%%DATADIR%%/projectm-presets/Aderrasi - Aimless (Spirogravity Mix).milk
14
%%VISUALISATION%%%%DATADIR%%/projectm-presets/Aderrasi - Aimless (Spirogravity Mix).milk

Return to bug 234534