mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
qtcurve: 1.8.17 & major rework of the PKGBUILD
This commit is contained in:
parent
e84c1749a8
commit
975e308d02
@ -1,41 +1,49 @@
|
|||||||
#
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
||||||
# Apps Packages for Chakra, part of chakra-project.org
|
# contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/qtcurve
|
||||||
#
|
|
||||||
# maintainer abveritas@chakra-project.org
|
|
||||||
# contributor Giuseppe Calà <jiveaxe@gmail.com>
|
|
||||||
|
|
||||||
pkgname=qtcurve
|
pkgbase=qtcurve
|
||||||
pkgver=1.8.14
|
pkgname=('qtcurve-utils' 'qtcurve-kde4') #'qtcurve-gtk2' )
|
||||||
|
pkgver=1.8.17
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
pkgdesc='A configurable set of widget styles for KDE'
|
pkgdesc='A configurable set of widget styles for KDE' #and gtk2
|
||||||
url='http://www.kde-look.org/content/show.php?content=40492'
|
url='https://github.com/QtCurve/qtcurve'
|
||||||
depends=('kde-workspace')
|
depends=('kde-workspace')
|
||||||
makedepends=('cmake' 'automoc4')
|
makedepends=('cmake' 'automoc4' 'qt' 'kde-workspace') #'gtk2')
|
||||||
categories=('system')
|
categories=('system')
|
||||||
source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE4-${pkgver}.tar.bz2"
|
source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
|
||||||
'fix-kwin_decoration-macro.patch')
|
md5sums=('c4f2e9bc296398b42bfc132b88a3b989')
|
||||||
md5sums=('b4d7924806058f39e842ce7ffe47a4f8'
|
|
||||||
'7366e45ef9f24f53a36f87a539a937d6')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/QtCurve-KDE4-${pkgver}"
|
cd $pkgbase-$pkgver
|
||||||
patch -p1 -i "${srcdir}/fix-kwin_decoration-macro.patch"
|
|
||||||
|
|
||||||
cd "${srcdir}"
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ../QtCurve-KDE4-${pkgver} \
|
cmake .. -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DQTC_KWIN=true \
|
-DENABLE_GTK2=false \
|
||||||
-DQTC_STYLE_SUPPORT=true
|
-DENABLE_QT5=false
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package_qtcurve-utils() {
|
||||||
cd "${srcdir}/build"
|
depends=('libx11')
|
||||||
make DESTDIR="${pkgdir}" install
|
cd $pkgbase-$pkgver/build/qtcurve-utils
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package_qtcurve-kde4() {
|
||||||
|
depends=('qtcurve-utils' 'kde-workspace')
|
||||||
|
provides=qtcurve
|
||||||
|
replaces=qtcurve
|
||||||
|
conflicts=qtcurve
|
||||||
|
|
||||||
|
cd $pkgbase-$pkgver/build/qt4
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
cd ../po
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user