summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2001-10-07 08:05:06 +0000
committerDan Armak <danarmak@gentoo.org>2001-10-07 08:05:06 +0000
commitf249605d2f9279403f259b4aeebd63852c2f3992 (patch)
tree576bd7352260ed6a319abe5aeba0053418292c6a
parentreplace a cp command with insinto/doins (diff)
downloadgentoo-2-f249605d2f9279403f259b4aeebd63852c2f3992.tar.gz
gentoo-2-f249605d2f9279403f259b4aeebd63852c2f3992.tar.bz2
gentoo-2-f249605d2f9279403f259b4aeebd63852c2f3992.zip
The new qt moves to live in /usr. Therefore we don't use QTDIR anymore.
-rw-r--r--media-video/avifile/avifile-0.6.0.20010503-r1.ebuild4
-rw-r--r--media-video/avifile/avifile-0.6.0.20011003-r1.ebuild4
-rw-r--r--net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild6
-rw-r--r--x11-libs/qt-x11/files/digest-qt-x11-2.3.1-r12
-rw-r--r--x11-libs/qt-x11/qt-x11-2.3.1-r1.ebuild100
5 files changed, 107 insertions, 9 deletions
diff --git a/media-video/avifile/avifile-0.6.0.20010503-r1.ebuild b/media-video/avifile/avifile-0.6.0.20010503-r1.ebuild
index c98b2ccccf06..bd337c52592b 100644
--- a/media-video/avifile/avifile-0.6.0.20010503-r1.ebuild
+++ b/media-video/avifile/avifile-0.6.0.20010503-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.6.0.20010503-r1.ebuild,v 1.1 2001/10/06 15:30:16 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.6.0.20010503-r1.ebuild,v 1.2 2001/10/07 08:05:06 danarmak Exp $
S=${WORKDIR}/${PN}-0.6.0
DESCRIPTION="Library for AVI-Files"
@@ -10,7 +10,7 @@ SRC_URI="http://www.directfb.org/download/contrib/${P}.tar.gz
HOMEPAGE="http://divx.euro.ru/"
-DEPEND="virtual/glibc qt? ( >=x11-libs/qt-x11-2.2.2 ) >=media-libs/libsdl-1.1.5 app-arch/unzip"
+DEPEND="virtual/glibc qt? ( >=x11-libs/qt-x11-2.3.1-r1 ) >=media-libs/libsdl-1.1.5 app-arch/unzip"
RDEPEND="virtual/glibc qt? ( >=x11-libs/qt-x11-2.2.2 ) >=media-libs/libsdl-1.1.5"
src_unpack() {
diff --git a/media-video/avifile/avifile-0.6.0.20011003-r1.ebuild b/media-video/avifile/avifile-0.6.0.20011003-r1.ebuild
index 7e6a4b9a6309..f23981bfb6a6 100644
--- a/media-video/avifile/avifile-0.6.0.20011003-r1.ebuild
+++ b/media-video/avifile/avifile-0.6.0.20011003-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.6.0.20011003-r1.ebuild,v 1.1 2001/10/06 15:30:16 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/avifile/avifile-0.6.0.20011003-r1.ebuild,v 1.2 2001/10/07 08:05:06 danarmak Exp $
P=${PN}-0.6.0-20011003
S=${WORKDIR}/${PN}-0.6.0
@@ -23,8 +23,6 @@ src_compile() {
local myconf
if [ -z "`use qt`" ] ; then
myconf="$myconf --disable-qt"
- else
- myconf="$myconf --with-qt-includes=$QTDIR/include --with-qt-libraries=$QTDIR/lib"
fi
if [ "`use nas`" ] ; then
LDFLAGS="-L/usr/X11R6/lib -lXt"
diff --git a/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild b/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild
index 7a16dcdc8b69..ef7d370ab1fc 100644
--- a/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild
+++ b/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
-# $Header: /var/cvsroot/gentoo-x86/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild,v 1.1 2001/10/06 15:30:16 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild,v 1.2 2001/10/07 08:05:06 danarmak Exp $
A=${PN}-snapshot.tar.gz
S=${WORKDIR}/${PN}-snapshot
@@ -17,13 +17,11 @@ src_compile() {
export QTDIR=/opt/qt-embedded
export PATH=$QTDIR/bin:$PATH
export LDFLAGS="-L/usr/lib -lmng -ljpeg"
- myconf="--enable-qt-embedded --enable-static --disable-shared --prefix=/usr/embedded"
+ myconf="--with-qt-dir=$QTDIR --enable-qt-embedded --enable-static --disable-shared --prefix=/usr/embedded"
else
- #export QTDIR=/usr/X11R6/lib/qt
myconf="--prefix=/usr"
fi
try ./configure ${myconf} --host=${CHOST} \
- --with-qt-dir=$QTDIR \
--with-ssl-dir=/usr
try make
diff --git a/x11-libs/qt-x11/files/digest-qt-x11-2.3.1-r1 b/x11-libs/qt-x11/files/digest-qt-x11-2.3.1-r1
new file mode 100644
index 000000000000..80b6a581c27e
--- /dev/null
+++ b/x11-libs/qt-x11/files/digest-qt-x11-2.3.1-r1
@@ -0,0 +1,2 @@
+MD5 54ea141dc13ba9fca00d0202429f6ec9 qt-configs.patch
+MD5 358d6dfbcbdc353b65b5236866b0f3a7 qt-x11-2.3.1.tar.gz
diff --git a/x11-libs/qt-x11/qt-x11-2.3.1-r1.ebuild b/x11-libs/qt-x11/qt-x11-2.3.1-r1.ebuild
new file mode 100644
index 000000000000..f03a681f202d
--- /dev/null
+++ b/x11-libs/qt-x11/qt-x11-2.3.1-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Philippe Namias <pnamias@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-x11/qt-x11-2.3.1-r1.ebuild,v 1.1 2001/10/07 08:05:06 danarmak Exp $
+# note: this is the new revision that installs into /usr
+
+S=${WORKDIR}/qt-${PV}
+DESCRIPTION="QT ${PV}"
+SRC_URI="ftp://ftp.trolltech.com/pub/qt/source/${P}.tar.gz \
+http://www.research.att.com/~leonb/objprelink/qt-configs.patch"
+HOMEPAGE="http://www.trolltech.com/"
+
+DEPEND=">=media-libs/libpng-1.0.9
+ >=media-libs/libmng-1.0.0
+ opengl? ( virtual/opengl virtual/glu )
+ nas? ( >=media-sound/nas-1.4.1 )
+ objprelink? ( dev-util/objprelink )
+ virtual/x11"
+
+export QTDIR=${S}
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}
+ cp configure configure.orig
+ sed -e "s:read acceptance:acceptance=yes:" configure.orig > configure
+ if [ "`use objprelink`" ]
+ then
+ patch -p0 < ${DISTDIR}/qt-configs.patch
+ fi
+}
+
+src_compile() {
+
+ export LDFLAGS="-ldl"
+ local myconf
+
+ if [ -z "`use opengl`" ]
+ then
+ myconf="-no-opengl"
+ fi
+
+ if [ "`use nas`" ]
+ then
+ myconf="${myconf} -system-nas-sound"
+ else
+ myconf="${myconf} -no-nas-sound"
+ fi
+
+ if [ "`use gif`" ]
+ then
+ myconf="${myconf} -gif"
+ fi
+
+ if [ "$DEBUG" ]
+ then
+ myconf="${myconf} -debug"
+ else
+ myconf="${myconf} -release"
+ fi
+
+ SYSCONF_CFLAGS="$CFLAGS" SYSCONF_CXXFLAGS="$CXXFLAGS" \
+ ./configure -sm -thread -system-zlib -system-jpeg ${myconf} \
+ -system-libmng -system-libpng -gif -platform linux-g++ \
+ -ldl -lpthread -no-g++-exceptions || die
+
+ cd ${S}
+ make SYSCONF_CFLAGS="$CFLAGS" SYSCONF_CXXFLAGS="$CXXFLAGS" \
+ symlinks src-moc src-mt sub-src sub-tools || die
+
+ # leave out src-tools for testing !
+}
+
+src_install() {
+
+ QTBASE=/usr
+ cd ${S}
+ into $QTBASE
+ dobin bin/*
+ dolib.so lib/libqt.so.${PV}
+ dolib.so lib/libqt-mt.so.${PV}
+ dolib.so lib/libqutil.so.1.0.0
+ preplib $QTBASE
+ dosym libqt.so.${PV} $QTBASE/lib/libqt.so
+ dosym libqt-mt.so.${PV} $QTBASE/lib/libqt-mt.so
+ dosym libqutil.so.1.0.0 $QTBASE/lib/libqutil.so
+ cd ${S}
+ dodir ${QTBASE}/include
+ cp include/* ${D}${QTBASE}/include/
+ doman doc/man/man3/*
+
+ dodoc ANNOUNCE FAQ LICENSE.QPL MANIFEST PLATFORMS
+ dodoc PORTING README*
+ cp -af ${S}/doc/html ${D}/usr/doc/${P}
+
+}
+
+
+
+