Explorar el Código

Added stable qconf-2.4

Gentoo devs do not like this ebuild w/o obvious reasons. Let it be here
Sergey Ilinykh hace 7 años
padre
commit
470dd62287
Se han modificado 2 ficheros con 42 adiciones y 3 borrados
  1. 2 3
      net-im/psi/psi-9999.ebuild
  2. 40 0
      sys-devel/qconf/qconf-2.4.ebuild

+ 2 - 3
net-im/psi/psi-9999.ebuild

@@ -65,7 +65,7 @@ DEPEND="${RDEPEND}
 	dev-qt/linguist-tools:5
 	virtual/pkgconfig
 	doc? ( app-doc/doxygen )
-	extras? ( >=sys-devel/qconf-2.3 )
+	extras? ( >=sys-devel/qconf-2.4 )
 "
 PDEPEND="
 	crypt? ( app-crypt/qca[gpg] )
@@ -192,8 +192,7 @@ src_install() {
 	l10n_for_each_locale_do install_locale
 }
 
-pkg_postinst()
-{
+pkg_postinst() {
 	gnome2_icon_cache_update
 	xdg_desktop_database_update
 }

+ 40 - 0
sys-devel/qconf/qconf-2.4.ebuild

@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+DESCRIPTION="./configure like generator for qmake-based projects"
+HOMEPAGE="https://github.com/psi-plus/qconf"
+SRC_URI="http://psi-im.org/files/qconf/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+IUSE=""
+
+# There is no one to one match to autotools-based configure
+QA_CONFIGURE_OPTIONS=".*"
+
+RDEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+	econf \
+		--qtdir="$(qt5_get_libdir)/qt5" \
+		--extraconf=QMAKE_STRIP= \
+		--verbose
+
+	# just to set all the Gentoo toolchain flags
+	eqmake5
+}
+
+src_install() {
+	emake INSTALL_ROOT="${D}" install
+	einstalldocs
+	dodoc -r examples
+}