summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdelibs
diff options
context:
space:
mode:
authorChris <[email protected]>2020-03-20 01:25:50 +0100
committerTDE Gitea <[email protected]>2020-03-20 15:38:10 +0000
commitf5f5c9a3f09bbee2a4f8e842fa4524821a353627 (patch)
treec829f568beb71f0bc77e00cf955c88a926080621 /trinity-base/tdelibs
parent83d74a414ed0bcaa051fa223e06fd6017f58e943 (diff)
downloadtde-packaging-gentoo-f5f5c9a3f09bbee2a4f8e842fa4524821a353627.tar.gz
tde-packaging-gentoo-f5f5c9a3f09bbee2a4f8e842fa4524821a353627.zip
Live ebuilds: Add `acct-group/plugdev` dependency to tdelibs.
Also: - Sync with stable and make `pmount` optionally. - Fix missed `idn` option. - Make `shm` support optionally too. - Fix `utempter` support. Signed-off-by: Chris <[email protected]>
Diffstat (limited to 'trinity-base/tdelibs')
-rw-r--r--trinity-base/tdelibs/tdelibs-9999.ebuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/trinity-base/tdelibs/tdelibs-9999.ebuild b/trinity-base/tdelibs/tdelibs-9999.ebuild
index 2b0dc2f6..a585e41f 100644
--- a/trinity-base/tdelibs/tdelibs-9999.ebuild
+++ b/trinity-base/tdelibs/tdelibs-9999.ebuild
@@ -19,7 +19,7 @@ SLOT="${TRINITY_VER}"
# NOTE: Building without tdehwlib segfaults, but you can try and report.
-IUSE+=" alsa avahi cups consolekit cryptsetup fam jpeg2k lua lzma udevil +svg +idn
+IUSE+=" alsa avahi cups consolekit cryptsetup fam jpeg2k lua lzma udevil +svg +idn +shm
networkmanager openexr pcsc-lite spell sudo tiff utempter elficons +ssl pkcs11 kernel_linux
upower xcomposite +hwlib libressl +xrandr +malloc systemd old_udisks udisks +pcre debug"
@@ -30,13 +30,13 @@ MY_DEPEND="=dev-tqt/tqtinterface-${PV}
media-libs/fontconfig
media-libs/freetype
=dev-libs/dbus-1-tqt-${PV}
- x11-libs/libxshmfence
x11-libs/libXrender
ssl? (
app-misc/ca-certificates
!libressl? ( dev-libs/openssl:= )
libressl? ( dev-libs/libressl:= )
)
+ shm? ( x11-libs/libxshmfence )
idn? ( net-dns/libidn )
pcre? ( dev-libs/libpcre )
svg? ( =media-libs/libart_lgpl-${PV} )
@@ -60,7 +60,8 @@ MY_DEPEND="=dev-tqt/tqtinterface-${PV}
DEPEND+=" ${MY_DEPEND}"
RDEPEND+=" ${MY_DEPEND}
hwlib? (
- sys-apps/pmount
+ acct-group/plugdev
+ !udevil? ( !udisks? ( !old_udisks? ( sys-apps/pmount ) ) )
pcsc-lite? ( sys-apps/pcsc-lite )
pkcs11? ( dev-libs/pkcs11-helper )
cryptsetup? ( sys-fs/cryptsetup )
@@ -78,13 +79,13 @@ src_configure() {
-DTDE_MALLOC="$(usex malloc)"
-DTDE_MALLOC_FULL="$(usex malloc)"
-DTDE_MALLOC_DEBUG="$(usex debug)"
- -DWITH_LIBIDN=ON
- -DWITH_MITSHM=ON
-DWITH_HSPELL=OFF
-DWITH_HAL=OFF
-DWITH_DEVKITPOWER=OFF
-DWITH_OLD_XDG_STD=OFF
-DWITH_KDE4_MENU_SUFFIX=OFF
+ -DWITH_LIBIDN="$(usex idn)"
+ -DWITH_MITSHM="$(usex shm)"
-DWITH_PCRE="$(usex pcre)"
-DWITH_LIBART="$(usex svg)"
-DWITH_SSL="$(usex ssl)"
@@ -109,6 +110,7 @@ src_configure() {
-DWITH_GAMIN="$(usex fam)"
-DWITH_TIFF="$(usex tiff)"
-DWITH_UTEMPTER="$(usex utempter)"
+ -DUTEMPTER_HELPER="/usr/sbin/utempter"
-DWITH_UPOWER="$(usex upower)"
-DWITH_PKCS="$(usex pkcs11)"
-DWITH_CONSOLEKIT="$(usex consolekit)"
@@ -190,4 +192,8 @@ pkg_postinst () {
done
fi
+ if use hwlib; then
+ einfo "Please add your user to the plugdev group to be able"
+ einfo "to use the features of the TDE hwlibdaemons like suspend."
+ fi
}