pesa        15/05/26 18:16:23

  Modified:             ChangeLog
  Added:                qtdemo-4.8.7.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0xDADED6B2671CB57D!)

Revision  Changes    Path
1.20                 dev-qt/qtdemo/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtdemo/ChangeLog?rev=1.20&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtdemo/ChangeLog?rev=1.20&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtdemo/ChangeLog?r1=1.19&r2=1.20

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-qt/qtdemo/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog   16 May 2015 11:28:13 -0000      1.19
+++ ChangeLog   26 May 2015 18:16:23 -0000      1.20
@@ -1,6 +1,11 @@
 # ChangeLog for dev-qt/qtdemo
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtdemo/ChangeLog,v 1.19 2015/05/16 
11:28:13 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtdemo/ChangeLog,v 1.20 2015/05/26 
18:16:23 pesa Exp $
+
+*qtdemo-4.8.7 (26 May 2015)
+
+  26 May 2015; Davide Pesavento <[email protected]> +qtdemo-4.8.7.ebuild:
+  Version bump.
 
   16 May 2015; Pacho Ramos <[email protected]> qtdemo-4.8.6-r1.ebuild:
   ppc stable wrt bug #530238



1.1                  dev-qt/qtdemo/qtdemo-4.8.7.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtdemo/qtdemo-4.8.7.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtdemo/qtdemo-4.8.7.ebuild?rev=1.1&content-type=text/plain

Index: qtdemo-4.8.7.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtdemo/qtdemo-4.8.7.ebuild,v 1.1 
2015/05/26 18:16:23 pesa Exp $

EAPI=5
inherit qt4-build-multilib

DESCRIPTION="Demonstration module and examples for the Qt toolkit"

if [[ ${QT4_BUILD_TYPE} == release ]]; then
        KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-macos"
fi

IUSE="dbus declarative kde multimedia opengl openvg phonon webkit xmlpatterns"

DEPEND="
        ~dev-qt/designer-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
        ~dev-qt/qtcore-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
        ~dev-qt/qtgui-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
        ~dev-qt/qthelp-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
        ~dev-qt/qtscript-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
        ~dev-qt/qtsql-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
        ~dev-qt/qtsvg-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
        ~dev-qt/qttest-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
        dbus? ( ~dev-qt/qtdbus-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] )
        declarative? ( 
~dev-qt/qtdeclarative-${PV}[aqua=,debug=,webkit?,${MULTILIB_USEDEP}] )
        multimedia? ( 
~dev-qt/qtmultimedia-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] )
        opengl? ( ~dev-qt/qtopengl-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] )
        openvg? ( ~dev-qt/qtopenvg-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] )
        phonon? (
                kde? ( media-libs/phonon[aqua=,qt4] )
                !kde? ( || ( 
~dev-qt/qtphonon-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] 
media-libs/phonon[aqua=,qt4] ) )
        )
        webkit? ( ~dev-qt/qtwebkit-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] )
        xmlpatterns? ( 
~dev-qt/qtxmlpatterns-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] )
"
RDEPEND="${DEPEND}"

PATCHES=(
        "${FILESDIR}/${PN}-4.6-plugandpaint.patch"
)

QT4_TARGET_DIRECTORIES="
        demos
        examples"

src_prepare() {
        qt4-build-multilib_src_prepare

        # Array mapping USE flags to subdirs
        local flags_subdirs_map=(
                'dbus'
                'declarative:declarative'
                'multimedia:spectrum'
                'opengl:boxes|glhypnotizer'
                'openvg'
                'phonon:mediaplayer'
                'webkit:browser'
                'xmlpatterns'
        )

        # Disable unwanted examples/demos
        for flag in "${flags_subdirs_map[@]}"; do
                if ! use ${flag%:*}; then
                        einfo "Disabling ${flag%:*} examples"
                        sed -i -e "/SUBDIRS += ${flag%:*}/d" \
                                examples/examples.pro || die

                        if [[ ${flag} == *:* ]]; then
                                einfo "Disabling ${flag%:*} demos"
                                sed -i -re "/SUBDIRS \+= demos_(${flag#*:})/d" \
                                        demos/demos.pro || die
                        fi
                fi
        done

        # Remove bogus dependency on qt3support (bug 510042)
        sed -i -e 's/contains(QT_CONFIG, qt3support)://' \
                examples/graphicsview/graphicsview.pro || die
}

multilib_src_configure() {
        local myconf=(
                $(qt_use dbus)
                $(qt_use declarative)
                $(qt_use multimedia) -no-audio-backend
                $(qt_use opengl)
                $(qt_use openvg)
                $(qt_native_use phonon) -no-phonon-backend
                $(qt_use webkit)
                $(qt_use xmlpatterns)
        )
        qt4_multilib_src_configure
}




Reply via email to