mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Add -qt5 port.
While here, correct version of transmission meta-port PR: ports/220933 Submitted by: ldbm@privacychain.ch
This commit is contained in:
parent
0b5cce930e
commit
a627e78476
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447965
8 changed files with 89 additions and 8 deletions
|
@ -89,6 +89,7 @@
|
||||||
SUBDIR += transmission-daemon
|
SUBDIR += transmission-daemon
|
||||||
SUBDIR += transmission-gtk
|
SUBDIR += transmission-gtk
|
||||||
SUBDIR += transmission-qt4
|
SUBDIR += transmission-qt4
|
||||||
|
SUBDIR += transmission-qt5
|
||||||
SUBDIR += transmission-remote-gui
|
SUBDIR += transmission-remote-gui
|
||||||
SUBDIR += tribler
|
SUBDIR += tribler
|
||||||
SUBDIR += twister
|
SUBDIR += twister
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
PKGNAMESUFFIX= -gtk
|
PKGNAMESUFFIX= -gtk
|
||||||
|
|
||||||
MAINTAINER= crees@FreeBSD.org
|
MAINTAINER= crees@FreeBSD.org
|
||||||
|
@ -18,7 +18,7 @@ MASTERDIR= ${.CURDIR}/../transmission-cli
|
||||||
PLIST= ${.CURDIR}/pkg-plist
|
PLIST= ${.CURDIR}/pkg-plist
|
||||||
SLAVEPORT= gtk
|
SLAVEPORT= gtk
|
||||||
|
|
||||||
USE_GNOME= gtk30 intlhack
|
USE_GNOME= cairo gtk30 intlhack
|
||||||
USES= gettext pathfix desktop-file-utils
|
USES= gettext pathfix desktop-file-utils
|
||||||
INSTALLS_ICONS= yes
|
INSTALLS_ICONS= yes
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,26 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTREVISION= 4
|
PORTREVISION= 5
|
||||||
PKGNAMESUFFIX= -qt4
|
PKGNAMESUFFIX= -qt4
|
||||||
|
|
||||||
MAINTAINER= crees@FreeBSD.org
|
MAINTAINER= crees@FreeBSD.org
|
||||||
COMMENT= Fast and lightweight QT4 BitTorrent client
|
COMMENT= Fast and lightweight Qt4 BitTorrent client
|
||||||
|
|
||||||
LIB_DEPENDS= ${GEN_LIB_DEPENDS}
|
LIB_DEPENDS= ${GEN_LIB_DEPENDS} \
|
||||||
|
libfontconfig.so:x11-fonts/fontconfig \
|
||||||
|
libfreetype.so:print/freetype2
|
||||||
RUN_DEPENDS= ${GEN_RUN_DEPENDS}
|
RUN_DEPENDS= ${GEN_RUN_DEPENDS}
|
||||||
|
|
||||||
|
CONFLICTS_INSTALL= transmission-qt5-[0-9]*
|
||||||
|
|
||||||
DESCR= ${.CURDIR}/pkg-descr
|
DESCR= ${.CURDIR}/pkg-descr
|
||||||
MASTERDIR= ${.CURDIR}/../transmission-cli
|
MASTERDIR= ${.CURDIR}/../transmission-cli
|
||||||
PLIST= ${.CURDIR}/pkg-plist
|
PLIST= ${.CURDIR}/pkg-plist
|
||||||
SLAVEPORT= qt4
|
SLAVEPORT= qt4
|
||||||
|
|
||||||
QT_NONSTANDARD= yes
|
QT_NONSTANDARD= yes
|
||||||
USE_QT4= moc_build qmake_build rcc_build uic_build gui dbus network
|
USE_QT4= moc_build qmake_build uic_build rcc_build \
|
||||||
|
corelib gui dbus network xml
|
||||||
USES= compiler:c++11-lib desktop-file-utils
|
USES= compiler:c++11-lib desktop-file-utils
|
||||||
|
|
||||||
EXTRA_CONF_ARGS=--disable-cli \
|
EXTRA_CONF_ARGS=--disable-cli \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
A fast and lightweight QT4 BitTorrent client, loosely based on the GTK+ client.
|
A fast and lightweight Qt4 BitTorrent client, loosely based on the GTK+ client.
|
||||||
|
|
||||||
This is the only Transmission client that can act as its own self-contained
|
This is the only Transmission client that can act as its own self-contained
|
||||||
session (as the GTK+ and Mac clients do), and can also connect to a remote
|
session (as the GTK+ and Mac clients do), and can also connect to a remote
|
||||||
|
|
54
net-p2p/transmission-qt5/Makefile
Normal file
54
net-p2p/transmission-qt5/Makefile
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTREVISION= 0
|
||||||
|
PKGNAMESUFFIX= -qt5
|
||||||
|
|
||||||
|
MAINTAINER= crees@FreeBSD.org
|
||||||
|
COMMENT= Fast and lightweight Qt5 BitTorrent client
|
||||||
|
|
||||||
|
LIB_DEPENDS= ${GEN_LIB_DEPENDS} \
|
||||||
|
libfontconfig.so:x11-fonts/fontconfig \
|
||||||
|
libfreetype.so:print/freetype2
|
||||||
|
RUN_DEPENDS= ${GEN_RUN_DEPENDS}
|
||||||
|
|
||||||
|
CONFLICTS_INSTALL= transmission-qt4-[0-9]*
|
||||||
|
|
||||||
|
DESCR= ${.CURDIR}/pkg-descr
|
||||||
|
MASTERDIR= ${.CURDIR}/../transmission-cli
|
||||||
|
PLIST= ${.CURDIR}/pkg-plist
|
||||||
|
SLAVEPORT= qt5
|
||||||
|
|
||||||
|
QT_NONSTANDARD= yes
|
||||||
|
USE_QT5= buildtools_build qmake_build core dbus gui network widgets
|
||||||
|
USES= compiler:c++11-lib desktop-file-utils
|
||||||
|
|
||||||
|
EXTRA_CONF_ARGS=--disable-cli \
|
||||||
|
--disable-daemon \
|
||||||
|
--without-gtk \
|
||||||
|
--disable-mac \
|
||||||
|
--disable-nls
|
||||||
|
|
||||||
|
post-patch: general-patch
|
||||||
|
@${REINPLACE_CMD} -e 's|/share/man|/man|g ; /PKGCONFIG/s| openssl||g' \
|
||||||
|
${WRKSRC}/qt/qtr.pro
|
||||||
|
@${ECHO_CMD} 'LIBS += -l${PORT_OPTIONS:M*SSL:tl:S/openssl/crypto/}' \
|
||||||
|
>>${WRKSRC}/qt/qtr.pro
|
||||||
|
|
||||||
|
post-build:
|
||||||
|
@(cd ${WRKSRC}/qt && ${QMAKE} ${QMAKE_ARGS} qtr.pro && ${MAKE_CMD})
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
@(cd ${WRKSRC}/qt && \
|
||||||
|
${SETENV} INSTALL_ROOT=${STAGEDIR}${PREFIX} ${MAKE_CMD} install)
|
||||||
|
|
||||||
|
post-install: general-install
|
||||||
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/transmission-qt
|
||||||
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
|
@${INSTALL_DATA} ${WRKSRC}/qt/README.txt \
|
||||||
|
${STAGEDIR}${DOCSDIR}/README-qt5
|
||||||
|
@${INSTALL_DATA} ${WRKSRC}/qt/transmission-qt.desktop \
|
||||||
|
${STAGEDIR}${PREFIX}/share/applications/
|
||||||
|
@${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.png \
|
||||||
|
${STAGEDIR}${PREFIX}/share/pixmaps/transmission-qt.png
|
||||||
|
|
||||||
|
.include "${MASTERDIR}/Makefile"
|
13
net-p2p/transmission-qt5/pkg-descr
Normal file
13
net-p2p/transmission-qt5/pkg-descr
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
A fast and lightweight Qt5 BitTorrent client, loosely based on the GTK+ client.
|
||||||
|
|
||||||
|
This is the only Transmission client that can act as its own self-contained
|
||||||
|
session (as the GTK+ and Mac clients do), and can also connect to a remote
|
||||||
|
session (as the web client and transmission-remote terminal client do).
|
||||||
|
|
||||||
|
Transmission has been built from the ground up to be a lightweight, yet
|
||||||
|
powerful BitTorrent client. Its simple, intuitive interface is designed
|
||||||
|
to integrate tightly with whatever computing environment you choose to
|
||||||
|
use. Transmission strikes a balance between providing useful functionality
|
||||||
|
without feature bloat. Furthermore, it is free for anyone to use or modify.
|
||||||
|
|
||||||
|
WWW: http://www.transmissionbt.com/
|
8
net-p2p/transmission-qt5/pkg-plist
Normal file
8
net-p2p/transmission-qt5/pkg-plist
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
bin/transmission-qt
|
||||||
|
man/man1/transmission-qt.1.gz
|
||||||
|
share/applications/transmission-qt.desktop
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README-qt5
|
||||||
|
share/pixmaps/transmission-qt.png
|
|
@ -1,7 +1,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= transmission
|
PORTNAME= transmission
|
||||||
PORTVERSION= 2.84
|
PORTVERSION= 2.92
|
||||||
CATEGORIES= net-p2p
|
CATEGORIES= net-p2p
|
||||||
|
|
||||||
MAINTAINER= crees@FreeBSD.org
|
MAINTAINER= crees@FreeBSD.org
|
||||||
|
|
Loading…
Add table
Reference in a new issue