diff options
Diffstat (limited to 'dev-python/sip4-tqt')
-rw-r--r-- | dev-python/sip4-tqt/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sip4-tqt/sip4-tqt-14.1.1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/sip4-tqt/Manifest b/dev-python/sip4-tqt/Manifest index a10e7d87..084b62f5 100644 --- a/dev-python/sip4-tqt/Manifest +++ b/dev-python/sip4-tqt/Manifest @@ -1 +1,2 @@ DIST sip4-tqt-trinity-14.1.0.tar.xz 347792 BLAKE2B 59468b673a334c851905306e93e85bd4e299821ec7767e78cd45eea031aa20efd388d18915a8c31e14bcaf5a9c70b5ca6d5880d5d9ce97e5e2c1774a524ce41f SHA512 202115ad509da0023edeed12d598c9d127179e12d6bb70b19d6599323e31a85ab83bcfa3f3afc5e4309f1ab5c36e5a6c0fb2b796ec76ac05a6a579f97b8d20b2 +DIST sip4-tqt-trinity-14.1.1.tar.xz 347624 BLAKE2B b86ba422544e18ac73b344db30d5f84b2016141b9a012f7c8e2f55c31fb05cf1655437c9090109d76322948a5dfa4c2941a35f30b49f06c6ef441b5d3318e0a4 SHA512 d18a04359b2c342ea46a2902a46e1cef7fdf66d786a6cf7794277ca520a69c625c983dfc68b71a77d9369be496254e753ce5c1ba41a42129f9286648b2c23059 diff --git a/dev-python/sip4-tqt/sip4-tqt-14.1.1.ebuild b/dev-python/sip4-tqt/sip4-tqt-14.1.1.ebuild new file mode 100644 index 00000000..acef063a --- /dev/null +++ b/dev-python/sip4-tqt/sip4-tqt-14.1.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +TRINITY_MODULE_TYPE="dependencies" +PYTHON_COMPAT=( python3_{8..11} ) + +inherit trinity-base-2 python-single-r1 flag-o-matic + +DESCRIPTION="Python/C++ bindings generator runtime library" +HOMEPAGE="https://trinitydesktop.org" +LICENSE="|| ( GPL-2 GPL-3 SIP )" +SLOT="0" +if [[ ${PV} != *9999* ]] ; then + KEYWORDS="~amd64 ~arm64 ~x86" +fi +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + ~x11-libs/tqscintilla-${PV} + ~dev-tqt/tqtinterface-${PV} +" +RDEPEND="${DEPEND}" + +TQTDIR="/usr/tqt3" +BUILD_DIR="${S}" + +src_prepare() { + eapply_user +} + +src_configure() { + local myconf + append-cflags "-I/usr/include/tqt -I/${TQTDIR}/include" + myconf=( + -b "${TDEDIR}/bin" + -e "${TDEDIR}/include" + ) + echo yes | "${EPYTHON}" configure.py "${myconf[@]}" CFLAGS="${CFLAGS}" || die +} + +src_compile() { + emake +} + +src_install() { + emake install DESTDIR="${D}" +} |