|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
# Copyright 2020 The Trinity Desktop Project
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI="7"
|
|
|
|
|
|
|
|
TRINITY_MODULE_NAME="tdebase"
|
|
|
|
TSM_EXTRACT_ALSO="kicker/ twin/ kdesktop/ klipper/ kxkb/ translations/"
|
|
|
|
inherit trinity-meta-2
|
|
|
|
|
|
|
|
DESCRIPTION="The Trinity Control Center"
|
|
|
|
if [[ ${PV} != *9999* ]] ; then
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
fi
|
|
|
|
|
|
|
|
IUSE="+hwlib ieee1394 logitech-mouse samba +svg +xrandr"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
~trinity-base/kicker-${PV}
|
|
|
|
~trinity-base/libkonq-${PV}
|
|
|
|
~trinity-base/tdelibs-${PV}[xrandr?]
|
|
|
|
x11-libs/libX11
|
|
|
|
x11-libs/libXcursor
|
|
|
|
x11-libs/libXrender
|
|
|
|
ieee1394? ( sys-libs/libraw1394 )
|
|
|
|
logitech-mouse? ( virtual/libusb:0 )
|
|
|
|
samba? ( net-fs/samba )
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}
|
|
|
|
sys-apps/usbutils
|
|
|
|
~trinity-base/kcminit-${PV}
|
|
|
|
~trinity-base/khelpcenter-${PV}
|
|
|
|
~trinity-base/khotkeys-${PV}
|
|
|
|
~trinity-base/tdebase-data-${PV}
|
|
|
|
~trinity-base/tdesu-${PV}
|
|
|
|
svg? ( media-libs/libart_lgpl )
|
|
|
|
"
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local mycmakeargs=(
|
|
|
|
-DWITH_XCURSOR=ON
|
|
|
|
-DWITH_XRENDER=ON
|
|
|
|
-DWITH_USBIDS=/usr/share/misc/usb.ids
|
|
|
|
-DWITH_SAMBA="$(usex samba)"
|
|
|
|
-DWITH_LIBUSB="$(usex logitech-mouse)"
|
|
|
|
-DWITH_LIBRAW1394="$(usex ieee1394)"
|
|
|
|
-DWITH_XRANDR="$(usex xrandr)"
|
|
|
|
-DWITH_TDEHWLIB="$(usex hwlib)"
|
Live ebuilds: More options, fixed dependencies and cleanup.
TQt:
- Add USE for:
xrandr, tablet, tools, glib, mng and fontconfig.
- Get ride of forced -g flag (thanks to @selk).
- Make hiddenvisibility a choice.
- Do not dlopen libGL.
- Less debug if building without debug.
- Build sqlite3 plugin too, if build with sqlite.
- Add -xshape -xkb -xcursor for building.
- Fix dependencies and polish.
General:
- DrKonqi: Add USE for hwlib.
- KControl: Add USE for svg.
- TDM: Add USE for svg and hwlib.
- KSMServer: Add USE for hwlib, remove upower.
- Make hwlib USE flag default option.
- Fix dependencies in general.
- Remove avahi USE mask, because fixed.
TDELibs:
- Add USE for:
svg, pkcs11, elficons, malloc, udisks,
ssl, udevil, systemd, debug, pcre, idn.
- Use shared memory for pixmap loading.
- Depend on ca-certificates only with ssl USE.
- Ebuild polish and cleanup.
- Messages for informations.
- Remove redundant multilib eclass.
- Add back old_udisks, udisks and udevil USE.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
|
|
|
-DWITH_LIBART="$(usex svg)"
|
|
|
|
-DXSCREENSAVER_DIR="/usr/$(get_libdir)/misc/xscreensaver"
|
|
|
|
)
|
|
|
|
|
|
|
|
trinity-meta-2_src_configure
|
|
|
|
}
|