summaryrefslogtreecommitdiff
path: root/dev-util/lxqt-build-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-17 16:26:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-17 16:26:15 +0100
commitbdfb33f653e2cc96b6d25b0a1612e08a74484f79 (patch)
treedb8db255ce495ae258c9540fc1e178351db04cfb /dev-util/lxqt-build-tools
parent3c36e760e54c6bf2ed8a669b5de546863f8cf7ee (diff)
dev-util/lxqt-build-tools : add glib patch
Diffstat (limited to 'dev-util/lxqt-build-tools')
-rw-r--r--dev-util/lxqt-build-tools/Manifest1
-rw-r--r--dev-util/lxqt-build-tools/files/lxqt-build-tools-glib.patch12
-rw-r--r--dev-util/lxqt-build-tools/lxqt-build-tools-0.11.0-r1.ebuild27
3 files changed, 40 insertions, 0 deletions
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