summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /kde-base/perlqt
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'kde-base/perlqt')
-rw-r--r--kde-base/perlqt/Manifest1
-rw-r--r--kde-base/perlqt/files/perlqt-4.10.80-vendor.patch11
-rw-r--r--kde-base/perlqt/metadata.xml15
-rw-r--r--kde-base/perlqt/perlqt-4.14.3.ebuild50
4 files changed, 77 insertions, 0 deletions
diff --git a/kde-base/perlqt/Manifest b/kde-base/perlqt/Manifest
new file mode 100644
index 000000000000..ad855952e978
--- /dev/null
+++ b/kde-base/perlqt/Manifest
@@ -0,0 +1 @@
+DIST perlqt-4.14.3.tar.xz 1811516 SHA256 a05db202fe784380e574e91255ebfc7344df3a5316bb1b35e84c73fc66a7346e SHA512 b888581d15e79e4e8fde625825ee5d925258ebebbe1a8271650996b6e7a83f55bea8fa78c0c15c7414a6ab37bb3be32cc68b855294c33ce437129128b856fe58 WHIRLPOOL 15b18b70ea1e89b61998c8ea9d0e76cad9e11e1a705376b0a867122cf5b07d02c74449e40770fc93c3cc8e840f91577590ae684248c351dc08408b8f98492014
diff --git a/kde-base/perlqt/files/perlqt-4.10.80-vendor.patch b/kde-base/perlqt/files/perlqt-4.10.80-vendor.patch
new file mode 100644
index 000000000000..635428fb260f
--- /dev/null
+++ b/kde-base/perlqt/files/perlqt-4.10.80-vendor.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -38,7 +38,7 @@
+ include (FindPerlMore)
+ string(LENGTH "${PERL_INSTALL_PREFIX}" PERL_INSTALL_PREFIX_LEN)
+ math(EXPR PERL_INSTALL_PREFIX_LEN "${PERL_INSTALL_PREFIX_LEN}+1")
+-string(SUBSTRING ${PERL_SITE_ARCH_DIR} ${PERL_INSTALL_PREFIX_LEN} -1 CUSTOM_PERL_SITE_ARCH_DIR)
++string(SUBSTRING ${PERL_VENDOR_ARCH_DIR} ${PERL_INSTALL_PREFIX_LEN} -1 CUSTOM_PERL_SITE_ARCH_DIR)
+ file(TO_NATIVE_PATH "${CMAKE_INSTALL_PREFIX}/${CUSTOM_PERL_SITE_ARCH_DIR}" CUSTOM_PERL_SITE_ARCH_DIR)
+ set(CUSTOM_PERL_SITE_ARCH_DIR ${CUSTOM_PERL_SITE_ARCH_DIR} CACHE DIR "Custom installation directory for perl binary extension")
+
diff --git a/kde-base/perlqt/metadata.xml b/kde-base/perlqt/metadata.xml
new file mode 100644
index 000000000000..5f0bf26d5551
--- /dev/null
+++ b/kde-base/perlqt/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+<use>
+ <flag name="declarative">Compile bindings for <pkg>dev-qt/qtdeclarative</pkg>.</flag>
+ <flag name="multimedia">Compile bindings for <pkg>dev-qt/qtmultimedia</pkg>.</flag>
+ <flag name="phonon">Compile bindings for Phonon.</flag>
+ <flag name="qimageblitz">Compile bindings for <pkg>media-libs/qimageblitz</pkg>.</flag>
+ <flag name="qscintilla">Compile bindings for <pkg>x11-libs/qscintilla</pkg>.</flag>
+ <flag name="qthelp">Compile bindings for QtHelp from <pkg>dev-qt/qthelp</pkg>.</flag>
+ <flag name="qwt">Compile bindings for <pkg>x11-libs/qwt</pkg>.</flag>
+ <flag name="webkit">Compile bindings for <pkg>dev-qt/qtwebkit</pkg>.</flag>
+</use>
+</pkgmetadata>
diff --git a/kde-base/perlqt/perlqt-4.14.3.ebuild b/kde-base/perlqt/perlqt-4.14.3.ebuild
new file mode 100644
index 000000000000..a1280bc69d76
--- /dev/null
+++ b/kde-base/perlqt/perlqt-4.14.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DECLARATIVE_REQUIRED="optional"
+MULTIMEDIA_REQUIRED="optional"
+OPENGL_REQUIRED="optional"
+QTHELP_REQUIRED="optional"
+KDE_REQUIRED="never"
+VIRTUALX_REQUIRED="test"
+inherit kde4-base
+
+DESCRIPTION="Qt Perl bindings"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="debug phonon qimageblitz qscintilla qwt webkit"
+
+RDEPEND="
+ dev-lang/perl:=
+ dev-perl/List-MoreUtils
+ $(add_kdebase_dep smokeqt 'declarative?,multimedia?,opengl?,phonon?,qimageblitz?,qscintilla?,qthelp?,qwt?,webkit?')
+"
+DEPEND=${RDEPEND}
+
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.10.80-vendor.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_Qt3Support=ON
+ $(cmake-utils_use_disable declarative QtDeclarative)
+ $(cmake-utils_use_disable multimedia QtMultimedia)
+ $(cmake-utils_use_disable opengl QtOpenGL)
+ $(cmake-utils_use_with phonon)
+ $(cmake-utils_use_with qimageblitz QImageBlitz)
+ $(cmake-utils_use_with qscintilla QScintilla)
+ $(cmake-utils_use_disable qthelp QtHelp)
+ $(cmake-utils_use_disable qwt)
+ $(cmake-utils_use_disable webkit QtWebKit)
+ )
+ kde4-base_src_configure
+}
+
+src_test() {
+ PERL5LIB="${BUILD_DIR}/blib/arch:${BUILD_DIR}/blib/lib" kde4-base_src_test
+}