mirror of
https://notabug.org/Sages-of-Gensokyo/gensokyo_kappa-overlay
synced 2025-01-18 19:21:13 +01:00
Added qtlua-2.1 lib.
This commit is contained in:
parent
684400a453
commit
358d202043
3
dev-qt/qtlua/Manifest
Normal file
3
dev-qt/qtlua/Manifest
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
AUX qt_QFLAGS_5.12.patch 558 BLAKE2B bf6f01ad211c9719f95c66e7093a5ad82f450d9155855613918fefbb9c224bc15200874cbfd8e1488b778f8f57e826fdf5c5a0250fde819ad4b8cbc50160bf9c SHA512 ff4f8efbfbe44f7b5714a94f4712ce36a665848aa95273f54bcf2fb23290519a847115bb92372e5ff1a9006e98256eb8dda88e6aeb5fc00ee6be7b4b6e435481
|
||||||
|
DIST libqtlua-2.1.tar.gz 1117631 BLAKE2B 0d77cd4cd3c254c5f032968b744eb825897fe3990dc28a76aca14ce7a0815eb665126ff840304da2fae4d2a0bf80d438fe1893003bf3f236b9c829e190156949 SHA512 7eade2a206190bb00aa4ec51ec1c5ffe1fe3993bf02c72e49262f7f6a249d84b25006811e844eb74abb4c94ca897af0dc28261845fde13e13d53336e5914b965
|
||||||
|
EBUILD qtlua-2.1.ebuild 628 BLAKE2B 56562cb58fdd5cf8cf81767aa6d01b6af2a147ab93d86076c2d29103e93212faa97657ee94c82c77a46d839daa10b651071067829ab12a9c50b0a405fbaddc55 SHA512 906e041f7c4908f506b7280b8403f94bbce602ec606719d981e75929d46f23a74f3271272440f673e49451d5f4fce8f87823ee8599004512ecf1c7e2da6539f1
|
12
dev-qt/qtlua/files/qt_QFLAGS_5.12.patch
Normal file
12
dev-qt/qtlua/files/qt_QFLAGS_5.12.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -ruN libqtlua-2.1/src/qtluatabletreemodel.cc libqtlua-2.1-new/src/qtluatabletreemodel.cc
|
||||||
|
--- libqtlua-2.1/src/qtluatabletreemodel.cc 2013-03-18 00:14:27.000000000 +0100
|
||||||
|
+++ libqtlua-2.1-new/src/qtluatabletreemodel.cc 2019-11-25 21:02:09.424920320 +0100
|
||||||
|
@@ -223,7 +223,7 @@
|
||||||
|
|
||||||
|
TableTreeKeys *t = static_cast<TableTreeKeys*>(index.internalPointer());
|
||||||
|
|
||||||
|
- Qt::ItemFlags res = (Qt::ItemFlag)(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
|
||||||
|
+ QFlags<Qt::ItemFlag> res = Qt::ItemIsEnabled | Qt::ItemIsSelectable;
|
||||||
|
|
||||||
|
if (t->_attr & Editable)
|
||||||
|
{
|
34
dev-qt/qtlua/qtlua-2.1.ebuild
Normal file
34
dev-qt/qtlua/qtlua-2.1.ebuild
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools libtool
|
||||||
|
|
||||||
|
DESCRIPTION="Add lua scripting to Qt programs."
|
||||||
|
HOMEPAGE="http://www.nongnu.org/libqtlua/"
|
||||||
|
MY_AUTHOR="Alexandre Becoulet"
|
||||||
|
SRC_URI="http://download.savannah.nongnu.org/releases/libqtlua/libqtlua-${PV}.tar.gz"
|
||||||
|
|
||||||
|
PATCHES="${FILESDIR}/qt_QFLAGS_5.12.patch"
|
||||||
|
S="${WORKDIR}/lib${P}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DEPENDS="
|
||||||
|
dev-qt/qtwidgets
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare(){
|
||||||
|
eautoreconf
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
#src_configure ()
|
||||||
|
#{
|
||||||
|
# econf --enable-shared --disable-static --with-gnu-ld --with-pic
|
||||||
|
#
|
||||||
|
#}
|
Loading…
Reference in New Issue
Block a user