update tribe and partition manager for staging

This commit is contained in:
Weng Xuetian 2014-10-28 00:15:40 +00:00
parent 9b8de1b541
commit fa13883831
3 changed files with 785 additions and 647 deletions

View File

@ -1,39 +1,38 @@
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=partitionmanager
pkgver=1358163
pkgrel=2
epoch=1
pkgver=1.1.0
pkgrel=1
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"
pkgdesc="A KDE utility that allows you to manage disks, partitions, and file systems"
license=('GPL2')
depends=('kdebase-runtime' 'parted' 'libatasmart')
makedepends=('cmake' 'automoc4' 'pkgconfig' 'svn')
depends=('kde-runtime' 'parted' 'libatasmart')
makedepends=('cmake' 'automoc4' 'pkg-config' 'ntfs-3g')
optdepends=('e2fsprogs: ext2/3/4 support'
'xfsprogs: XFS support'
'jfsutils: JFS support'
'reiserfsprogs: Reiser support'
'ntfsprogs: NTFS support'
'dosfstools: FAT32 support')
categories=('system')
install=partitionmanager.install
'ntfs-3g: NTFS support'
'dosfstools: FAT32 support'
'btrfs-progs: btrfs support')
conflicts=('tribe-partitionmanager')
provides=('tribe-partitionmanager')
replaces=('tribe-partitionmanager<=1358163-8')
install=partitionmanager.install
options=(debug)
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" tribe.patch) # disable-gpt.patch)
md5sums=('4a752c250fc5c98e22aba1d2ea309bec'
'fae7de6edb04f8b17c31ed594a9a9b8e')
#_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/extragear/sysadmin/partitionmanager
_svnmod=partitionmanager-svn
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/tribe.patch
}
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
cd ${pkgname}-${pkgver}
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_UDISKS2=on
@ -41,8 +40,7 @@ build() {
}
package() {
cd "${srcdir}/$_svnmod-build"
make DESTDIR="${pkgdir}" install
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +1,13 @@
pkgname=tribe
pkgver=2014.09
_rls_notes=20140922
pkgrel=9
pkgrel=10
_codename=Euler
pkgdesc="Tribe - Chakra LiveCD Installer"
url="http://git.chakra-project.org/chakra/"
license="GPL"
arch=('x86_64')
depends=('kdelibs' 'kdeedu-marble' 'squashfs-tools' 'tribe-partitionmanager'
depends=('kdelibs' 'kdeedu-marble' 'squashfs-tools' 'partitionmanager>=1:1.1.0' 'grub>=2.02.beta2'
'rsync' 'mkinitcpio-nfs-utils' 'ntfs-3g' 'libpwquality')
makedepends=('cmake' 'kde-workspace' 'automoc4')
options=('debug')
@ -35,6 +35,9 @@ build() {
sed -i -e "s~source build/from git~Build: ${pkgver} ($_codename)~g" "src/config-tribe.h.cmake"
sed -i -e "s~code-name~$_codename~g" "scripts/postinstall-functions/01-job-initialize-target"
sed -i -e "s~chakra-version~${pkgver}~g" "scripts/postinstall-functions/01-job-initialize-target"
# temporarily hack on grub, need to merge upstream
sed -i -e "s~--skip-resume~~g" "scripts/postinstall-functions/20-job-install-grub2"
mkdir "$_gitname-build"
cd "$_gitname-build"