aboutsummaryrefslogblamecommitdiff
path: root/multimedia/plasmatube/Makefile
blob: 9e9c84e5e62ea0509bd6fc2361bbad6882f6ba92 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                          

                                               







                                                                   
                                                  
                         
                                                                 
                             





                                                                                      

                      
PORTNAME=	plasmatube
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
CATEGORIES=	multimedia kde kde-applications

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Elegant user interface for YouTube
WWW=		https://apps.kde.org/plasmatube/

LIB_DEPENDS=	libmpv.so:multimedia/mpv

USES=		cmake kde:5 localbase:ldflags pkgconfig qt:5 tar:xz
USE_KDE=	config coreaddons i18n kirigami2 \
		ecm:build
USE_QT=		core declarative gui network quickcontrols2 svg \
		widgets xml \
		buildtools:build qmake:build testlib:build

# Replace default Invidious instance with one that currently works 
post-patch:
	@${REINPLACE_CMD} -e 's|https://inv.riverside.rocks|https://vid.puffyan.us|' \
		${WRKSRC}/src/PlasmaTubeSettings.kcfg

.include <bsd.port.mk>