From bdfb33f653e2cc96b6d25b0a1612e08a74484f79 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 17 Oct 2022 16:26:15 +0100 Subject: dev-util/lxqt-build-tools : add glib patch --- dev-util/lxqt-build-tools/Manifest | 1 + .../files/lxqt-build-tools-glib.patch | 12 ++++++++++ .../lxqt-build-tools-0.11.0-r1.ebuild | 27 ++++++++++++++++++++++ .../md5-cache/dev-util/lxqt-build-tools-0.11.0-r1 | 14 +++++++++++ metadata/pkg_desc_index | 1 + 5 files changed, 55 insertions(+) create mode 100644 dev-util/lxqt-build-tools/Manifest create mode 100644 dev-util/lxqt-build-tools/files/lxqt-build-tools-glib.patch create mode 100644 dev-util/lxqt-build-tools/lxqt-build-tools-0.11.0-r1.ebuild create mode 100644 metadata/md5-cache/dev-util/lxqt-build-tools-0.11.0-r1 diff --git a/dev-util/lxqt-build-tools/Manifest b/dev-util/lxqt-build-tools/Manifest new file mode 100644 index 00000000..485fc0b6 --- /dev/null +++ b/dev-util/lxqt-build-tools/Manifest @@ -0,0 +1 @@ +DIST lxqt-build-tools-0.11.0.tar.xz 25348 BLAKE2B cf342baf8454ea91dfd7a5206b9c1d02737fa5434e8dfdc681218bcc22bd8d7a47fc85acd3d0f54fd75113a32e4440af23f8536e3a87e0051daccfc026e9eef5 SHA512 d421aaf74b13efa3b603b5c8a998bfd6091f5d3c45e0201d64e0c1f12d93c45fdc12d9232b0ac1c98ccf47007560c5814612162d1ac879bb3173bad57164408d diff --git a/dev-util/lxqt-build-tools/files/lxqt-build-tools-glib.patch b/dev-util/lxqt-build-tools/files/lxqt-build-tools-glib.patch new file mode 100644 index 00000000..e8a162ae --- /dev/null +++ b/dev-util/lxqt-build-tools/files/lxqt-build-tools-glib.patch @@ -0,0 +1,12 @@ +diff -Nur a/cmake/find-modules/FindGLIB.cmake b/cmake/find-modules/FindGLIB.cmake +--- a/cmake/find-modules/FindGLIB.cmake 2022-04-16 01:48:16.000000000 +0100 ++++ b/cmake/find-modules/FindGLIB.cmake 2022-10-17 16:24:48.430663006 +0100 +@@ -101,7 +101,7 @@ + elseif (${_component} STREQUAL "gio-unix") + pkg_check_modules(GIO_UNIX gio-unix-2.0) + find_path(GLIB_GIO_UNIX_INCLUDE_DIR +- NAMES gio/gunixfdlist.h ++ NAMES gio/gunixconnection.h + HINTS ${GIO_UNIX_INCLUDEDIR} + PATH_SUFFIXES gio-unix-2.0) + diff --git a/dev-util/lxqt-build-tools/lxqt-build-tools-0.11.0-r1.ebuild b/dev-util/lxqt-build-tools/lxqt-build-tools-0.11.0-r1.ebuild new file mode 100644 index 00000000..667a5478 --- /dev/null +++ b/dev-util/lxqt-build-tools/lxqt-build-tools-0.11.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="LXQt Build Tools" +HOMEPAGE="https://lxqt-project.org/" + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" +else + SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~ppc64 ~riscv x86" +fi + +LICENSE="BSD" +SLOT="0" + +DEPEND=" + >=dev-libs/glib-2.50.0 + >=dev-qt/qtcore-5.15:5 +" +RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${PN}-glib.patch" ) # https://bugs.gentoo.org/835648 diff --git a/metadata/md5-cache/dev-util/lxqt-build-tools-0.11.0-r1 b/metadata/md5-cache/dev-util/lxqt-build-tools-0.11.0-r1 new file mode 100644 index 00000000..0e90fa5c --- /dev/null +++ b/metadata/md5-cache/dev-util/lxqt-build-tools-0.11.0-r1 @@ -0,0 +1,14 @@ +BDEPEND=>=dev-util/ninja-1.8.2 >=dev-util/cmake-3.20.5 +DEFINED_PHASES=compile configure install prepare test +DEPEND=>=dev-libs/glib-2.50.0 >=dev-qt/qtcore-5.15:5 +DESCRIPTION=LXQt Build Tools +EAPI=8 +HOMEPAGE=https://lxqt-project.org/ +INHERIT=cmake +KEYWORDS=amd64 ~arm arm64 ~hppa ~loong ~ppc64 ~riscv x86 +LICENSE=BSD +RDEPEND=>=dev-libs/glib-2.50.0 >=dev-qt/qtcore-5.15:5 +SLOT=0 +SRC_URI=https://github.com/lxqt/lxqt-build-tools/releases/download/0.11.0/lxqt-build-tools-0.11.0.tar.xz +_eclasses_=cmake 44afbf15c35884f7c840470f1cf05d0d flag-o-matic 29a755b1291d64133634d80b0328f153 multilib 5ca4e49abed8e3a2f7b56920eadee157 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 58ec4e54962bf45d065fb95030701514 toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144 xdg-utils ac0e315a3688929e34ac75b139e7349a +_md5_=9f06bf83df0f986509aa4bd74f092f62 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index b9f12278..500b90c4 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -22,6 +22,7 @@ dev-python/sh 1.12.14-r4: Python process launching dev-python/typer 0.2.1-r2: Build great CLIs. Easy to code. Based on Python type hints dev-python/wget 2.2-r2: Python library for downloading from http URLs dev-qt/qt-creator 6.0.0-r1: Lightweight IDE for C++/QML development centering around Qt +dev-util/lxqt-build-tools 0.11.0-r1: LXQt Build Tools gui-libs/display-manager-init 1.1.1-r1: RC init files for starting display and login managers kde-plasma/kinfocenter 5.26.0-r5: Utility providing information about the computer hardware mail-client/mailspring 1.9.2-r1: A beautiful fast and maintained fork of Nylas Mail -- cgit v1.2.3