diff options
author | 2012-03-28 16:23:40 +0000 | |
---|---|---|
committer | 2012-03-28 16:23:40 +0000 | |
commit | f4a3dc82a9181beee37d1ee66338426441b85a33 (patch) | |
tree | 1df37b894be8a272411ac8a80b0337476ec624d1 /net-im | |
parent | Remove dev-db/pgaccess mask. Package removed from tree. (diff) | |
download | historical-f4a3dc82a9181beee37d1ee66338426441b85a33.tar.gz historical-f4a3dc82a9181beee37d1ee66338426441b85a33.tar.bz2 historical-f4a3dc82a9181beee37d1ee66338426441b85a33.zip |
Remove old versions inheriting deprecated qt4.eclass. ACK'ed by Nikoli (proxy maintainer).
Package-Manager: portage-2.2.0_alpha96/cvs/Linux x86_64
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/psi/ChangeLog | 9 | ||||
-rw-r--r-- | net-im/psi/psi-0.14-r1.ebuild | 157 | ||||
-rw-r--r-- | net-im/psi/psi-0.14-r2.ebuild | 160 | ||||
-rw-r--r-- | net-im/psimedia/ChangeLog | 9 | ||||
-rw-r--r-- | net-im/psimedia/psimedia-1.0.3-r1.ebuild | 73 | ||||
-rw-r--r-- | net-im/psimedia/psimedia-1.0.3-r2.ebuild | 73 | ||||
-rw-r--r-- | net-im/psimedia/psimedia-1.0.3.ebuild | 67 |
7 files changed, 14 insertions, 534 deletions
diff --git a/net-im/psi/ChangeLog b/net-im/psi/ChangeLog index e8f0e9ce5b11..1cb31aa06296 100644 --- a/net-im/psi/ChangeLog +++ b/net-im/psi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/psi -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.224 2011/12/17 02:14:44 pva Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.225 2012/03/28 16:23:40 pesa Exp $ + + 28 Mar 2012; Davide Pesavento <pesa@gentoo.org> -psi-0.14-r1.ebuild, + -psi-0.14-r2.ebuild: + Remove old versions inheriting deprecated qt4.eclass. ACK'ed by Nikoli (proxy + maintainer). 17 Dec 2011; Peter Volkov <pva@gentoo.org> psi-9999.ebuild: Update upstrem git URL, bug #391947 thank Guillaume Castagnino and Nikoli for diff --git a/net-im/psi/psi-0.14-r1.ebuild b/net-im/psi/psi-0.14-r1.ebuild deleted file mode 100644 index fed4d9a2be10..000000000000 --- a/net-im/psi/psi-0.14-r1.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.14-r1.ebuild,v 1.15 2011/07/24 18:17:18 armin76 Exp $ - -EAPI="2" - -inherit eutils qt4 multilib - -MY_P="${P/_rc/-rc}" - -DESCRIPTION="Qt4 Jabber client, with Licq-like interface" -HOMEPAGE="http://psi-im.org/" -# Langpack: -# http://lists.affinix.com/pipermail/psi-devel-affinix.com/2009-August/008798.html -# Later found his site: http://fs.scs-tsa.de/psi_l10n/ -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 - http://fs.scs-tsa.de/psi_l10n/psi-0.14_langpack_for_packagers_2009-12-02.zip - extras? ( mirror://gentoo/${PN}-extra-patches-r1428.tar.bz2 - mirror://gentoo/${PN}-extra-iconsets-r1428.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~x86-fbsd" -IUSE="crypt dbus debug doc extras jingle spell ssl xscreensaver webkit" -RESTRICT="test" - -LANGS="be cs de fr it ja pl pt_BR ru sl sv ur_PK zh_TW" -for LNG in ${LANGS}; do - IUSE="${IUSE} linguas_${LNG}" - #SRC_URI="${SRC_URI} http://psi-im.org/download/lang/psi_${LNG/ur_PK/ur_pk}.qm" -done - -RDEPEND=">=x11-libs/qt-gui-4.4:4[qt3support,dbus?] - >=x11-libs/qt-qt3support-4.4:4 - >=app-crypt/qca-2.0.2:2 - spell? ( >=app-text/enchant-1.3.0 ) - xscreensaver? ( x11-libs/libXScrnSaver ) - extras? ( webkit? ( x11-libs/qt-webkit ) ) - app-arch/unzip" - -DEPEND="${RDEPEND} - extras? ( sys-devel/qconf ) - doc? ( app-doc/doxygen )" - -PDEPEND="crypt? ( app-crypt/qca-gnupg:2 ) - jingle? ( net-im/psimedia - app-crypt/qca-ossl:2 ) - ssl? ( app-crypt/qca-ossl:2 )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - if use extras; then - # some patches from psi+ project http://code.google.com/p/psi-dev - ewarn "You're about to build heavily patched version of Psi called Psi+." - ewarn "It has really nice features but still is under heavy development." - ewarn "Take a look at homepage for more info: http://code.google.com/p/psi-dev" - ewarn "If you wish to disable some patches just put" - ewarn "MY_EPATCH_EXCLUDE=\"list of patches\"" - ewarn "into /etc/portage/env/${CATEGORY}/${PN} file." - ewarn - ewarn "Note: some patches depend on other. So if you disabled some patch" - ewarn "and other started to fail to apply, you'll have to disable patches" - ewarn "that fail too." - ebeep - - EPATCH_EXCLUDE="${MY_EPATCH_EXCLUDE} - 755-psiplus-fix-application-info-defines.diff - 9999-psiplus-application-info.diff" \ - EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch - sed -e 's/\(^#define PROG_CAPS_NODE \).*/\1"http:\/\/psi-dev.googlecode.com\/caps";/' \ - -e 's:\(^#define PROG_NAME "Psi\):\1+:' \ - -i src/applicationinfo.cpp || die - - qconf || die "Failed to create ./configure." - else - if use webkit; then - ewarn "Webkit support disabled as it is only available in Psi+" - ewarn "(USE='extras' enabled)." - fi - fi - - rm -rf third-party/qca # We use system libraries. -} - -src_configure() { - # unable to use econf because of non-standard configure script - # disable growl as it is a MacOS X extension only - local confcmd="./configure - --prefix=/usr - --qtdir=/usr - --disable-bundled-qca - --disable-growl - $(use dbus || echo '--disable-qdbus') - $(use debug && echo '--debug') - $(use spell || echo '--disable-aspell') - $(use spell || echo '--disable-enchant') - $(use xscreensaver || echo '--disable-xss') - $(use extras && { use webkit && echo '--enable-qtwebkit';} )" - - echo ${confcmd} - ${confcmd} || die "configure failed" - # Makefile is not always created... - [[ ! -f Makefile ]] && die "configure failed" -} - -src_compile() { - eqmake4 - - emake || die "emake failed" - - if use doc; then - cd doc - mkdir -p api # 259632 - make api_public || die "make api_public failed" - fi -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "emake install failed" - rm "${D}"/usr/share/psi/{COPYING,README} - - # this way the docs will be installed in the standard gentoo dir - newdoc iconsets/roster/README README.roster || die - newdoc iconsets/system/README README.system || die - newdoc certs/README README.certs || die - dodoc README || die - - if use doc; then - cd doc - dohtml -r api || die "dohtml failed" - fi - - # install translations - cd "${WORKDIR}" - insinto /usr/share/${PN}/ - local nolangs=true - for LNG in ${LANGS}; do - if use linguas_${LNG}; then - doins ${LNG}/${PN}_${LNG}.qm || die - newins ${LNG}/INFO INFO.${LNG} || die - nolangs=false - fi - done - - # if linguas is empty install all translations - if ${nolangs}; then - for LNG in ${LANGS}; do - doins ${LNG}/${PN}_${LNG}.qm || die - newins ${LNG}/INFO INFO.${LNG} || die - done - fi - - if use extras; then - cp -a "${WORKDIR}"/iconsets/* "${D}"/usr/share/${PN}/iconsets/ || die - fi -} diff --git a/net-im/psi/psi-0.14-r2.ebuild b/net-im/psi/psi-0.14-r2.ebuild deleted file mode 100644 index 2e7b12ea9117..000000000000 --- a/net-im/psi/psi-0.14-r2.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.14-r2.ebuild,v 1.7 2011/10/04 07:11:35 pva Exp $ - -EAPI="2" - -inherit eutils qt4 multilib - -MY_P="${P/_rc/-rc}" - -DESCRIPTION="Qt4 Jabber client, with Licq-like interface" -HOMEPAGE="http://psi-im.org/" -# Langpack: -# http://lists.affinix.com/pipermail/psi-devel-affinix.com/2009-August/008798.html -# Later found his site: http://fs.scs-tsa.de/psi_l10n/ -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 - http://fs.scs-tsa.de/psi_l10n/psi-0.14_langpack_for_packagers_2009-12-02.zip - extras? ( mirror://gentoo/${PN}-extra-patches-r1428.tar.bz2 - mirror://gentoo/${PN}-extra-iconsets-r1428.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm hppa ppc ~ppc64 x86 ~x86-fbsd" -IUSE="crypt dbus debug doc extras jingle spell ssl xscreensaver webkit" -RESTRICT="test" - -LANGS="be cs de fr it ja pl pt_BR ru sl sv ur_PK zh_TW" -for LNG in ${LANGS}; do - IUSE="${IUSE} linguas_${LNG}" - #SRC_URI="${SRC_URI} http://psi-im.org/download/lang/psi_${LNG/ur_PK/ur_pk}.qm" -done - -RDEPEND=">=x11-libs/qt-gui-4.4:4[qt3support,dbus?] - >=x11-libs/qt-qt3support-4.4:4 - >=app-crypt/qca-2.0.2:2 - spell? ( >=app-text/enchant-1.3.0 ) - xscreensaver? ( x11-libs/libXScrnSaver ) - extras? ( webkit? ( x11-libs/qt-webkit ) ) - app-arch/unzip" - -DEPEND="${RDEPEND} - extras? ( sys-devel/qconf ) - doc? ( app-doc/doxygen )" - -PDEPEND="crypt? ( app-crypt/qca-gnupg:2 ) - jingle? ( net-im/psimedia - app-crypt/qca-ossl:2 ) - ssl? ( app-crypt/qca-ossl:2 )" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}/psi-0.14-qt-compat.patch" - epatch "${FILESDIR}/psi-0.14-minizip-detection.patch" - - if use extras; then - # some patches from psi+ project http://code.google.com/p/psi-dev - ewarn "You're about to build heavily patched version of Psi called Psi+." - ewarn "It has really nice features but still is under heavy development." - ewarn "Take a look at homepage for more info: http://code.google.com/p/psi-dev" - ewarn "If you wish to disable some patches just put" - ewarn "MY_EPATCH_EXCLUDE=\"list of patches\"" - ewarn "into /etc/portage/env/${CATEGORY}/${PN} file." - ewarn - ewarn "Note: some patches depend on other. So if you disabled some patch" - ewarn "and other started to fail to apply, you'll have to disable patches" - ewarn "that fail too." - ebeep - - EPATCH_EXCLUDE="${MY_EPATCH_EXCLUDE} - 755-psiplus-fix-application-info-defines.diff - 9999-psiplus-application-info.diff" \ - EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch - sed -e 's/\(^#define PROG_CAPS_NODE \).*/\1"http:\/\/psi-dev.googlecode.com\/caps";/' \ - -e 's:\(^#define PROG_NAME "Psi\):\1+:' \ - -i src/applicationinfo.cpp || die - - qconf || die "Failed to create ./configure." - else - if use webkit; then - ewarn "Webkit support disabled as it is only available in Psi+" - ewarn "(USE='extras' enabled)." - fi - fi - - rm -rf third-party/qca # We use system libraries. -} - -src_configure() { - # unable to use econf because of non-standard configure script - # disable growl as it is a MacOS X extension only - local confcmd="./configure - --prefix=/usr - --qtdir=/usr - --disable-bundled-qca - --disable-growl - $(use dbus || echo '--disable-qdbus') - $(use debug && echo '--debug') - $(use spell || echo '--disable-aspell') - $(use spell || echo '--disable-enchant') - $(use xscreensaver || echo '--disable-xss') - $(use extras && { use webkit && echo '--enable-qtwebkit';} )" - - echo ${confcmd} - ${confcmd} || die "configure failed" - # Makefile is not always created... - [[ ! -f Makefile ]] && die "configure failed" -} - -src_compile() { - eqmake4 - - emake || die "emake failed" - - if use doc; then - cd doc - mkdir -p api # 259632 - make api_public || die "make api_public failed" - fi -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "emake install failed" - rm "${D}"/usr/share/psi/{COPYING,README} - - # this way the docs will be installed in the standard gentoo dir - newdoc iconsets/roster/README README.roster || die - newdoc iconsets/system/README README.system || die - newdoc certs/README README.certs || die - dodoc README || die - - if use doc; then - cd doc - dohtml -r api || die "dohtml failed" - fi - - # install translations - cd "${WORKDIR}" - insinto /usr/share/${PN}/ - local nolangs=true - for LNG in ${LANGS}; do - if use linguas_${LNG}; then - doins ${LNG}/${PN}_${LNG}.qm || die - newins ${LNG}/INFO INFO.${LNG} || die - nolangs=false - fi - done - - # if linguas is empty install all translations - if ${nolangs}; then - for LNG in ${LANGS}; do - doins ${LNG}/${PN}_${LNG}.qm || die - newins ${LNG}/INFO INFO.${LNG} || die - done - fi - - if use extras; then - cp -a "${WORKDIR}"/iconsets/* "${D}"/usr/share/${PN}/iconsets/ || die - fi -} diff --git a/net-im/psimedia/ChangeLog b/net-im/psimedia/ChangeLog index 1b7924607f2c..f5f609c1432f 100644 --- a/net-im/psimedia/ChangeLog +++ b/net-im/psimedia/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/psimedia -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psimedia/ChangeLog,v 1.25 2011/07/12 23:24:34 halcy0n Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/psimedia/ChangeLog,v 1.26 2012/03/28 16:20:06 pesa Exp $ + + 28 Mar 2012; Davide Pesavento <pesa@gentoo.org> -psimedia-1.0.3-r1.ebuild, + -psimedia-1.0.3-r2.ebuild, -psimedia-1.0.3.ebuild: + Remove old versions inheriting deprecated qt4.eclass. ACK'ed by Nikoli (proxy + maintainer). 11 Jul 2011; Mark Loeser <halcy0n@gentoo.org> psimedia-1.0.3-r3.ebuild: Stable for ppc/ppc64; bug #361419 diff --git a/net-im/psimedia/psimedia-1.0.3-r1.ebuild b/net-im/psimedia/psimedia-1.0.3-r1.ebuild deleted file mode 100644 index 5379f9a07cc4..000000000000 --- a/net-im/psimedia/psimedia-1.0.3-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psimedia/psimedia-1.0.3-r1.ebuild,v 1.3 2011/03/31 07:46:45 ssuominen Exp $ - -EAPI="2" - -inherit eutils qt4-r2 multilib - -DESCRIPTION="Psi plugin for voice/video calls" -HOMEPAGE="http://delta.affinix.com/psimedia/" -SRC_URI="http://delta.affinix.com/download/psimedia/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" -IUSE="demo" - -COMMON_DEPEND=">=dev-libs/glib-2.18 - >=media-libs/gstreamer-0.10.22 - >=media-libs/gst-plugins-base-0.10.22 - media-libs/gst-plugins-good - >=dev-libs/liboil-0.3 - >=x11-libs/qt-gui-4.4:4 - >=media-libs/speex-1.2_rc1 -" -RDEPEND="${COMMON_DEPEND} - media-plugins/gst-plugins-speex - >=media-plugins/gst-plugins-vorbis-0.10.22 - >=media-plugins/gst-plugins-theora-0.10.22 - >=media-plugins/gst-plugins-alsa-0.10.22 - >=media-plugins/gst-plugins-ogg-0.10.22 - media-plugins/gst-plugins-v4l2 - media-plugins/gst-plugins-jpeg - !<net-im/psi-0.13_rc1 -" -DEPEND="${COMMON_DEPEND} - dev-util/pkgconfig -" - -src_prepare() { - sed -e '/^TEMPLATE/a CONFIG += ordered' -i psimedia.pro || die - # Don't build demo if we don't need that. - use demo || { sed -e '/^SUBDIRS[[:space:]]*+=[[:space:]]*demo[[:space:]]*$/d;' -i psimedia.pro || die; } - # Remove support for V4L v1 because linux-headers-2.6.38 stopped shipping linux/videodev.h. - epatch "${FILESDIR}"/${P}-linux-headers-2.6.38.patch -} - -src_configure() { - # qconf generaged configure script... - ./configure || die - - eqmake4 -} - -src_install() { - insinto /usr/$(get_libdir)/psi/plugins - doins gstprovider/libgstprovider.so || die - - if use demo; then - exeinto /usr/$(get_libdir)/${PN} - newexe demo/demo ${PN} || die - - # Create /usr/bin/psimedia - cat <<-EOF > "demo/${PN}" - #!/bin/bash - - export PSI_MEDIA_PLUGIN=/usr/$(get_libdir)/psi/plugins/libgstprovider.so - /usr/$(get_libdir)/${PN}/${PN} - EOF - - dobin demo/${PN} || die - fi -} diff --git a/net-im/psimedia/psimedia-1.0.3-r2.ebuild b/net-im/psimedia/psimedia-1.0.3-r2.ebuild deleted file mode 100644 index 4ac49a6f51d5..000000000000 --- a/net-im/psimedia/psimedia-1.0.3-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psimedia/psimedia-1.0.3-r2.ebuild,v 1.3 2011/04/04 23:21:51 jer Exp $ - -EAPI="2" - -inherit eutils qt4-r2 multilib - -DESCRIPTION="Psi plugin for voice/video calls" -HOMEPAGE="http://delta.affinix.com/psimedia/" -SRC_URI="http://delta.affinix.com/download/psimedia/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 ~x86" -IUSE="demo" - -COMMON_DEPEND=">=dev-libs/glib-2.18 - >=media-libs/gstreamer-0.10.22 - >=media-libs/gst-plugins-base-0.10.22 - media-libs/gst-plugins-good - >=dev-libs/liboil-0.3 - >=x11-libs/qt-gui-4.4:4 - >=media-libs/speex-1.2_rc1 -" -RDEPEND="${COMMON_DEPEND} - media-plugins/gst-plugins-speex - >=media-plugins/gst-plugins-vorbis-0.10.22 - >=media-plugins/gst-plugins-theora-0.10.22 - >=media-plugins/gst-plugins-alsa-0.10.22 - >=media-plugins/gst-plugins-ogg-0.10.22 - media-plugins/gst-plugins-v4l2 - media-plugins/gst-plugins-jpeg - !<net-im/psi-0.13_rc1 -" -DEPEND="${COMMON_DEPEND} - dev-util/pkgconfig -" - -src_prepare() { - sed -e '/^TEMPLATE/a CONFIG += ordered' -i psimedia.pro || die - # Don't build demo if we don't need that. - use demo || { sed -e '/^SUBDIRS[[:space:]]*+=[[:space:]]*demo[[:space:]]*$/d;' -i psimedia.pro || die; } - # Remove support for V4L v1 because linux-headers-2.6.38 stopped shipping linux/videodev.h. - epatch "${FILESDIR}"/${P}-linux-headers-2.6.38.patch -} - -src_configure() { - # qconf generated configure script... - ./configure --no-separate-debug-info || die - - eqmake4 -} - -src_install() { - insinto /usr/$(get_libdir)/psi/plugins - doins gstprovider/libgstprovider.so || die - - if use demo; then - exeinto /usr/$(get_libdir)/${PN} - newexe demo/demo ${PN} || die - - # Create /usr/bin/psimedia - cat <<-EOF > "demo/${PN}" - #!/bin/bash - - export PSI_MEDIA_PLUGIN=/usr/$(get_libdir)/psi/plugins/libgstprovider.so - /usr/$(get_libdir)/${PN}/${PN} - EOF - - dobin demo/${PN} || die - fi -} diff --git a/net-im/psimedia/psimedia-1.0.3.ebuild b/net-im/psimedia/psimedia-1.0.3.ebuild deleted file mode 100644 index c5a357c5bb11..000000000000 --- a/net-im/psimedia/psimedia-1.0.3.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/psimedia/psimedia-1.0.3.ebuild,v 1.11 2011/03/31 07:46:45 ssuominen Exp $ - -EAPI="2" - -inherit eutils qt4 multilib - -DESCRIPTION="Psi plugin for voice/video calls" -HOMEPAGE="http://delta.affinix.com/psimedia/" -SRC_URI="http://delta.affinix.com/download/psimedia/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm hppa ppc ppc64 x86" -IUSE="demo" - -DEPEND=">=dev-libs/glib-2.18 - >=media-libs/gstreamer-0.10.22 - >=media-libs/gst-plugins-base-0.10.22 - media-libs/gst-plugins-good - >=dev-libs/liboil-0.3 - x11-libs/qt-core - x11-libs/qt-gui - >=media-libs/speex-1.2_rc1" - -RDEPEND="${DEPEND} - media-plugins/gst-plugins-speex - >=media-plugins/gst-plugins-vorbis-0.10.22 - >=media-plugins/gst-plugins-theora-0.10.22 - >=media-plugins/gst-plugins-alsa-0.10.22 - >=media-plugins/gst-plugins-ogg-0.10.22 - media-plugins/gst-plugins-v4l2 - media-plugins/gst-plugins-jpeg - !<net-im/psi-0.13_rc1 -" - -src_prepare() { - sed -e '/^TEMPLATE/a CONFIG += ordered' -i psimedia.pro || die - # Don't build demo if we don't need that. - use demo || { sed -e '/^SUBDIRS[[:space:]]*+=[[:space:]]*demo[[:space:]]*$/d;' -i psimedia.pro || die; } -} - -src_configure() { - # qconf generaged configure script... - ./configure || die -} - -src_install() { - insinto /usr/$(get_libdir)/psi/plugins - doins gstprovider/libgstprovider.so || die - - if use demo; then - exeinto /usr/$(get_libdir)/${PN} - newexe demo/demo ${PN} || die - - # Create /usr/bin/psimedia - cat <<-EOF > "demo/${PN}" - #!/bin/bash - - export PSI_MEDIA_PLUGIN=/usr/$(get_libdir)/psi/plugins/libgstprovider.so - /usr/$(get_libdir)/${PN}/${PN} - EOF - - dobin demo/${PN} || die - fi -} |