diff options
author | Kevin F. Quinn <kevquinn@gentoo.org> | 2006-08-10 10:06:39 +0000 |
---|---|---|
committer | Kevin F. Quinn <kevquinn@gentoo.org> | 2006-08-10 10:06:39 +0000 |
commit | 1d4212232391d956f4b500bb10ccc305db519db3 (patch) | |
tree | 8f3f528fc5a5f600126518cc437bc8f782efbbb1 /sys-apps/qtparted/qtparted-0.4.5.ebuild | |
parent | version bump. fixed argument parsing and help example issue. (#143407) (diff) | |
download | gentoo-2-1d4212232391d956f4b500bb10ccc305db519db3.tar.gz gentoo-2-1d4212232391d956f4b500bb10ccc305db519db3.tar.bz2 gentoo-2-1d4212232391d956f4b500bb10ccc305db519db3.zip |
Revision bump, bug #111026; also resolves bug #101307
(Portage version: 2.1.1_pre4-r4)
Diffstat (limited to 'sys-apps/qtparted/qtparted-0.4.5.ebuild')
-rw-r--r-- | sys-apps/qtparted/qtparted-0.4.5.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/sys-apps/qtparted/qtparted-0.4.5.ebuild b/sys-apps/qtparted/qtparted-0.4.5.ebuild new file mode 100644 index 000000000000..3d1fdbfa6b5a --- /dev/null +++ b/sys-apps/qtparted/qtparted-0.4.5.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/qtparted/qtparted-0.4.5.ebuild,v 1.1 2006/08/10 10:06:39 kevquinn Exp $ + +inherit qt3 multilib autotools + +DESCRIPTION="nice Qt partition tool for Linux" +HOMEPAGE="http://qtparted.sourceforge.net/" +SRC_URI="mirror://sourceforge/qtparted/${P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="jfs ntfs reiserfs xfs gnome kde" # kdeenablefinal" + +DEPEND="$(qt_min_version 3.1) + >=sys-apps/parted-1.6.7 + >=sys-fs/e2fsprogs-1.33 + jfs? ( >=sys-fs/jfsutils-1.1.2 ) + ntfs? ( >=sys-fs/ntfsprogs-1.7.1 ) + reiserfs? ( sys-fs/progsreiserfs ) + xfs? ( >=sys-fs/xfsprogs-2.3.9 )" + +RDEPEND="${DEPEND} + kde? ( || ( kde-base/kdesu kde-base/kdebase ) ) + !kde? ( x11-libs/gksu )" + + +src_unpack() { + unpack ${A} + cd ${S} + # Switch from gksu to kdesu for the KDE desktop. + if use kde; then + use gnome || sed -i -e 's/gksu/kdesu/' debian/menu || + die "sed debian/menu failed" + sed -i -e 's/Exec=/Exec=kdesu /' data/qtparted.desktop || + die "sed data/qtparted.desktop failed" + fi + # Distribution was rigged for unsermake - re-work for normal make, + # and support autotools 2.6 + sed -i -e 's:KDE_AUTOCONF_VERS=\":KDE_AUTOCONF_VERS=\"-2.60 : + s:KDE_AUTOMAKE_VERS=\":KDE_AUTOMAKE_VERS=\"-1.9 :' \ + admin/detect-autoconf.sh || + die "sed admin/detect-autoconf.sh for autoconf/automake failed" + sed -i -e 's:autoconf\*2.5\*:autoconf\*2.5\* | autoconf\*2.6\*: + s:autoheader\*2.5\*:autoheader\*2.5\* | autoheader\*2.6\*:' \ + admin/cvs.sh || + die "sed admin/cvs.sh for autoconf/autoheader failed" + sh admin/cvs.sh dist +} + +src_compile() { + # No need to set --with-qt-dir as it'll be picked up from QTDIR (set by + # qt3.eclass), similarly --with-qt-includes. The library directory + # needs to take account of multilib, however. + econf \ + $(use_enable jfs) \ + $(use_enable ntfs) \ + $(use_enable reiserfs) \ + $(use_enable xfs) \ + --disable-final \ + --enable-labels \ + --with-qt-libraries=${QTDIR}/$(get_libdir) || + die "configure failed" +# $(use_enable kdeenablefinal final) \ + emake || die "make failed" +} + +src_install() { + einstall || die "install failed" + dodoc doc/README doc/README.Debian doc/TODO.txt doc/BUGS doc/DEVELOPER-FAQ +} |