mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
kscreen: moved to core, kscreengenie: nextgen kde screen capture utility
This commit is contained in:
parent
a1aa9d896d
commit
cde5be992b
@ -1,31 +0,0 @@
|
||||
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
||||
# Contributors: abveritas@chakra-project.org, birdflesh <antkoul at gmail dot com>
|
||||
|
||||
pkgname=kscreen
|
||||
pkgver=1.0.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="KDE's screen management software"
|
||||
arch=('x86_64')
|
||||
url='https://projects.kde.org/kscreen'
|
||||
license=('GPL' 'LGPL')
|
||||
depends=('kde-runtime' 'libkscreen')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
|
||||
md5sums=('cd3d6ffdb0e44c418c2804fc72b8391b')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../$pkgname-$pkgver \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/build"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
38
kscreengenie/PKGBUILD
Normal file
38
kscreengenie/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# $Id$
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
|
||||
pkgname=kscreengenie
|
||||
pkgver=2.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="KDE screenshot capture utility"
|
||||
arch=(i686 x86_64)
|
||||
url='https://projects.kde.org/kscreengenie'
|
||||
license=(GPL)
|
||||
depends=(kio xcb-util-cursor libkscreen hicolor-icon-theme)
|
||||
makedepends=(extra-cmake-modules kdoctools)
|
||||
conflicts=(kdegraphics-ksnapshot)
|
||||
provides=(kdegraphics-ksnapshot)
|
||||
source=("http://download.kde.org/stable/$pkgname/${pkgver:0:3}/src/$pkgname-$pkgver.tar.xz")
|
||||
install=$pkgname.install
|
||||
md5sums=('06d4f83ae20dcaed950c2343640b5d90')
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../$pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
|
12
kscreengenie/kscreengenie.install
Normal file
12
kscreengenie/kscreengenie.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
||||
# contributors: abveritas@chakra-project.org, birdflesh <antkoul at gmail dot com>
|
||||
|
||||
pkgname=libkscreen
|
||||
pkgver=1.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="KDE's screen management library"
|
||||
arch=('x86_64')
|
||||
url='https://projects.kde.org/libkscreen'
|
||||
license=('GPL')
|
||||
depends=('kdelibs' 'qjson')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
|
||||
md5sums=('39f5316ef4f9203dd7a42180edbab122')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../$pkgname-$pkgver \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/build"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user