parent
ffde2042a0
commit
cb75382958
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_TYPE="dependencies"
|
||||||
|
TRINITY_MODULE_NAME="dbus-1-tqt"
|
||||||
|
|
||||||
|
inherit trinity-base-2
|
||||||
|
|
||||||
|
DESCRIPTION="D-BUS TQt bindings"
|
||||||
|
HOMEPAGE="http://trinitydesktop.org/"
|
||||||
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DEPEND="sys-apps/dbus
|
||||||
|
=dev-tqt/tqtinterface-${PV}"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_TYPE="dependencies"
|
||||||
|
TRINITY_MODULE_NAME="dbus-tqt"
|
||||||
|
|
||||||
|
inherit trinity-base-2
|
||||||
|
|
||||||
|
DESCRIPTION="D-BUS TQt bindings"
|
||||||
|
HOMEPAGE="http://trinitydesktop.org/"
|
||||||
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DEPEND="sys-apps/dbus
|
||||||
|
=dev-tqt/tqtinterface-${PV}"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
@ -0,0 +1,291 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
inherit eutils toolchain-funcs
|
||||||
|
|
||||||
|
# Don't use Gentoo mirrors
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
SRCTYPE="free"
|
||||||
|
DESCRIPTION="Trinity's Qt3 toolkit fork - a comprehensive C++ application development framework."
|
||||||
|
HOMEPAGE="http://trinitydesktop.org/"
|
||||||
|
|
||||||
|
SRC_URI="http://www.mirrorservice.org/sites/trinitydesktop.org/trinity/releases/R${PV}/main/dependencies/tqt3-trinity-${PV}.tar.xz"
|
||||||
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||||
|
|
||||||
|
SLOT="3.5"
|
||||||
|
IUSE="cups debug doc examples firebird ipv6 mysql nas nis +opengl postgres styles
|
||||||
|
imext sqlite +xinerama tablet +xrandr glib mng fontconfig +hiddenvisibility"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
virtual/jpeg:=
|
||||||
|
media-libs/freetype
|
||||||
|
media-libs/libpng:=
|
||||||
|
sys-libs/zlib
|
||||||
|
x11-libs/libXft
|
||||||
|
x11-libs/libXcursor
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXmu
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXt
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libSM
|
||||||
|
cups? ( net-print/cups )
|
||||||
|
firebird? ( dev-db/firebird )
|
||||||
|
mysql? ( virtual/mysql )
|
||||||
|
nas? ( media-libs/nas )
|
||||||
|
nis? ( net-libs/libnsl )
|
||||||
|
opengl? ( virtual/opengl virtual/glu )
|
||||||
|
postgres? ( dev-db/postgresql:= )
|
||||||
|
sqlite? ( dev-db/sqlite:= )
|
||||||
|
mng? ( media-libs/libmng )
|
||||||
|
glib? ( dev-libs/glib )
|
||||||
|
fontconfig? ( media-libs/fontconfig )
|
||||||
|
xinerama? ( x11-libs/libXinerama )
|
||||||
|
xrandr? ( x11-libs/libXrandr )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
x11-base/xorg-proto"
|
||||||
|
|
||||||
|
TQTBASE="/usr/tqt3"
|
||||||
|
|
||||||
|
S="${WORKDIR}/tqt3-trinity-${PV}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use imext; then
|
||||||
|
ewarn
|
||||||
|
ewarn "You are going to compile binary imcompatible immodule for TQt. This means"
|
||||||
|
ewarn "you have to recompile everything depending on TQt after you install it."
|
||||||
|
ewarn "Be aware."
|
||||||
|
ewarn
|
||||||
|
ewarn "You can do that with: revdep-rebuild --library 'libtqt-mt.so.3'"
|
||||||
|
ewarn "To use that command, you need to install app-portage/gentoolkit."
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
|
||||||
|
export QTDIR="${S}"
|
||||||
|
|
||||||
|
CXX=$(tc-getCXX)
|
||||||
|
if [[ ${CXX/g++/} != ${CXX} ]]; then
|
||||||
|
PLATCXX="g++"
|
||||||
|
elif [[ ${CXX/icpc/} != ${CXX} ]]; then
|
||||||
|
PLATCXX="icc"
|
||||||
|
else
|
||||||
|
die "Unknown compiler ${CXX}."
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${CHOST} in
|
||||||
|
*-freebsd*|*-dragonfly*)
|
||||||
|
PLATNAME="freebsd" ;;
|
||||||
|
*-openbsd*)
|
||||||
|
PLATNAME="openbsd" ;;
|
||||||
|
*-netbsd*)
|
||||||
|
PLATNAME="netbsd" ;;
|
||||||
|
*-darwin*)
|
||||||
|
PLATNAME="darwin" ;;
|
||||||
|
*-linux-*|*-linux)
|
||||||
|
PLATNAME="linux" ;;
|
||||||
|
*)
|
||||||
|
die "Unknown CHOST, no platform chosen."
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [[ "$CHOST" == *64* && "$PLATCXX" == "g++" ]]; then
|
||||||
|
export PLATFORM="${PLATNAME}-${PLATCXX}-64"
|
||||||
|
else
|
||||||
|
export PLATFORM="${PLATNAME}-${PLATCXX}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Apply user-provided patches
|
||||||
|
eapply_user
|
||||||
|
|
||||||
|
# Do not link with -rpath. See Gentoo bug #75181.
|
||||||
|
find "${S}"/mkspecs -name qmake.conf | xargs \
|
||||||
|
sed -i -e 's:QMAKE_RPATH.*:QMAKE_RPATH =:' || die
|
||||||
|
|
||||||
|
# Make qmake.conf respect our flags and toolchain
|
||||||
|
sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
|
||||||
|
-e 's:QMAKE_CFLAGS\t\t=.*:QMAKE_CFLAGS =:' \
|
||||||
|
-e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
|
||||||
|
-e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \
|
||||||
|
-e "s:\<QMAKE_CC\>.*=.*:QMAKE_CC=$(tc-getCC):" \
|
||||||
|
-e "s:\<QMAKE_CXX\>.*=.*:QMAKE_CXX=$(tc-getCXX):" \
|
||||||
|
-e "s:\<QMAKE_LINK\>.*=.*:QMAKE_LINK=$(tc-getCXX):" \
|
||||||
|
-e "s:\<QMAKE_LINK_SHLIB\>.*=.*:QMAKE_LINK_SHLIB=$(tc-getCXX):" \
|
||||||
|
-e "s:\<QMAKE_STRIP\>.*=.*:QMAKE_STRIP=:" \
|
||||||
|
"${S}/mkspecs/${PLATFORM}/qmake.conf" || die
|
||||||
|
|
||||||
|
# Remove obsolete X11 and OpenGL searchpaths
|
||||||
|
find "${S}"/mkspecs -name qmake.conf | xargs \
|
||||||
|
sed -i -e 's:QMAKE_INCDIR_X11\t=.*:QMAKE_INCDIR_X11\t=:' \
|
||||||
|
-e 's:QMAKE_LIBDIR_X11\t=.*:QMAKE_LIBDIR_X11\t=:' \
|
||||||
|
-e 's:QMAKE_INCDIR_OPENGL\t=.*:QMAKE_INCDIR_OPENGL\t=:' \
|
||||||
|
-e 's:QMAKE_LIBDIR_OPENGL\t=.*:QMAKE_LIBDIR_OPENGL\t=:' || die
|
||||||
|
|
||||||
|
if use hiddenvisibility; then
|
||||||
|
sed -i -e 's:QMAKE_CFLAGS =:QMAKE_CFLAGS = -fvisibility=hidden -fvisibility-inlines-hidden:' \
|
||||||
|
"${S}/mkspecs/${PLATFORM}/qmake.conf" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $(get_libdir) != "lib" ] ; then
|
||||||
|
sed -i -e "s:/lib$:/$(get_libdir):" \
|
||||||
|
"${S}/mkspecs/${PLATFORM}/qmake.conf" || die
|
||||||
|
sed -i -e "s:/usr/lib /lib:/usr/$(get_libdir) /$(get_libdir):" \
|
||||||
|
"${S}/config.tests/unix/"*.test || die
|
||||||
|
sed -i -e "s:/usr/lib /lib:/usr/$(get_libdir) /$(get_libdir):" \
|
||||||
|
"${S}/config.tests/x11/"*.test || die
|
||||||
|
sed -i -e "s:/lib /usr/lib:/$(get_libdir) /usr/$(get_libdir):" \
|
||||||
|
"${S}/config.tests/unix/checkavail" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed -i -e "s:CXXFLAGS.*=:CXXFLAGS=${CXXFLAGS} :" \
|
||||||
|
-e "s:LFLAGS.*=:LFLAGS=${LDFLAGS} :" \
|
||||||
|
"${S}/qmake/Makefile.unix" || die
|
||||||
|
|
||||||
|
# Remove docs from install if we don't need them
|
||||||
|
use doc || sed -i -e '/INSTALLS.*=.*htmldocs/d' \
|
||||||
|
"${S}/src/qt_install.pri" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
export SYSCONF="${D}${TQTBASE}"/etc/settings
|
||||||
|
|
||||||
|
# Let's just allow writing to these directories
|
||||||
|
# during emerge as it makes TQt much happier.
|
||||||
|
addwrite "${TQTBASE}/etc/settings"
|
||||||
|
addwrite "${HOME}/.qt"
|
||||||
|
|
||||||
|
# Common options
|
||||||
|
myconf=" -sm -thread -stl -no-verbose -largefile -no-pch -inputmethod -qt-style-motif"
|
||||||
|
myconf+=" $(echo -{qt-imgfmt-,system-lib}{jpeg,png}) -qt-gif -system-zlib"
|
||||||
|
myconf+=" -platform ${PLATFORM} -xplatform ${PLATFORM}"
|
||||||
|
myconf+=" -xft -xrender -xshape -xkb -xcursor -prefix ${TQTBASE}"
|
||||||
|
myconf+=" -libdir ${TQTBASE}/$(get_libdir) -fast -no-sql-odbc"
|
||||||
|
|
||||||
|
[ "$(get_libdir)" != "lib" ] && myconf+="${myconf} -L/usr/$(get_libdir)"
|
||||||
|
|
||||||
|
# Optional options
|
||||||
|
use cups && myconf+=" -cups" || myconf+=" -no-cups"
|
||||||
|
use debug && myconf+=" -debug" || myconf+=" -release -no-g++-exceptions -no-exceptions"
|
||||||
|
use firebird && myconf+=" -plugin-sql-ibase -I/opt/firebird/include" || myconf+=" -no-sql-ibase"
|
||||||
|
use fontconfig && myconf+=" -lfontconfig"
|
||||||
|
use glib && myconf+=" -glibmainloop" || myconf+=" -no-glibmainloop"
|
||||||
|
use imext && myconf+=" -inputmethod-ext" || myconf+=" -no-inputmethod-ext"
|
||||||
|
use ipv6 && myconf+=" -ipv6" || myconf+=" -no-ipv6"
|
||||||
|
use mng && myconf+=" -qt-imgfmt-mng -system-libmng" || myconf+=" -no-imgfmt-mng"
|
||||||
|
use mysql && myconf+=" -plugin-sql-mysql -I/usr/include/mysql -L/usr/$(get_libdir)/mysql" || myconf+=" -no-sql-mysql"
|
||||||
|
use nas && myconf+=" -system-nas-sound" || myconf+=" -no-nas-sound"
|
||||||
|
use nis && myconf+=" -nis" || myconf+=" -no-nis"
|
||||||
|
use opengl && myconf+=" -enable-module=opengl -no-dlopen-opengl" || myconf+=" -disable-opengl"
|
||||||
|
use postgres && myconf+=" -plugin-sql-psql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server" || myconf+=" -no-sql-psql"
|
||||||
|
# Don't build styles, except requested (Motif is mandatory for TDE)
|
||||||
|
use styles && myconf+=" -plugin-style-cde -plugin-style-compact -plugin-style-motifplus -plugin-style-platinum -plugin-style-sgi -plugin-style-windows" || myconf+=" -no-style-cde -no-style-compact -no-style-motifplus -no-style-platinum -no-style-sgi -no-style-windows"
|
||||||
|
use sqlite && myconf+=" -plugin-sql-sqlite -plugin-sql-sqlite3" || myconf+=" -no-sql-sqlite -no-sql-sqlite3"
|
||||||
|
use tablet && myconf+=" -tablet" || myconf+=" -no-tablet"
|
||||||
|
use xinerama && myconf+=" -xinerama" || myconf+=" -no-xinerama"
|
||||||
|
use xrandr && myconf+=" -xrandr" || myconf+=" -no-xrandr"
|
||||||
|
|
||||||
|
export YACC='byacc -d'
|
||||||
|
tc-export CC CXX
|
||||||
|
export LINK="$(tc-getCXX)"
|
||||||
|
|
||||||
|
einfo ./configure ${myconf}
|
||||||
|
./configure ${myconf} || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# Compile TQt with TQmake and TQmoc
|
||||||
|
emake src-qmake src-moc sub-src
|
||||||
|
|
||||||
|
# Compile TQt plugins (if any selected)
|
||||||
|
emake sub-plugins
|
||||||
|
|
||||||
|
# Point to libs for the tools to build fine too
|
||||||
|
export DYLD_LIBRARY_PATH="${S}/lib:${DYLD_LIBRARY_PATH}"
|
||||||
|
export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}"
|
||||||
|
|
||||||
|
# Compile TQDesigner (TQuic is needed by tdelibs), TQAssistant and friends (msg2tqm, qembed..)
|
||||||
|
emake sub-tools
|
||||||
|
|
||||||
|
# Compile examples and tutorials
|
||||||
|
if use examples; then
|
||||||
|
emake sub-tutorial sub-examples
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Install TQt with all compiled before
|
||||||
|
emake INSTALL_ROOT="${D}" install
|
||||||
|
|
||||||
|
# Fix qmake.conf files
|
||||||
|
find "${D}${TQTBASE}/mkspecs" -name qmake.conf | xargs \
|
||||||
|
sed -i -e "s:\$(QTDIR):${TQTBASE}:" || die
|
||||||
|
|
||||||
|
# Fix pkgconfig location
|
||||||
|
dodir /usr/$(get_libdir)
|
||||||
|
mv "${D}${TQTBASE}/$(get_libdir)/pkgconfig" "${D}/usr/$(get_libdir)/"
|
||||||
|
|
||||||
|
# List all the multilib libdirs
|
||||||
|
local libdirs
|
||||||
|
for alibdir in $(get_all_libdirs); do
|
||||||
|
libdirs="${libdirs}:${TQTBASE}/${alibdir}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Set environment variables
|
||||||
|
cat <<EOF > "${T}"/44tqt3
|
||||||
|
PATH=${TQTBASE}/bin
|
||||||
|
ROOTPATH=${TQTBASE}/bin
|
||||||
|
LDPATH=${libdirs:1}
|
||||||
|
MANPATH=${TQTBASE}/doc/man
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat <<EOF > "${T}"/44-tqt3-revdep
|
||||||
|
SEARCH_DIRS="${TQTBASE}"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
insinto /etc/revdep-rebuild
|
||||||
|
doins "${T}"/44-tqt3-revdep
|
||||||
|
doenvd "${T}"/44tqt3
|
||||||
|
|
||||||
|
if [ "${SYMLINK_LIB}" = "yes" ]; then
|
||||||
|
dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) ${TQTBASE}/lib
|
||||||
|
fi
|
||||||
|
|
||||||
|
keepdir ${TQTBASE}/etc/settings
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
insinto ${TQTBASE}
|
||||||
|
doins -r "${S}"/doc
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install example and tutorial sources
|
||||||
|
if use examples; then
|
||||||
|
find "${S}"/examples "${S}"/tutorial -name Makefile | \
|
||||||
|
xargs sed -i -e "s:${S}:${TQTBASE}:g"
|
||||||
|
|
||||||
|
cp -r "${S}"/examples "${D}"${TQTBASE}/
|
||||||
|
cp -r "${S}"/tutorial "${D}"${TQTBASE}/
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Misc build requirements
|
||||||
|
sed -e "s:${S}:${TQTBASE}:g" \
|
||||||
|
"${S}"/.qmake.cache > "${D}"${TQTBASE}/.qmake.cache
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
echo
|
||||||
|
elog "After rebuilding TQt, it can happen that TQt plugins (such as TQt/TDE styles,"
|
||||||
|
elog "or widgets for the TQt designer) are no longer recognized. If this situation"
|
||||||
|
elog "occurs you should recompile the packages providing these plugins,"
|
||||||
|
elog "and you should also make sure that TQt and its plugins were compiled with the"
|
||||||
|
elog "same version of GCC. Packages that may need to be rebuilt are, for instance,"
|
||||||
|
elog "trinity-base/tdelibs and trinity-base/tdeartwork-styles."
|
||||||
|
echo
|
||||||
|
}
|
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_TYPE="dependencies"
|
||||||
|
TRINITY_MODULE_NAME="tqtinterface"
|
||||||
|
|
||||||
|
inherit trinity-base-2
|
||||||
|
|
||||||
|
DESCRIPTION="Interface and abstraction library for TQt and Trinity"
|
||||||
|
HOMEPAGE="http://trinitydesktop.org/"
|
||||||
|
|
||||||
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DEPEND="=dev-tqt/tqt-${PV}
|
||||||
|
virtual/glu"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
export QTDIR="/usr/tqt3"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DUSE_QT3=ON
|
||||||
|
-DQT_PREFIX_DIR="${QTDIR}"
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
@ -0,0 +1,2 @@
|
|||||||
|
DIST libart-lgpl-trinity-14.0.6.tar.xz 277500 BLAKE2B f5789bf73c6d050ca353d75624253903b966c0a6ec84b5f321721ed4b6b74555411072d526894058924f48ae143f082ac9d10ce63c30783064da358f9f91a7dd SHA512 e8d89d9e94206b7c317c32dc32779f489b174b13bd80302154c2a6693fa7de5a09d67082c67dd0d0843aef7405a6787e3904565fbf442aaf8aec5df4a855016e
|
||||||
|
DIST libart-lgpl-trinity-14.0.7.tar.xz 117088 BLAKE2B 27c173970fc705276150822f7c7de92255464227441afa8113d4e50861164bbc11799b895848d30723018b1e631952ce74a4f66327fd3114f69c78ba09fdb7dc SHA512 37c7af0ce5dba937c7965043ac2fc75ba05545b8f39f0e3cc017d24a8560dcbcc2b069db9511c2267fa9174c26bc755c47a4a6e9adc168cde6760f7cfe1b01fc
|
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_TYPE="dependencies"
|
||||||
|
TRINITY_MODULE_NAME="libart-lgpl"
|
||||||
|
|
||||||
|
inherit trinity-base-2
|
||||||
|
|
||||||
|
DESCRIPTION="A LGPL version of libart maintained by TDE"
|
||||||
|
HOMEPAGE="http://trinitydesktop.org/"
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_TYPE="dependencies"
|
||||||
|
TRINITY_MODULE_NAME="arts"
|
||||||
|
|
||||||
|
inherit trinity-base-2
|
||||||
|
|
||||||
|
set-trinityver
|
||||||
|
|
||||||
|
DESCRIPTION="aRts, the Trinity sound (and all-around multimedia) server/output manager"
|
||||||
|
HOMEPAGE="http://trinitydesktop.org/"
|
||||||
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
IUSE="alsa -artswrappersuid jack mp3 vorbis"
|
||||||
|
SLOT="${TRINITY_VER}"
|
||||||
|
|
||||||
|
DEPEND="=dev-tqt/tqtinterface-${PV}
|
||||||
|
dev-libs/glib
|
||||||
|
media-libs/audiofile
|
||||||
|
mp3? ( media-libs/libmad )
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
vorbis? ( media-libs/libogg media-libs/libvorbis )
|
||||||
|
jack? ( media-sound/jack-audio-connection-kit )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_AUDIOFILE=ON
|
||||||
|
-DWITH_MAD="$(usex mp3)"
|
||||||
|
-DWITH_ALSA="$(usex alsa)"
|
||||||
|
-DWITH_VORBIS="$(usex vorbis)"
|
||||||
|
-DWITH_JACK="$(usex jack)"
|
||||||
|
-DWITH_ESOUND=OFF
|
||||||
|
-DWITH_SNDIO=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-base-2_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
trinity-base-2_src_install
|
||||||
|
|
||||||
|
# Used for realtime priority, but off by default as it is a security hazard
|
||||||
|
use artswrappersuid && chmod u+s "${D}/${TDEDIR}/bin/artswrapper"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if ! use artswrappersuid ; then
|
||||||
|
elog "Run chmod u+s ${TDEDIR}/bin/artswrapper to let artsd use realtime"
|
||||||
|
elog "priority and so avoid possible skips in sound. However, on untrusted systems"
|
||||||
|
elog "this creates the possibility of a DoS attack that'll use 100% cpu at realtime"
|
||||||
|
elog "priority, and so is off by default. See Gentoo bug #7883."
|
||||||
|
elog "Or, you can set the artswrappersuid USE flag to make the ebuild do this."
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity crash handler gives the user feedback if a program crashed"
|
||||||
|
|
||||||
|
IUSE="+hwlib"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="sys-devel/gdb"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_TDEHWLIB="$(usex hwlib)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity tool that generates *.desktop files for well known apps"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Kate is an MDI texteditor."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,26 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="A simple password checker, used by any software in need of user authentication."
|
||||||
|
IUSE="pam"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="pam? ( trinity-base/tdebase-pam )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_SHADOW=ON
|
||||||
|
-DWITH_PAM="$(usex pam)"
|
||||||
|
-DKCHECKPASS_PAM_SERVICE=tde
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="KCMInit - runs startup's initialization for Control Modules."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="x11-libs/libX11
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libXtst"
|
||||||
|
RDEPEND="${DEPEND}"
|
@ -0,0 +1,51 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="The Trinity Control Center"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
IUSE="samba logitech-mouse ieee1394 +svg +hwlib +xrandr "
|
||||||
|
|
||||||
|
DEPEND="x11-libs/libX11
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libXcursor
|
||||||
|
samba? ( net-fs/samba )
|
||||||
|
logitech-mouse? ( virtual/libusb:0 )
|
||||||
|
ieee1394? ( sys-libs/libraw1394 )
|
||||||
|
=trinity-base/tdelibs-${PV}[xrandr?]
|
||||||
|
=trinity-base/libkonq-${PV}
|
||||||
|
=trinity-base/kicker-${PV}"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
sys-apps/usbutils
|
||||||
|
=trinity-base/kcminit-${PV}
|
||||||
|
=trinity-base/tdebase-data-${PV}
|
||||||
|
=trinity-base/tdesu-${PV}
|
||||||
|
=trinity-base/khelpcenter-${PV}
|
||||||
|
=trinity-base/khotkeys-${PV}
|
||||||
|
svg? ( =media-libs/libart_lgpl-${PV} )"
|
||||||
|
|
||||||
|
TSM_EXTRACT_ALSO="kicker/ twin/ kdesktop/ klipper/ kxkb/"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
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)"
|
||||||
|
-DWITH_LIBART="$(usex svg)"
|
||||||
|
-DXSCREENSAVER_DIR="/usr/$(get_libdir)/misc/xscreensaver"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity: graphical DCOP browser/client"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="The part of TDE UI that handles icons, desktop, screensaver etc"
|
||||||
|
IUSE="pam xscreensaver"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
COMMON_DEPEND="x11-libs/libXrender
|
||||||
|
x11-libs/libXcursor
|
||||||
|
=dev-libs/dbus-1-tqt-${PV}
|
||||||
|
=trinity-base/libkonq-${PV}
|
||||||
|
=trinity-base/kcontrol-${PV}
|
||||||
|
xscreensaver? ( x11-libs/libXScrnSaver )"
|
||||||
|
# Requires the desktop background settings module,
|
||||||
|
# so until we separate the kcontrol modules into separate ebuilds :-),
|
||||||
|
# there's a dep here
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
xscreensaver? ( x11-base/xorg-proto x11-misc/xscreensaver )"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
=trinity-base/kcheckpass-${PV}
|
||||||
|
=trinity-base/kdialog-${PV}
|
||||||
|
=trinity-base/konqueror-${PV}
|
||||||
|
pam? ( trinity-base/tdebase-pam )"
|
||||||
|
|
||||||
|
TSM_EXTRACT_ALSO="kcheckpass/"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_XCURSOR=ON
|
||||||
|
-DWITH_XRENDER=ON
|
||||||
|
-DWITH_PAM="$(usex pam)"
|
||||||
|
-DWITH_XSCREENSAVER="$(usex xscreensaver)"
|
||||||
|
-DTDESCREENSAVER_PAM_SERVICE=tde
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="KDialog can be used to show nice dialog boxes from shell scripts"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,14 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity file find utility"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="=trinity-base/libkonq-${PV}"
|
||||||
|
RDEPEND="${DEPEND}"
|
@ -0,0 +1,16 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
TRINITY_SUBMODULE="khelpcenter doc"
|
||||||
|
|
||||||
|
DESCRIPTION="The Trinity help center."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
=trinity-base/tdebase-tdeioslaves-${PV}
|
||||||
|
|| ( www-misc/htdig www-misc/hldig )"
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
need-arts optional
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity hotkey daemon"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="x11-libs/libXtst"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_XTEST=ON
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="The Trinity application starter panel, capable of applets and extensions"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="xcomposite"
|
||||||
|
|
||||||
|
DEPEND="=trinity-base/libkonq-${PV}
|
||||||
|
=trinity-base/tdebase-data-${PV}
|
||||||
|
dev-libs/dbus-tqt
|
||||||
|
xcomposite? ( x11-libs/libXrender
|
||||||
|
x11-libs/libXfixes
|
||||||
|
x11-libs/libXcomposite )"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
=trinity-base/kmenuedit-${PV}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_XFIXES="$(usex xcomposite)"
|
||||||
|
-DWITH_XRENDER="$(usex xcomposite)"
|
||||||
|
-DWITH_XCOMPOSITE="$(usex xcomposite)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="kicker applet for Trinity and X clipboard management"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="x11-libs/libXfixes"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_XFIXES=ON
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity menu editor"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity network wizard"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity: Web browser, file manager, ..."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
IUSE="java"
|
||||||
|
# FIXME: support branding USE flag
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
=trinity-base/libkonq-${PV}"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
=trinity-base/kcontrol-${PV}
|
||||||
|
=trinity-base/tdebase-tdeioslaves-${PV}
|
||||||
|
=trinity-base/kfind-${PV}
|
||||||
|
java? ( virtual/jre )"
|
||||||
|
|
||||||
|
TSM_EXTRACT_ALSO="kdesktop"
|
@ -0,0 +1,30 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="X terminal for use with Trinity."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
IUSE="sudo"
|
||||||
|
|
||||||
|
DEPEND="x11-libs/libX11
|
||||||
|
x11-libs/libXrender"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
sudo? ( app-admin/sudo )
|
||||||
|
x11-apps/bdftopcf
|
||||||
|
=trinity-base/kcontrol-${PV}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_XRENDER=ON
|
||||||
|
-DWITH_SUDO_KONSOLE_SUPER_USER_COMMAND="$(usex sudo)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity Virtual Desktop Overview"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity user settings wizard."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
TSM_EXTRACT_ALSO="libkonq/"
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="A Trinity tool to read KConfig entries - for use in shell scripts"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="A program to grab the current TDE desktop background for xscreensaver."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="The reliable Trinity session manager that talks the standard X11R6"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="upower +hwlib"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
upower? ( =dev-libs/dbus-1-tqt-${PV} ) "
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
upower? ( sys-power/upower ) "
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_UPOWER="$(usex upower)"
|
||||||
|
-DWITH_TDEHWLIB="$(usex hwlib)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity splashscreen framework (of Trinity itself, not of individual apps)"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
IUSE="xinerama"
|
||||||
|
|
||||||
|
DEPEND="xinerama? ( x11-base/xorg-proto )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_XINERAMA="$(usex xinerama)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity utility to launch applications with special window properties"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="A network enabled task manager/system monitor"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="dell-laptop lm-sensors"
|
||||||
|
|
||||||
|
DEPEND="lm-sensors? ( sys-apps/lm-sensors )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_I8K="$(usex dell-laptop)"
|
||||||
|
-DWITH_SENSORS="$(usex lm-sensors)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Ksystraycmd embeds applications given as argument into the system tray."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity tip-of-the-day displayer"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="KControl module to configure and switch keyboard layouts"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="x11-libs/libXtst"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
x11-misc/xkeyboard-config
|
||||||
|
x11-apps/setxkbmap"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_XTEST=ON
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
need-arts optional
|
||||||
|
|
||||||
|
DESCRIPTION="The embeddable part of konqueror"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,15 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Netscape plugins support for Konqueror."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="x11-libs/libXt
|
||||||
|
dev-libs/glib"
|
||||||
|
RDEPEND="${DEPEND}"
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdeartwork"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="EmotIcons (icons for things like smilies :-) for Trinity"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdeartwork"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Themes for IceWM from the tdeartwork package."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
=trinity-base/tdeartwork-twin-styles-${PV}"
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "For more IceWM themes, install x11-themes/icewm-extra-themes"
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdeartwork"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Icon themes for Trinity"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
TSM_EXTRACT="IconThemes/"
|
@ -0,0 +1,14 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdeartwork"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="kworldclock from tdeartwork"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
=trinity-base/kworldclock-${PV}"
|
@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
inherit trinity-functions-2
|
||||||
|
|
||||||
|
set-trinityver
|
||||||
|
|
||||||
|
DESCRIPTION="tdeartwork meta package - merge this to pull in all tdeartwork-derived packages"
|
||||||
|
HOMEPAGE="http://www.trinitydesktop.org/"
|
||||||
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
SLOT="${TRINITY_VER}"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
=trinity-base/tdeartwork-emoticons-${PV}
|
||||||
|
=trinity-base/tdeartwork-icon-themes-${PV}
|
||||||
|
=trinity-base/tdeartwork-icewm-themes-${PV}
|
||||||
|
=trinity-base/tdeartwork-kworldclock-${PV}
|
||||||
|
=trinity-base/tdeartwork-sounds-${PV}
|
||||||
|
=trinity-base/tdeartwork-styles-${PV}
|
||||||
|
=trinity-base/tdeartwork-tdescreensaver-${PV}
|
||||||
|
=trinity-base/tdeartwork-twin-styles-${PV}
|
||||||
|
=trinity-base/tdeartwork-wallpapers-${PV}"
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdeartwork"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Extra sound themes for Trinity"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdeartwork"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Extra styles for Trinity"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdeartwork"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
need-arts optional
|
||||||
|
|
||||||
|
DESCRIPTION="Extra screensavers for Trinity"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
IUSE+=" opengl xscreensaver kclock"
|
||||||
|
|
||||||
|
DEPEND+=" =trinity-base/tdescreensaver-${PV}
|
||||||
|
=trinity-base/krootbacking-${PV}
|
||||||
|
kclock? ( =media-libs/libart_lgpl-${PV} )
|
||||||
|
opengl? ( virtual/opengl )
|
||||||
|
xscreensaver? ( x11-misc/xscreensaver )"
|
||||||
|
RDEPEND+=" ${DEPEND}"
|
||||||
|
|
||||||
|
TSM_EXTRACT_ALSO="FindXscreensaver.cmake"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_LIBART="$(usex kclock)"
|
||||||
|
-DWITH_OPENGL="$(usex opengl)"
|
||||||
|
-DWITH_XSCREENSAVER="$(usex xscreensaver)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdeartwork"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
DESCRIPTION="Window styles for Trinity"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="=trinity-base/twin-${PV}"
|
||||||
|
RDEPEND="${DEPEND}"
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdeartwork"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Wallpapers from Trinity"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
TRINITY_SUBMODULE="l10n pics applnk"
|
||||||
|
|
||||||
|
DESCRIPTION="Icons, localization data and .desktop files from tdebase."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,61 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
inherit trinity-functions-2
|
||||||
|
|
||||||
|
set-trinityver
|
||||||
|
|
||||||
|
DESCRIPTION="tdebase metapackage - merge this to pull in all tdebase-derived packages"
|
||||||
|
HOMEPAGE="http://www.trinitydesktop.org/"
|
||||||
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||||
|
|
||||||
|
SLOT="${TRINITY_VER}"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="=trinity-base/drkonqi-${PV}
|
||||||
|
=trinity-base/kappfinder-${PV}
|
||||||
|
=trinity-base/kate-${PV}
|
||||||
|
=trinity-base/kcheckpass-${PV}
|
||||||
|
=trinity-base/kcminit-${PV}
|
||||||
|
=trinity-base/kcontrol-${PV}
|
||||||
|
=trinity-base/kdcop-${PV}
|
||||||
|
=trinity-base/kdesktop-${PV}
|
||||||
|
=trinity-base/kdialog-${PV}
|
||||||
|
=trinity-base/kfind-${PV}
|
||||||
|
=trinity-base/khelpcenter-${PV}
|
||||||
|
=trinity-base/khotkeys-${PV}
|
||||||
|
=trinity-base/kicker-${PV}
|
||||||
|
=trinity-base/klipper-${PV}
|
||||||
|
=trinity-base/kmenuedit-${PV}
|
||||||
|
=trinity-base/knetattach-${PV}
|
||||||
|
=trinity-base/konqueror-${PV}
|
||||||
|
=trinity-base/konsole-${PV}
|
||||||
|
=trinity-base/kpager-${PV}
|
||||||
|
=trinity-base/kpersonalizer-${PV}
|
||||||
|
=trinity-base/kreadconfig-${PV}
|
||||||
|
=trinity-base/krootbacking-${PV}
|
||||||
|
=trinity-base/ksmserver-${PV}
|
||||||
|
=trinity-base/ksplashml-${PV}
|
||||||
|
=trinity-base/kstart-${PV}
|
||||||
|
=trinity-base/ksysguard-${PV}
|
||||||
|
=trinity-base/ksystraycmd-${PV}
|
||||||
|
=trinity-base/ktip-${PV}
|
||||||
|
=trinity-base/kxkb-${PV}
|
||||||
|
=trinity-base/libkonq-${PV}
|
||||||
|
=trinity-base/nsplugins-${PV}
|
||||||
|
=trinity-base/tdebase-data-${PV}
|
||||||
|
=trinity-base/tdebase-starttde-${PV}
|
||||||
|
=trinity-base/tdebase-tdeioslaves-${PV}
|
||||||
|
=trinity-base/tdedebugdialog-${PV}
|
||||||
|
=trinity-base/tdeeject-${PV}
|
||||||
|
=trinity-base/tdeinit-${PV}
|
||||||
|
=trinity-base/tdepasswd-${PV}
|
||||||
|
=trinity-base/tdeprint-${PV}
|
||||||
|
=trinity-base/tdescreensaver-${PV}
|
||||||
|
=trinity-base/tdesu-${PV}
|
||||||
|
=trinity-base/tdm-${PV}
|
||||||
|
=trinity-base/tqt3integration-${PV}
|
||||||
|
=trinity-base/twin-${PV}"
|
@ -0,0 +1,82 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Starttde script, which starts a complete Trinity session, and associated scripts"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="x11-apps/xmessage
|
||||||
|
x11-apps/xsetroot
|
||||||
|
x11-apps/xset
|
||||||
|
x11-apps/xrandr
|
||||||
|
x11-apps/mkfontscale
|
||||||
|
x11-apps/xprop
|
||||||
|
=trinity-base/kdesktop-${PV}
|
||||||
|
=trinity-base/kcminit-${PV}
|
||||||
|
=trinity-base/ksmserver-${PV}
|
||||||
|
=trinity-base/twin-${PV}
|
||||||
|
=trinity-base/kpersonalizer-${PV}
|
||||||
|
=trinity-base/kreadconfig-${PV}
|
||||||
|
=trinity-base/ksplashml-${PV}
|
||||||
|
=trinity-base/tdeinit-${PV}"
|
||||||
|
|
||||||
|
TSM_EXTRACT="starttde README.pam INSTALL AUTHORS COPYING COPYING-DOCS tdm"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
trinity-base-2_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
echo -n "";
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# List all the multilib libdirs
|
||||||
|
local _libdir _libdirs
|
||||||
|
for _libdir in $(get_all_libdirs); do
|
||||||
|
_libdirs="${_libdirs}:${TDEDIR}/${_libdir}"
|
||||||
|
done
|
||||||
|
_libdirs=${_libdirs#:}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# starttde script
|
||||||
|
exeinto "${TDEDIR}/bin"
|
||||||
|
doexe starttde
|
||||||
|
#doexe r14-xdg-update
|
||||||
|
#doexe migratekde3
|
||||||
|
|
||||||
|
# startup and shutdown scripts
|
||||||
|
exeinto "${TDEDIR}/env"
|
||||||
|
doexe "${FILESDIR}/agent-startup.sh"
|
||||||
|
|
||||||
|
exeinto "${TDEDIR}/shutdown"
|
||||||
|
doexe "${FILESDIR}/agent-shutdown.sh"
|
||||||
|
|
||||||
|
# x11 session script
|
||||||
|
cat <<EOF > "${T}/tde-${SLOT}"
|
||||||
|
#!/bin/sh
|
||||||
|
exec ${TDEDIR}/bin/starttde
|
||||||
|
EOF
|
||||||
|
exeinto /etc/X11/Sessions
|
||||||
|
doexe "${T}/tde-${SLOT}" # FIXME: change script branding to trinity
|
||||||
|
|
||||||
|
# (not really) freedesktop compliant session script
|
||||||
|
sed -e "s:@TDE_BINDIR@:${TDEDIR}/bin:g;s:Name=Trinity:Name=Trinity ${SLOT}:" \
|
||||||
|
"${S}/tdm/kfrontend/sessions/tde.desktop.in" > "${T}/tde-${SLOT}.desktop"
|
||||||
|
insinto /usr/share/xsessions
|
||||||
|
doins "${T}/tde-${SLOT}.desktop"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst () {
|
||||||
|
echo
|
||||||
|
elog "To enable gpg-agent and/or ssh-agent in Trinity sessions,"
|
||||||
|
elog "edit ${TDEDIR}/env/agent-startup.sh and"
|
||||||
|
elog "${TDEDIR}/shutdown/agent-shutdown.sh"
|
||||||
|
echo
|
||||||
|
}
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
TSM_EXTRACT="tdeioslave"
|
||||||
|
|
||||||
|
DESCRIPTION="Generic Trinity TDEIOslaves"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="samba ldap sasl openexr +hwlib"
|
||||||
|
|
||||||
|
DEPEND="x11-libs/libXcursor
|
||||||
|
net-libs/rpcsvc-proto
|
||||||
|
openexr? ( media-libs/openexr )
|
||||||
|
samba? ( net-fs/samba )
|
||||||
|
ldap? ( net-nds/openldap )
|
||||||
|
sasl? ( dev-libs/cyrus-sasl )"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
virtual/ssh
|
||||||
|
=trinity-base/tdeeject-${PV}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_XCURSOR=ON
|
||||||
|
-DWITH_SAMBA="$(usex samba)"
|
||||||
|
-DWITH_LDAP="$(usex ldap)"
|
||||||
|
-DWITH_SASL="$(usex sasl)"
|
||||||
|
-DWITH_OPENEXR="$(usex openexr)"
|
||||||
|
-DWITH_TDEHWLIB="$(usex hwlib)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="A Trinity dialog box for setting preferences for debug output."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,15 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity eject frontend"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="=trinity-base/kdialog-${PV}"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
virtual/eject"
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity init binary replacing some functions of the starttde script"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,217 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdelibs"
|
||||||
|
|
||||||
|
inherit trinity-base-2 multilib
|
||||||
|
|
||||||
|
set-trinityver
|
||||||
|
|
||||||
|
need-arts optional
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity libraries needed by all TDE programs."
|
||||||
|
HOMEPAGE="http://www.trinitydesktop.org/"
|
||||||
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||||
|
|
||||||
|
SLOT="${TRINITY_VER}"
|
||||||
|
|
||||||
|
# NOTE: Building without tdehwlib segfaults, but you can try and report.
|
||||||
|
|
||||||
|
IUSE+=" alsa avahi cups consolekit fam jpeg2k lua lzma +svg +idn +shm elogind
|
||||||
|
networkmanager openexr aspell sudo tiff utempter elficons +ssl kernel_linux
|
||||||
|
upower xcomposite +hwlib libressl +xrandr +malloc systemd old_udisks udisks +pcre debug"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
MY_DEPEND="=dev-tqt/tqtinterface-${PV}
|
||||||
|
dev-libs/libxslt
|
||||||
|
dev-libs/libxml2
|
||||||
|
app-text/ghostscript-gpl
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype
|
||||||
|
=dev-libs/dbus-1-tqt-${PV}
|
||||||
|
x11-libs/libxshmfence
|
||||||
|
x11-libs/libXcursor
|
||||||
|
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} )
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
avahi? ( net-dns/avahi )
|
||||||
|
cups? ( net-print/cups )
|
||||||
|
fam? ( virtual/fam )
|
||||||
|
jpeg2k? ( media-libs/jasper )
|
||||||
|
lua? ( dev-lang/lua:* )
|
||||||
|
openexr? ( media-libs/openexr )
|
||||||
|
aspell? ( app-dicts/aspell-en app-text/aspell )
|
||||||
|
sudo? ( app-admin/sudo )
|
||||||
|
tiff? ( media-libs/tiff:= )
|
||||||
|
utempter? ( sys-libs/libutempter )
|
||||||
|
lzma? ( app-arch/xz-utils )
|
||||||
|
hwlib? ( virtual/libudev:= )
|
||||||
|
xrandr? ( x11-libs/libXrandr )
|
||||||
|
xcomposite? ( x11-libs/libXcomposite )
|
||||||
|
elficons? ( =sys-libs/libr-${PV} )
|
||||||
|
debug? ( sys-libs/binutils-libs:= )"
|
||||||
|
|
||||||
|
DEPEND+=" ${MY_DEPEND}"
|
||||||
|
RDEPEND+=" ${MY_DEPEND}
|
||||||
|
hwlib? (
|
||||||
|
acct-group/plugdev
|
||||||
|
!udisks? ( !old_udisks? ( sys-apps/pmount ) )
|
||||||
|
networkmanager? ( net-misc/networkmanager )
|
||||||
|
consolekit? ( sys-auth/consolekit )
|
||||||
|
upower? ( sys-power/upower )
|
||||||
|
systemd? ( sys-apps/systemd )
|
||||||
|
elogind? ( sys-auth/elogind )
|
||||||
|
old_udisks? ( sys-fs/udisks:0 )
|
||||||
|
udisks? ( sys-fs/udisks:2 )
|
||||||
|
)"
|
||||||
|
|
||||||
|
#Revisit these USE flags and dependencies for 14.0.8
|
||||||
|
#pkcs11 pcsc-lite udevil cryptsetup
|
||||||
|
# pcsc-lite? ( sys-apps/pcsc-lite )
|
||||||
|
# pkcs11? ( dev-libs/pkcs11-helper )
|
||||||
|
# cryptsetup? ( sys-fs/cryptsetup )
|
||||||
|
# udevil? ( sys-apps/udevil )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local enable_logind="OFF"
|
||||||
|
if use systemd || use elogind; then
|
||||||
|
enable_logind="ON"
|
||||||
|
fi
|
||||||
|
|
||||||
|
mycmakeargs=(
|
||||||
|
-DTDE_MALLOC="$(usex malloc)"
|
||||||
|
-DTDE_MALLOC_FULL="$(usex malloc)"
|
||||||
|
-DTDE_MALLOC_DEBUG="$(usex debug)"
|
||||||
|
-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)"
|
||||||
|
-DWITH_LIBBFD="$(usex debug)"
|
||||||
|
-DWITH_ELFICON="$(usex elficons)"
|
||||||
|
-DWITH_TDEHWLIB="$(usex hwlib)"
|
||||||
|
-DWITH_TDEHWLIB_DAEMONS="$(usex hwlib)"
|
||||||
|
-DWITH_UDISKS="$(usex old_udisks)"
|
||||||
|
-DWITH_UDISKS2="$(usex udisks)"
|
||||||
|
-DWITH_ALSA="$(usex alsa)"
|
||||||
|
-DWITH_AVAHI="$(usex avahi)"
|
||||||
|
-DWITH_CUPS="$(usex cups)"
|
||||||
|
-DWITH_INOTIFY="$(usex kernel_linux)"
|
||||||
|
-DWITH_JASPER="$(usex jpeg2k)"
|
||||||
|
-DWITH_LUA="$(usex lua)"
|
||||||
|
-DWITH_LZMA="$(usex lzma)"
|
||||||
|
-DWITH_OPENEXR="$(usex openexr)"
|
||||||
|
-DWITH_ASPELL="$(usex aspell)"
|
||||||
|
-DWITH_GAMIN="$(usex fam)"
|
||||||
|
-DWITH_TIFF="$(usex tiff)"
|
||||||
|
-DWITH_UTEMPTER="$(usex utempter)"
|
||||||
|
-DUTEMPTER_HELPER="/usr/sbin/utempter"
|
||||||
|
-DWITH_UPOWER="$(usex upower)"
|
||||||
|
-DWITH_CONSOLEKIT="$(usex consolekit)"
|
||||||
|
-DWITH_LOGINDPOWER="${enable_logind}"
|
||||||
|
-DWITH_NETWORK_MANAGER_BACKEND="$(usex networkmanager)"
|
||||||
|
-DWITH_XCOMPOSITE="$(usex xcomposite)"
|
||||||
|
-DWITH_XRANDR="$(usex xrandr)"
|
||||||
|
-DWITH_SUDO_TDESU_BACKEND="$(usex sudo)"
|
||||||
|
-DWITH_TDEICONLOADER_DEBUG="$(usex debug)"
|
||||||
|
)
|
||||||
|
|
||||||
|
#These options are not available in this version of the package.
|
||||||
|
#Revisit for 14.0.8.
|
||||||
|
|
||||||
|
# -DWITH_UDEVIL="$(usex udevil)"
|
||||||
|
# -DWITH_CRYPTSETUP="$(usex cryptsetup)"
|
||||||
|
# -DWITH_PCSC="$(usex pcsc-lite)"
|
||||||
|
# -DWITH_PKCS="$(usex pkcs11)"
|
||||||
|
|
||||||
|
trinity-base-2_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
trinity-base-2_src_install
|
||||||
|
|
||||||
|
if use ssl; then
|
||||||
|
# Make TDE to use our system certificates
|
||||||
|
rm -f "${D}"${TDEDIR}/share/apps/kssl/ca-bundle.crt || die
|
||||||
|
dosym /etc/ssl/certs/ca-certificates.crt ${TDEDIR}/share/apps/kssl/ca-bundle.crt
|
||||||
|
fi
|
||||||
|
|
||||||
|
dodir /etc/env.d
|
||||||
|
# TDE expects that the install path is listed first in TDEDIRS and the user
|
||||||
|
# directory (implicitly added) is the last entry. Doing otherwise breaks
|
||||||
|
# certain functionality. Do not break this (once again *sigh*), but read the code.
|
||||||
|
# TDE saves the installed path implicitly and so this is not needed, /usr
|
||||||
|
# is set in ${TDEDIR}/share/config/kdeglobals and so TDEDIRS is not needed.
|
||||||
|
|
||||||
|
# List all the multilib libdirs
|
||||||
|
local libdirs pkgconfigdirs
|
||||||
|
for libdir in $(get_all_libdirs); do
|
||||||
|
libdirs="${TDEDIR}/${libdir}:${libdirs}"
|
||||||
|
done
|
||||||
|
|
||||||
|
cat <<EOF >"${D}/etc/env.d/45trinitypaths-${SLOT}" # number goes down with version upgrade
|
||||||
|
PATH=${TDEDIR}/bin
|
||||||
|
ROOTPATH=${TDEDIR}/sbin:${TDEDIR}/bin
|
||||||
|
LDPATH=${libdirs#:}
|
||||||
|
MANPATH=${TDEDIR}/share/man
|
||||||
|
CONFIG_PROTECT="${TDEDIR}/share/config ${TDEDIR}/env ${TDEDIR}/shutdown /usr/share/config"
|
||||||
|
XDG_DATA_DIRS="${TDEDIR}/share"
|
||||||
|
PKG_CONFIG_PATH="${TDEDIR}/$(get_libdir)/pkgconfig"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Make sure the target for the revdep-rebuild stuff exists. Fixes bug 184441.
|
||||||
|
dodir /etc/revdep-rebuild
|
||||||
|
|
||||||
|
cat <<EOF >"${D}/etc/revdep-rebuild/50-trinity-${SLOT}"
|
||||||
|
SEARCH_DIRS="${TDEDIR}/bin ${TDEDIR}/lib*"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
trinity-base-2_create_tmp_docfiles
|
||||||
|
trinity-base-2_install_docfiles
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst () {
|
||||||
|
if use sudo; then
|
||||||
|
einfo "Remember that the sudo use flag sets only the default superuser command."
|
||||||
|
einfo "It can be overriden on a user-level by adding:"
|
||||||
|
einfo " [super-user-command]"
|
||||||
|
einfo " super-user-command=su"
|
||||||
|
einfo "to the kdeglobals config file, which is usually"
|
||||||
|
einfo "located in the ~/.trinity/share/config/ directory."
|
||||||
|
fi
|
||||||
|
if use malloc; then
|
||||||
|
einfo "You have build TDE with its own malloc implementation."
|
||||||
|
einfo "That might result in better memory use for you when using TDE."
|
||||||
|
einfo "But it could also result in a slightly different performance."
|
||||||
|
einfo "With Gentoo you are free to choose what works better for you."
|
||||||
|
einfo "If you remove the malloc USE flag, GLIBC's malloc will be used."
|
||||||
|
fi
|
||||||
|
if ! use hwlib; then
|
||||||
|
for flag in consolekit networkmanager upower systemd old_udisks udisks udevil; do
|
||||||
|
use $flag && \
|
||||||
|
ewarn "USE=\"$flag\" is passed, but it doesn't change anything because" && \
|
||||||
|
ewarn "$flag support in ${P} takes effect only if the TDE hwlib is enabled."
|
||||||
|
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
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity GUI for passwd"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="=trinity-base/libkonq-${PV}"
|
||||||
|
RDEPEND="${DEPEND}"
|
@ -0,0 +1,17 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity printer queue/device manager"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="cups"
|
||||||
|
|
||||||
|
DEPEND="cups? ( net-print/cups )"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
app-text/enscript
|
||||||
|
app-text/psutils"
|
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity screensaver framework"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="opengl +krootbacking"
|
||||||
|
|
||||||
|
DEPEND="x11-libs/libXt
|
||||||
|
opengl? ( virtual/opengl )
|
||||||
|
krootbacking? ( =trinity-base/krootbacking-${PV} )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure () {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_OPENGL="$(usex opengl)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity gui for su(1) or sudo"
|
||||||
|
IUSE="sudo"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="sudo? ( app-admin/sudo )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure () {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_SUDO_TDESU_BACKEND="$(usex sudo)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst () {
|
||||||
|
if use sudo; then
|
||||||
|
einfo "Remember that the sudo use flag sets only the default superuser command."
|
||||||
|
einfo "It can be overriden on a user-level by adding:"
|
||||||
|
einfo " [super-user-command]"
|
||||||
|
einfo " super-user-command=su"
|
||||||
|
einfo "to the kdeglobals config file which is should be usually"
|
||||||
|
einfo "located in the ~/.trinity/share/config/ directory."
|
||||||
|
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,108 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity login manager, similar to XDM and GDM"
|
||||||
|
|
||||||
|
IUSE="pam xdmcp xcomposite sak +xrandr +hwlib +svg"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="pam? ( trinity-base/tdebase-pam )
|
||||||
|
xdmcp? ( x11-libs/libXdmcp )
|
||||||
|
xcomposite? ( x11-libs/libXcomposite )
|
||||||
|
svg? ( =media-libs/libart_lgpl-${PV} )
|
||||||
|
=trinity-base/tdelibs-${PV}[xrandr?]
|
||||||
|
sys-apps/dbus
|
||||||
|
x11-libs/libXtst
|
||||||
|
=trinity-base/kcontrol-${PV}
|
||||||
|
=dev-libs/dbus-tqt-${PV}"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
=trinity-base/tdepasswd-${PV}
|
||||||
|
x11-apps/xinit
|
||||||
|
x11-apps/xmessage"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
trinity-meta-2_pkg_setup;
|
||||||
|
use sak && TRINITY_SUBMODULE+=" tsak"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_XTEST=ON
|
||||||
|
-DWITH_LIBART="$(usex svg)"
|
||||||
|
-DWITH_SHADOW=ON
|
||||||
|
-DWITH_XCOMPOSITE="$(usex xcomposite)"
|
||||||
|
-DWITH_XDMCP="$(usex xdmcp)"
|
||||||
|
-DWITH_XRANDR="$(usex xrandr)"
|
||||||
|
-DWITH_TDEHWLIB="$(usex hwlib)"
|
||||||
|
-DWITH_PAM="$(usex pam)"
|
||||||
|
-DTDM_PAM_SERVICE=tde
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
|
||||||
|
# Customize the tdmrc configuration
|
||||||
|
sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \
|
||||||
|
"${D}/${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed"
|
||||||
|
|
||||||
|
# Install XSession upstream script seems to be debian-cpecific
|
||||||
|
cp "${FILESDIR}/${P}-xsession.script" "${D}/${TDEDIR}/share/config/tdm/Xsession"
|
||||||
|
sed -i -e "s!@TRINITY_INSTALL_PATH@!${TDEDIR}!" "${D}/${TDEDIR}/share/config/tdm/Xsession" \
|
||||||
|
|| die "sed tdmrc failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# Set the default TDM face icon if it's not already set by the system admin
|
||||||
|
# because this is user-overrideable in that way, it's not in src_install
|
||||||
|
if [ ! -e "${ROOT}${TDEDIR}/share/apps/tdm/faces/.default.face.icon" ]; then
|
||||||
|
mkdir -p "${ROOT}${TDEDIR}/share/apps/tdm/faces"
|
||||||
|
cp "${ROOT}${TDEDIR}/share/apps/tdm/pics/users/default1.png" \
|
||||||
|
"${ROOT}${TDEDIR}/share/apps/tdm/faces/.default.face.icon"
|
||||||
|
fi
|
||||||
|
if [ ! -e "${ROOT}${TDEDIR}/share/apps/tdm/faces/root.face.icon" ]; then
|
||||||
|
mkdir -p "${ROOT}${TDEDIR}/share/apps/tdm/faces"
|
||||||
|
cp "${ROOT}${TDEDIR}/share/apps/tdm/pics/users/root1.png" \
|
||||||
|
"${ROOT}${TDEDIR}/share/apps/tdm/faces/root.face.icon"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use sak; then
|
||||||
|
sak_ok=yes
|
||||||
|
if ! linux_config_exists; then
|
||||||
|
ewarn "Can't check the linux kernel configuration."
|
||||||
|
ewarn "You might have some incompatible options enabled."
|
||||||
|
sak_ok=no
|
||||||
|
else
|
||||||
|
if ! linux_chkconfig_present INPUT_UINPUT; then
|
||||||
|
eerror "You have built tdm with the Secure Attention Key (SAK) feature enabled. "
|
||||||
|
eerror "It requires INPUT_UINPUT support to be enabled in the kernel."
|
||||||
|
eerror "Please enable it:"
|
||||||
|
eerror " CONFIG_INPUT_UINPUT=y"
|
||||||
|
eerror "in /usr/src/linux/.config or"
|
||||||
|
eerror " Device Drivers --->"
|
||||||
|
eerror " Input device support --->"
|
||||||
|
eerror " [*] Miscellaneous devices --->"
|
||||||
|
eerror " <*> User level driver support"
|
||||||
|
sak_ok=no
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [[ "$sak_ok" != yes ]]; then
|
||||||
|
sed -i -e 's:#\?\s*UseSAK=\(true\|false\)\?:UseSak=false:' \
|
||||||
|
"${D}${TDEDIR}/share/config/tdm/tdmrc" || die "sed tdmrc failed"
|
||||||
|
ewarn "SAK feature is disabled. You can enable it yourself by setting UseSAK=true "
|
||||||
|
ewarn "in ${TDEDIR}/share/config/tdm/tdmrc "
|
||||||
|
else
|
||||||
|
ewarn "SAK feature is enabled. You can disable it yourself by setting UseSAK=false"
|
||||||
|
ewarn "in ${TDEDIR}/share/config/tdm/tdmrc "
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2
|
||||||
|
|
||||||
|
DESCRIPTION="Makes TQt-only apps use several TDE dialogs."
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Copyright 2020 The Trinity Desktop Project
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
TRINITY_MODULE_NAME="tdebase"
|
||||||
|
|
||||||
|
inherit trinity-meta-2 eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Trinity window manager"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="xcomposite xrandr xinerama +libconfig +pcre opengl"
|
||||||
|
|
||||||
|
DEPEND="x11-libs/libXext
|
||||||
|
x11-libs/libXfixes
|
||||||
|
x11-libs/libXrender
|
||||||
|
xcomposite? ( x11-libs/libXcomposite )
|
||||||
|
xinerama? ( x11-base/xorg-proto )
|
||||||
|
xrandr? ( x11-libs/libXrandr )
|
||||||
|
libconfig? ( dev-libs/libconfig )
|
||||||
|
opengl? ( virtual/opengl )
|
||||||
|
pcre? ( dev-libs/libpcre[jit] )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mycmakeargs=(
|
||||||
|
-DWITH_XCOMPOSITE="$(usex xcomposite)"
|
||||||
|
-DWITH_XFIXES="$(usex xcomposite)"
|
||||||
|
-DWITH_XRENDER="$(usex xcomposite)"
|
||||||
|
-DWITH_OPENGL="$(usex opengl)"
|
||||||
|
-DWITH_XRANDR="$(usex xrandr)"
|
||||||
|
-DWITH_LIBCONFIG="$(usex libconfig)"
|
||||||
|
-DWITH_PCRE="$(usex pcre)"
|
||||||
|
-DWITH_XINERAMA="$(usex xinerama)"
|
||||||
|
)
|
||||||
|
|
||||||
|
trinity-meta-2_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if ! use xcomposite; then
|
||||||
|
for flag in xrandr xinerama libconfig pcre opengl; do
|
||||||
|
use $flag && \
|
||||||
|
ewarn "USE=\"$flag\" is passed, but it doesn't change anything due to" && \
|
||||||
|
ewarn "$flag support in ${P} take effect only if composite is enabled."
|
||||||
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Reference in new issue