Merge branch 'master' of ssh://git.chakraos.org:22/desktop

This commit is contained in:
Neofytos Kolokotronis 2016-03-23 00:25:31 +01:00
commit 1e1801d2a6
22 changed files with 82 additions and 565 deletions

View File

@ -1,27 +0,0 @@
# Desktop Packages for Chakra, part of chakra-project.org
#
# Maintainer: george <george@chakra-project.org>
pkgname=kapudan-kde-themes-caledonia
_theme=caledonia
pkgver=20120822
pkgrel=1
pkgdesc='A pre-configured Caledonia KDE theme for Kapudan.'
arch=('i686' 'x86_64')
url='http://kde-look.org/content/show.php/Caledonia?content=142424'
screenshot='http://i.imgur.com/gjEMP.png'
license=('GPLv2')
depends=('kapudan' 'kde-plasma-themes-caledonia')
source=("${_theme}.png::${screenshot}"
"${_theme}.style")
md5sums=('f50dada9df3bf65915500a914602d0c3'
'3dfbcb9a1533d67874a25f2cd05225ef')
package() {
cd "${srcdir}"
install -dm755 \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kde-themes/"
install -Dm644 "${_theme}."{style,png} \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kde-themes/"
}

View File

@ -1,12 +0,0 @@
[Style]
name = Caledonia
description = A very minimalistic theme, with a panel on the bottom.
panelPosition = 4
widgetStyle = oxygen
colorScheme = Oxygen
desktopTheme = caledonia
thumbnail = caledonia.png
iconTheme = caledonia
windowDecoration = kwin3_oxygen

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

View File

