mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
3f890a5e2e
fix crash on "getSolidDeviceList()" function
51 lines
1.4 KiB
Bash
51 lines
1.4 KiB
Bash
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=tribe-partitionmanager
|
|
pkgver=1358163
|
|
pkgrel=8
|
|
pkgdesc="A KDE utility that allows you to manage disks, partitions, and file systems - Patched for Chakra Live ISO"
|
|
arch=('x86_64')
|
|
url="https://sourceforge.net/projects/partitionman"
|
|
license=('GPL2')
|
|
depends=('kdebase-runtime' 'parted' 'libatasmart')
|
|
makedepends=('cmake' 'automoc4' 'pkg-config' 'svn' 'ntfs-3g')
|
|
optdepends=('e2fsprogs: ext2/3/4 support'
|
|
'xfsprogs: XFS support'
|
|
'jfsutils: JFS support'
|
|
'reiserfsprogs: Reiser support'
|
|
'ntfs-3g: NTFS support'
|
|
'dosfstools: FAT32 support')
|
|
conflict=('partitionmanager')
|
|
install=partitionmanager.install
|
|
options=(debug)
|
|
source=(tribe.patch) # disable-gpt.patch)
|
|
md5sums=('80be08d987fb3edbb769c4b8eba5f59b')
|
|
|
|
#_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager
|
|
_svnmod=partitionmanager-svn
|
|
|
|
build() {
|
|
cd "${srcdir}"
|
|
|
|
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager -r $pkgver $_svnmod
|
|
|
|
msg "SVN checkout done or server timeout"
|
|
msg "Starting make..."
|
|
|
|
cp -r $_svnmod $_svnmod-build
|
|
cd $_svnmod-build
|
|
|
|
patch -p1 < ${srcdir}/tribe.patch
|
|
#patch -p1 < ${srcdir}/disable-gpt.patch
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_UDISKS2=on
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/$_svnmod-build"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|