mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
FreeTube is an open source desktop YouTube player built with privacy in mind. Use YouTube without advertisements and prevent Google from tracking you with their cookies and JavaScript. Features: - Watch videos without ads - Use YouTube without Google tracking you using cookies and JavaScript - Subscribe to channels without an account - Connect to an externally setup proxy such as Tor - View and search your local subscriptions, history, and saved videos - Organize your subscriptions into "Profiles" to create a more focused feed - Export & import subscriptions - Youtube Trending - Youtube Chapters - Most popular videos page based on the set Invidious instance - Watch videos using an external player - ... and much more https://freetubeapp.io/
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
PORTNAME= freetube
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.21.3-beta
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://github.com/FreeTubeApp/FreeTube/releases/download/${DISTVERSIONFULL}/ \
|
|
LOCAL/nivit/${PKGNAMEPREFIX}${PORTNAME}/:icons
|
|
PKGNAMEPREFIX= linux-
|
|
DISTFILES= freetube-${PORTVERSION:R}-linux-portable-x64.zip \
|
|
${PKGNAMEPREFIX}${PORTNAME}-icons-0.1.3.zip:icons
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= The Private YouTube Client (Linux version)
|
|
WWW= https://freetubeapp.io/
|
|
|
|
LICENSE= AGPLv3 BSD3CLAUSE LGPL21 MIT MPL11
|
|
LICENSE_COMB= multi
|
|
|
|
ONLY_FOR_ARCHS= amd64
|
|
|
|
RUN_DEPENDS= pulseaudio:audio/pulseaudio
|
|
|
|
USES= linux:rl9 zip
|
|
USE_LINUX= alsa-plugins-oss alsa-plugins-pulseaudio alsalib at-spi2-atk \
|
|
atk cups-libs dbuslibs devtools gtk3 libdrm libsigsegv nss opus
|
|
|
|
DATADIR= ${PREFIX}/share/${PKGBASE}
|
|
|
|
BUNDLE_LIBS= yes
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= ${PKGBASE} ${PKGBASE}.desktop
|
|
SUB_LIST= LINUXBASE=${LINUXBASE}
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
STRIP_CMD= ${LINUXBASE}/usr/bin/strip
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC} && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \
|
|
"-not ( -regex \./LICENSE.* -or -regex \./icons.* )")
|
|
(cd ${WRKSRC}/icons && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${LOCALBASE}/share/icons)
|
|
${INSTALL_DATA} ${WRKDIR}/${PKGBASE}.desktop ${STAGEDIR}${DESKTOPDIR}/
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PKGBASE} ${STAGEDIR}${LOCALBASE}/bin/${PKGBASE}
|
|
(cd ${STAGEDIR}${DATADIR} && \
|
|
${STRIP_CMD} chrome-sandbox libvulkan.so.1)
|
|
|
|
.include <bsd.port.mk>
|