@ -1,45 +0,0 @@
# Maintainer: george <george@chakra-project.org>
pkgname=kapudan
_pkgname=kapudan
pkgver=2015.03
pkgrel=2
pkgdesc="Chakra's desktop greeter, a fork of Pardus's Kaptan."
arch=('x86_64')
url='http://gitorious.org/chakra/kapudan/'
screenshot='http://i.imgur.com/71aU5.png'
license=('GPLv2')
conflicts=('kapudan-git')
depends=('python2' 'kde-baseapps-konsole' 'kde-runtime'
'kdebindings-python2' 'python2-pyqt4' 'python2-xlib'
'python2-imaging' 'xdg-user-dirs' 'ksuperkey')
makedepends=('python2-setuptools' 'git' 'intltool')
optdepends=('octopi-notifier: update notifications'
'clamav: for the security page')
_gitname=kapudan
_gitsha=a4a833b
source=("$pkgname"::"git://gitorious.org/chakra/${_gitname}.git#commit=${_gitsha}")
md5sums=('SKIP')
prepare() {
cd "${srcdir}/${pkgname}"
# move locales to share/locale/kde4 for frameworks compatibility
sed -i 's|share/locale|share/locale/kde4|' -i setup.py
}
package() {
cd "${srcdir}/${pkgname}"
python2 setup.py install --root="${pkgdir}"
install -Dm755 kapudan-rootactions "${pkgdir}/usr/bin/kapudan-rootactions"
install -Dm755 kapudan.desktop "${pkgdir}/usr/share/applications/kapudan.desktop"
install -Dm644 data/kapudan.svgz \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/kapudan.svgz"
install -dm755 \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kde-themes/"
install -Dm644 data/kde-themes/* \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kde-themes/"
install -Dm755 kapudan-autostart.desktop \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/kapudan-autostart.desktop"
install -Dm755 data/ksuperkey.desktop \
"${pkgdir}/usr/share/kde4/apps/kapudan/kapudan/ksuperkey.desktop"
}

View File

@ -1,30 +0,0 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio)
pkgname=kaya
pkgver=0.4
pkgrel=3
pkgdesc="Extensible board game suite containing games such as Chess and Shogi."
arch=('i686' 'x86_64')
url="http://pcapriotti.github.com/kaya/index.html"
license=('GPL2')
depends=('kdebindings-ruby' 'kdelibs>=4' 'ruby' 'ruby-builder')
makedepends=('automoc4' 'cmake')
categories=('games')
source=(http://cloud.github.com/downloads/pcapriotti/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f4a8624b77072c98c66e63aad45b9998')
options=('debug')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}

View File

@ -1,37 +0,0 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdebindings-korundum
_pkgname=korundum
pkgver=${_kdever}
pkgrel=1
pkgdesc="KDE bindings for ruby"
url="http://kde.org/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=("kdebindings-qtruby>=${_kdever}" "kdebindings-smokekde>=${_kdever}")
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}" "boost" "kdepimlibs>=${_kdever}" "kdegraphics-okular>=${_kdever}")
conflicts=('kdebindings-ruby')
groups=("kde" "kdebindings" "kde-uninstall")
provides=('kdebindings-ruby' 'korundum')
replaces=('kdebindings-ruby')
options=('docs' 'debug')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
# patch -p1 -i "${srcdir}/krubypluginfactory.diff"
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
}

View File

@ -1,29 +0,0 @@
--- korundum-4.8.0/src/krubypluginfactory.cpp 2011-07-27 14:37:29.000000000 -0400
+++ korundum-4.8.0/src/krubypluginfactory.cpp 2012-04-29 19:31:30.948990139 -0400
@@ -39,7 +39,7 @@
extern "C" {
extern VALUE rb_load_path;
extern VALUE qt_internal_module;
-void Init_prelude(void);
+// void Init_prelude(void);
}
//
@@ -165,7 +165,7 @@
#if RUBY_VERSION >= 0x10900
VALUE gem = rb_define_module("Gem");
rb_const_set(gem, rb_intern("Enable"), Qtrue);
- Init_prelude();
+// Init_prelude();
#endif
ruby_incpush(QFile::encodeName(program.path()));
@@ -342,7 +342,7 @@
#if RUBY_VERSION >= 0x10900
VALUE gem = rb_define_module("Gem");
rb_const_set(gem, rb_intern("Enable"), Qtrue);
- Init_prelude();
+// Init_prelude();
#endif
ruby_incpush(QFile::encodeName(program.path()));

View File

@ -1,40 +0,0 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../kdeapps.conf
pkgname=kdebindings-qtruby
_pkgname=qtruby
pkgver=${_oldkdever}
pkgrel=2
pkgdesc="Qt bindings for ruby"
url="http://kde.org/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=("kdebindings-smokeqt>=${_oldkdever}" "ruby")
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_oldkdever}")
conflicts=('kdebindings-common')
groups=("kde" "kdebindings" "kde-uninstall")
provides=('qtruby')
options=('docs' 'debug')
source=("$_oldkdemirror/${_pkgname}-$_oldkdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_oldkdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
# RUBY_VERSION_PATCH doesn't exist with ruby 2.1, and this means that cmake tries to parse + ) instead of + somenumber)
sed -i 's/\${RUBY_VERSION_PATCH}/0/g' "${srcdir}/${_pkgname}-${pkgver}"/CMakeLists.txt
}
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
}

View File

@ -1,43 +0,0 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdebindings-smokegen
_pkgname=smokegen
pkgver=${_kdever}
pkgrel=1
pkgdesc='A general purpose C++ parser with a plugin infrastructure'
url='https://projects.kde.org/projects/kde/kdebindings/smoke/smokegen'
arch=('x86_64')
license=('GPL'
'LGPL'
'FDL')
depends=("kde-runtime")
makedepends=('cmake'
'automoc4')
groups=('kde'
'kdebindings'
'kde-uninstall')
provides=('smokegen')
options=('docs'
'!header'
'debug'
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DKDE4_BUILD_TESTS=ON
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
}

View File

@ -1,44 +0,0 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../kdeapps.conf
pkgname=kdebindings-smokekde
_pkgname=smokekde
pkgver=${_oldkdever}
pkgrel=2
pkgdesc="Language independent library for KDE bindings"
url="http://kde.org/"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=("kdebindings-smokeqt>=${_oldkdever}"
"kdepimlibs4>=${_oldkdever}"
"soprano>=2.8.0")
makedepends=('cmake'
'automoc4'
"kdebindings-smokegen>=${_oldkdever}"
"kdegraphics-okular>=${_oldkdever}"
"kdesdk-kate>=${_oldkdever}")
replaces=('kdebindings-common')
groups=("kde" "kdebindings" "kde-uninstall")
provides=('smokekde')
options=('docs' 'debug')
source=("$_oldkdemirror/${_pkgname}-$_oldkdever.tar.xz")
md5sums=('bbda223b9a33fb07c695479cec968fbc')
build() {
cd "${srcdir}"
rm -rf build
mkdir build
cd build
cmake ../smokekde-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}

View File

@ -1,38 +0,0 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdebindings-smokeqt
_pkgname=smokeqt
pkgver=${_kdever}
pkgrel=1
pkgdesc="Language independent library for Qt bindings"
url="http://kde.org/"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=("kde-runtime"
'qimageblitz'
'qscintilla-python2'
'qwt'
"kdebindings-smokegen>=${_kdever}")
groups=("kde" "kdebindings" "kde-uninstall")
provides=('smokeqt')
options=('docs' 'debug')
makedepends=('cmake' 'automoc4')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix}
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
}

View File

@ -4,14 +4,14 @@ source ../kdeapps.conf
pkgname="kdelibs"
arch=('x86_64')
pkgver=${_libsver}
pkgrel=2
pkgrel=3
pkgdesc="KDE Core Libraries"
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
options=('docs' 'debug')
depends=("${_qtpkg}>=${_qtver}" "chakra-common>=${_kdever}"
'shared-mime-info' 'upower' 'udisks2' 'xz' 'enchant' 'jasper' 'openexr' 'giflib' 'strigi' 'libxtst'
'soprano' 'ca-certificates' 'xdg-utils' 'qca' 'polkit-qt4' 'libxss' 'phonon' 'shared-desktop-ontologies'
'ca-certificates' 'xdg-utils' 'qca' 'polkit-qt4' 'libxss' 'phonon' 'shared-desktop-ontologies'
'attica>=0.4.2' 'krb5' 'libxcursor' 'libutempter' 'hicolor-icon-theme' 'libdbusmenu-qt' 'grantlee'
'media-player-info' 'qtwebkit' 'systemd' 'pcre')
makedepends=('pkg-config' 'cmake' 'automoc4' 'intltool' 'avahi' 'libgl' 'aspell' 'hspell' 'shared-mime-info'

View File

@ -1,32 +0,0 @@
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
pkgname=kprinter4
pkgver=10
pkgrel=2
pkgdesc="GUI for printing Postscript files"
arch=('x86_64')
url="https://github.com/credativ/kprinter4"
license=('GPL3')
depends=('kde-runtime' 'ghostscript' 'psutils' 'poster' 'libspectre')
makedepends=('cmake' 'automoc4')
install=kprinter4.install
source=("https://github.com/credativ/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('3b45beabadbfef48f7106e5ac3896e80')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=Debug ..
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}

View File

@ -1,11 +0,0 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View File

@ -1,47 +0,0 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="nepomuk-core"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=2
pkgdesc="The core Nepomuk system"
url="http://www.kde.org"
license=('GPL'
'LGPL'
'FDL')
options=('docs'
'!header'
'debug'
'log')
depends=("kdelibs>=${_kdever}"
'poppler-qt'
'ffmpeg'
'shared-desktop-ontologies>=0.11.0'
'ebook-tools')
makedepends=('pkg-config'
'cmake'
'automoc4'
'doxygen')
source=($_mirror/${pkgname}-$_kdever.tar.xz)
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
build() {
cd ${pkgname}-${pkgver}
rm -rf build
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
}

View File

@ -1,44 +0,0 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="nepomuk-widgets"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc="Widgets for Nepomuk"
url="http://www.kde.org"
license=('GPL'
'LGPL'
'FDL')
options=('docs'
'!header'
'debug'
'log')
depends=("kdelibs>=${_kdever}"
"nepomuk-core>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4'
'doxygen')
source=($_mirror/${pkgname}-$_kdever.tar.xz)
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
build() {
cd ${pkgname}-${pkgver}
rm -rf build
mkdir -p build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
}

View File

@ -1,42 +0,0 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor Michael Kutschall <michaelkutschall@web.de>
pkgname=nepoogle
pkgver=1.0.2
pkgrel=1
pkgdesc="A search utility for Nepomuk inspired in Google's search syntax."
arch=('any')
url="http://kde-apps.org/content/show.php/Nepoogle?content=145505"
screenshot="http://opendesktop.org/CONTENT/content-pre2/145505-2.jpeg"
license=('GPL')
depends=('kdebindings-python2')
#source=("http://kde-apps.org/CONTENT/content-files/145505-nepoogle_v$pkgver.tar.gz")
source=("https://github.com/serantes/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('1ecb8ba1acad767c656645418b8eafb6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./build.py nepoogle nepooglev1
}
package() {
#install the icons
for i in 32 48 128; do
install -dm755 ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/status/
done
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/icons/rating_{empty,half,full}.png ${pkgdir}/usr/share/icons/hicolor/32x32/status/
for i in 1 2 3 4 5 6 7 8; do
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/icons/orientation_${i}.png ${pkgdir}/usr/share/icons/hicolor/48x48/status/
done
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/icons/no_{cover,photo,symbol,video_thumbnail}.png ${pkgdir}/usr/share/icons/hicolor/128x128/status/
#install the binary
install -dm744 ${pkgdir}/usr/{bin/,share/applications/}
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/nepoogle ${pkgdir}/usr/bin/
#install the .desktop file
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/nepoogle.desktop ${pkgdir}/usr/share/applications/
}

View File

@ -1,24 +0,0 @@
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
# Contributor from Arch: cromo <dawid@klej.net>
pkgname=poster
pkgver=20060221
pkgrel=1
pkgdesc="Scales or tiles a postscript image to print on multiple pages"
arch=('x86_64')
#url="http://printing.kde.org/downloads/"
url='http://directory.fsf.org/wiki/Poster'
license=('GPL')
source=(ftp://ftp.kde.org/pub/kde/printing/$pkgname.tar.bz2)
md5sums=('04b421e2ce516a44b6c5a9a092dfa623')
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -D -m755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -D -m644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
}

View File

@ -2,15 +2,14 @@
_pkgname=QupZilla
pkgname='qupzilla'
pkgver=1.9.90
_commit=a16c21b
pkgrel=1
pkgver=1.8.9
pkgrel=5
pkgdesc="A very fast open source browser based on WebKit core"
url="http://www.qupzilla.com"
arch=('x86_64')
license=('GPL3')
makedepends=('qt5-tools' 'kwallet')
depends=('qt5-webengine' 'qt5-script')
depends=('qt5-webkit' 'qt5-script')
optdepends=('bash-completion: bash completion support'
'kwallet: kf5 kwallet integration')
provides=('qupzilla-qt5')
@ -19,29 +18,29 @@ replaces=('qupzilla-qt5')
install=${pkgname}.install
categories=('network')
screenshot='http://www.qupzilla.com/screens/kde.png'
source=("https://github.com/QupZilla/QupZilla/tarball/master/QupZilla-qupzilla-${pkgver}.tar.gz"
source=("https://github.com/QupZilla/qupzilla/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.xz"
'0001-branded-speeddial.patch'
'start-white.png')
sha1sums=('54f760f18880f9b453e12152a425a9c7449efd1d'
sha1sums=('6a4613d6df5cfabe949e3a14ec8a5294005c1a78'
'7ae942d114016e5971caffd8a5cef8e20495f127'
'6ec67993bda3054d4210cc08177b124f873774e3')
prepare() {
msg 'Applying browserUI patch...'
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}/src/lib/app/"
cd ${srcdir}/${_pkgname}-${pkgver}/src/lib/app/
sed -e 's|"qupzilla:start"|"https://chakraos.org/?welcome"|' \
-e 's|"showStatusBar", true|"showStatusBar", false|' \
-e 's|"showMenubar", true|"showMenubar", false|g' -i browserwindow.cpp
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}/src/lib/plugins/"
cd ${srcdir}/${_pkgname}-${pkgver}/src/lib/plugins/
sed -e 's|"background", QString()|"file:///usr/share/pixmaps/start-white.png", QString()|' \
-e 's|"backsize", "auto"|"backsize", "contain"|' -i speeddial.cpp
#patch -p4 -i ${srcdir}/0001-branded-speeddial.patch
patch -p4 -i ${srcdir}/0001-branded-speeddial.patch
msg 'Applying preference patch'
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}/src/lib/preferences/"
cd ${srcdir}/${_pkgname}-${pkgver}/src/lib/preferences/
sed -e 's|"homepage", QUrl(QSL("qupzilla:start"))|"homepage", QUrl(QSL("https://chakraos.org/?welcome"))|' \
-e 's|"showStatusBar", true|"showStatusBar", false|g' -i preferences.cpp
msg 'Applying search engine patch...'
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}/src/lib/opensearch/"
cd ${srcdir}/${_pkgname}-${pkgver}/src/lib/opensearch/
sed 's,\?q=\%s\&t=qupzilla,\?q=\%s\&t=chakra,g' -i searchenginesmanager.cpp
}
@ -49,16 +48,15 @@ build() {
export USE_WEBGL="true"
export KDE_INTEGRATION="true"
export ENABLE_OPACITY_EFFECT="true"
#export NO_X11="true"
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}"
cd "${srcdir}/${_pkgname}-${pkgver}/"
/usr/lib/qt5/bin/qmake
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}"
package_qupzilla() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make INSTALL_ROOT="${pkgdir}" install
install -Dm 644 "${srcdir}/start-white.png" "${pkgdir}/usr/share/pixmaps/start-white.png"
}
}

View File

@ -0,0 +1,64 @@
# Maintainer: Bruce Liu <brli@users.sourceforge.net>
_pkgname=QupZilla
pkgname='qupzilla'
pkgver=1.9.90
_commit=a16c21b
pkgrel=1
pkgdesc="A very fast open source browser based on WebKit core"
url="http://www.qupzilla.com"
arch=('x86_64')
license=('GPL3')
makedepends=('qt5-tools' 'kwallet')
depends=('qt5-webengine' 'qt5-script')
optdepends=('bash-completion: bash completion support'
'kwallet: kf5 kwallet integration')
provides=('qupzilla-qt5')
conflicts=('qupzilla-qt5')
replaces=('qupzilla-qt5')
install=${pkgname}.install
categories=('network')
screenshot='http://www.qupzilla.com/screens/kde.png'
source=("https://github.com/QupZilla/QupZilla/tarball/master/QupZilla-qupzilla-${pkgver}.tar.gz"
'0001-branded-speeddial.patch'
'start-white.png')
sha1sums=('54f760f18880f9b453e12152a425a9c7449efd1d'
'7ae942d114016e5971caffd8a5cef8e20495f127'
'6ec67993bda3054d4210cc08177b124f873774e3')
prepare() {
msg 'Applying browserUI patch...'
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}/src/lib/app/"
sed -e 's|"qupzilla:start"|"https://chakraos.org/?welcome"|' \
-e 's|"showStatusBar", true|"showStatusBar", false|' \
-e 's|"showMenubar", true|"showMenubar", false|g' -i browserwindow.cpp
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}/src/lib/plugins/"
sed -e 's|"background", QString()|"file:///usr/share/pixmaps/start-white.png", QString()|' \
-e 's|"backsize", "auto"|"backsize", "contain"|' -i speeddial.cpp
#patch -p4 -i ${srcdir}/0001-branded-speeddial.patch
msg 'Applying preference patch'
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}/src/lib/preferences/"
sed -e 's|"homepage", QUrl(QSL("qupzilla:start"))|"homepage", QUrl(QSL("https://chakraos.org/?welcome"))|' \
-e 's|"showStatusBar", true|"showStatusBar", false|g' -i preferences.cpp
msg 'Applying search engine patch...'
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}/src/lib/opensearch/"
sed 's,\?q=\%s\&t=qupzilla,\?q=\%s\&t=chakra,g' -i searchenginesmanager.cpp
}
build() {
export USE_WEBGL="true"
export KDE_INTEGRATION="true"
export ENABLE_OPACITY_EFFECT="true"
#export NO_X11="true"
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}"
/usr/lib/qt5/bin/qmake
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgname}-${_commit}"
make INSTALL_ROOT="${pkgdir}" install
install -Dm 644 "${srcdir}/start-white.png" "${pkgdir}/usr/share/pixmaps/start-white.png"
}

View File

@ -3,7 +3,7 @@ source ../kdeapps.conf
pkgname=spectacle
pkgver=${_kdever}
pkgrel=2
pkgrel=3
pkgdesc="KDE screenshot capture utility"
arch=(x86_64)
url='https://projects.kde.org/spectacle'

View File

@ -1,6 +1,6 @@
pkgname=wireshark
pkgver=2.0.2
pkgrel=1
pkgrel=2
pkgdesc='A free network protocol analyzer for Unix/Linux and Windows'
arch=('x86_64')
license=('GPL2')