Lines 24-30
HOMEPAGE="https://transmissionbt.com/"
Link Here
|
24 |
# MIT is in several libtransmission/ headers |
24 |
# MIT is in several libtransmission/ headers |
25 |
LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" |
25 |
LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" |
26 |
SLOT="0" |
26 |
SLOT="0" |
27 |
IUSE="appindicator cli debug gtk nls mbedtls qt5 systemd test" |
27 |
IUSE="appindicator cli +daemon debug gtk nls mbedtls qt5 systemd test" |
28 |
RESTRICT="!test? ( test )" |
28 |
RESTRICT="!test? ( test )" |
29 |
|
29 |
|
30 |
ACCT_DEPEND=" |
30 |
ACCT_DEPEND=" |
Lines 85-90
src_configure() {
Link Here
|
85 |
-DENABLE_MAC=OFF |
85 |
-DENABLE_MAC=OFF |
86 |
-DENABLE_WEB=OFF |
86 |
-DENABLE_WEB=OFF |
87 |
-DENABLE_CLI=$(usex cli ON OFF) |
87 |
-DENABLE_CLI=$(usex cli ON OFF) |
|
|
88 |
-DENABLE_DAEMON=$(usex daemon ON OFF) |
88 |
-DENABLE_TESTS=$(usex test ON OFF) |
89 |
-DENABLE_TESTS=$(usex test ON OFF) |
89 |
-DENABLE_NLS=$(usex nls ON OFF) |
90 |
-DENABLE_NLS=$(usex nls ON OFF) |
90 |
|
91 |
|
Lines 116-134
src_configure() {
Link Here
|
116 |
src_install() { |
117 |
src_install() { |
117 |
cmake_src_install |
118 |
cmake_src_install |
118 |
|
119 |
|
119 |
newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon |
120 |
if use daemon; then |
120 |
newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon |
121 |
newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon |
|
|
122 |
newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon |
123 |
if use systemd; then |
124 |
# Service sets Type=notify |
125 |
systemd_dounit daemon/transmission-daemon.service |
126 |
systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf |
127 |
fi |
121 |
|
128 |
|
122 |
if use systemd; then |
129 |
insinto /usr/lib/sysctl.d |
123 |
# Service sets Type=notify |
130 |
doins "${FILESDIR}"/60-transmission.conf |
124 |
systemd_dounit daemon/transmission-daemon.service |
|
|
125 |
systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf |
126 |
fi |
127 |
|
128 |
insinto /usr/lib/sysctl.d |
129 |
doins "${FILESDIR}"/60-transmission.conf |
130 |
|
131 |
|
131 |
newtmpfiles "${FILESDIR}"/transmission-daemon.tmpfiles transmission-daemon.conf |
132 |
newtmpfiles "${FILESDIR}"/transmission-daemon.tmpfiles transmission-daemon.conf |
|
|
133 |
fi |
132 |
} |
134 |
} |
133 |
|
135 |
|
134 |
pkg_postrm() { |
136 |
pkg_postrm() { |
Lines 143-147
pkg_postinst() {
Link Here
|
143 |
xdg_desktop_database_update |
145 |
xdg_desktop_database_update |
144 |
xdg_icon_cache_update |
146 |
xdg_icon_cache_update |
145 |
fi |
147 |
fi |
146 |
tmpfiles_process transmission-daemon.conf |
148 |
if use daemon; then |
|
|
149 |
tmpfiles_process transmission-daemon.conf |
150 |
fi |
147 |
} |
151 |
} |