Commit 0130753d authored by Andrei Nistor's avatar Andrei Nistor
Browse files

added filelight

parent 67b75d7e
# $Id: PKGBUILD 76153 2010-04-08 13:38:59Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Kritoke <kritoke@gamebox.net>
pkgname=filelight
pkgver=1.9rc3
pkgrel=1
pkgdesc="A KDE program that creates a complex, but data-rich graphical representation of the files and directories on your computer"
arch=('i686' 'x86_64')
url="http://methylblue.com/filelight/"
license=('GPL2')
depends=('kdelibs' 'qimageblitz' 'hicolor-icon-theme')
makedepends=('cmake' 'automoc4')
install=${pkgname}.install
source=("http://www.kde-apps.org/CONTENT/content-files/99561-$pkgname-${pkgver}.tgz"
'kurl.patch')
md5sums=('a75cb50bc0b7238507952fb7d1b8d8a8'
'ab4e31907ccb452b515c5057653526d8')
build() {
cd "${srcdir}"
pushd "${pkgname}-${pkgver}"
patch -p1 < ../../kurl.patch
popd
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install || return 1
}
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
--- a/src/app/mainWindow.cpp
+++ b/src/app/mainWindow.cpp
@@ -222,7 +222,7 @@ inline void MainWindow::slotComboScan()
inline bool MainWindow::slotScanPath(const QString &path)
{
- return slotScanUrl(KUrl::KUrl(path));
+ return slotScanUrl(KUrl(path));
}
bool MainWindow::slotScanUrl(const KUrl &url)
--- a/src/part/radialMap/widget.cpp
+++ b/src/part/radialMap/widget.cpp
@@ -64,7 +64,7 @@ RadialMap::Widget::path() const
KUrl
RadialMap::Widget::url(File const * const file) const
{
- return KUrl::KUrl(file ? file->fullPath() : m_tree->fullPath());
+ return KUrl(file ? file->fullPath() : m_tree->fullPath());
}
void
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment