Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
F
FreeBSD ports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
FreeBSD
FreeBSD ports
Commits
2c18c2a2
Commit
2c18c2a2
authored
1 year ago
by
Yuri Victorovich
Browse files
Options
Downloads
Patches
Plain Diff
net-p2p/qbittorrent: Use Qt6
Based on patch submitted by: Nuno Teixeira <eduardo@freebsd.org>
parent
94ed6cbc
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
net-p2p/qbittorrent/Makefile
+9
-18
9 additions, 18 deletions
net-p2p/qbittorrent/Makefile
net-p2p/qbittorrent/pkg-plist
+1
-1
1 addition, 1 deletion
net-p2p/qbittorrent/pkg-plist
net-p2p/qbittorrent/pkg-plist-nox
+1
-1
1 addition, 1 deletion
net-p2p/qbittorrent/pkg-plist-nox
with
11 additions
and
20 deletions
net-p2p/qbittorrent/Makefile
+
9
−
18
View file @
2c18c2a2
PORTNAME
=
qbittorrent
DISTVERSION
=
4.5.5
PORTREVISION
=
1
CATEGORIES
=
net-p2p
MASTER_SITES
=
SF/
${
PORTNAME
}
/
${
PORTNAME
}
/
${
PORTNAME
}
-
${
PORTVERSION
}
...
...
@@ -21,24 +22,21 @@ FLAVOR?= ${FLAVORS:[1]}
nox_PKGNAMESUFFIX
=
-nox
nox_PLIST
=
${
MASTERDIR
}
/pkg-plist-nox
USES
=
compiler:c++14-lang cpe pkgconfig qmake:no_env qt:5 ssl
tar
:xz
GNU_CONFIGURE
=
yes
USE_QT
=
core network sql xml buildtools:build linguisttools:build qmake:build
DESTDIRNAME
=
INSTALL_ROOT
CONFIGURE_ENV
+=
openssl_CFLAGS
=
"-I
${
OPENSSLINC
}
"
openssl_LIBS
=
"-L
${
OPENSSLLIB
}
-lssl"
USES
=
compiler:c++14-lang cpe pkgconfig cmake qt:6 ssl
tar
:xz
USE_QT
=
base svg translations
USE_CXXSTD
=
c++17
# prevent boost-related SEGV, see bug#264278
CMAKE_ON
=
QT6
.if
${FLAVOR}
==
default
USES
+=
desktop-file-utils gl
USE_QT
+=
concurrent gui svg widgets
USE_GL
=
gl
.
endif
.if
${FLAVOR}
==
nox
SUFFIX
=
-nox
COMMENT
+=
(
web UI version
)
C
ONFIGURE_ARGS
=
--disable-gui
C
MAKE_OFF
=
GUI
USERS
=
qbittorrent
GROUPS
=
qbittorrent
USE_RC_SUBR
=
qbittorrent
...
...
@@ -56,9 +54,8 @@ LIBTORRENT_DESC= libtorrent version number to use
LIBTORRENT1_DESC
=
Version 1.x
(
default
)
LIBTORRENT2_DESC
=
Version 2.x
(
experimental
)
DEBUG_CONFIGURE_ENABLE
=
debug
DBUS_CONFIGURE_ENABLE
=
qt-dbus
DBUS_USE
=
qt
=
dbus
DEBUG_CMAKE_BOOL
=
debug
DBUS_CMAKE_BOOL
=
DBUS
LIBTORRENT1_BUILD_DEPENDS
=
libtorrent-rasterbar>0:net-p2p/libtorrent-rasterbar
LIBTORRENT1_RUN_DEPENDS
=
libtorrent-rasterbar>0:net-p2p/libtorrent-rasterbar
...
...
@@ -68,15 +65,9 @@ LIBTORRENT2_EXTRA_PATCHES= ${FILESDIR}/extrapatch-libtorrent-rasterbar2-settings
PYTHON_DESC
=
Install Python to support some plugin functionality
PYTHON_USES
=
python:run
post-patch-PYTHON-on
:
@${
REINPLACE_CMD
}
-e
's|"python3"|"
${
PYTHON_CMD
}
"|'
${
WRKSRC
}
/src/base/utils/foreignapps.cpp
PYTHON_BINARY_ALIAS
=
python3
=
${
PYTHON_CMD
}
post-install
:
@${
STRIP_CMD
}
${
STAGEDIR
}${
PREFIX
}
/bin/qbittorrent
${
SUFFIX
}
${
INSTALL_MAN
}
${
WRKSRC
}
/doc/qbittorrent
${
SUFFIX
}
.1
\
${
STAGEDIR
}${
MAN1PREFIX
}
/man/man1/
@${
RM
}
-r
${
STAGEDIR
}${
PREFIX
}
/share/man
.if
${FLAVOR}
==
nox
@${MKDIR}
${STAGEDIR}/var/db/qbittorrent/conf
${STAGEDIR}/var/db/qbittorrent/Downloads
.
endif
...
...
This diff is collapsed.
Click to expand it.
net-p2p/qbittorrent/pkg-plist
+
1
−
1
View file @
2c18c2a2
bin/qbittorrent
man/man1/qbittorrent.1.gz
share/applications/org.qbittorrent.qBittorrent.desktop
share/icons/hicolor/128x128/apps/qbittorrent.png
share/icons/hicolor/128x128/status/qbittorrent-tray.png
...
...
@@ -27,4 +26,5 @@ share/icons/hicolor/scalable/apps/qbittorrent.svg
share/icons/hicolor/scalable/status/qbittorrent-tray-dark.svg
share/icons/hicolor/scalable/status/qbittorrent-tray-light.svg
share/icons/hicolor/scalable/status/qbittorrent-tray.svg
share/man/man1/qbittorrent.1.gz
share/metainfo/org.qbittorrent.qBittorrent.appdata.xml
This diff is collapsed.
Click to expand it.
net-p2p/qbittorrent/pkg-plist-nox
+
1
−
1
View file @
2c18c2a2
bin/qbittorrent-nox
man/man1/qbittorrent-nox.1.gz
share/
man/man1/qbittorrent-nox.1.gz
@owner %%USER%%
@group %%GROUP%%
@dir /var/db/qbittorrent/conf
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment