mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
community/xfce4-screenshooter: upgrade to 1.11.2, switch to meson
This commit is contained in:
parent
255c918411
commit
ef3ae6796a
1 changed files with 11 additions and 22 deletions
|
@ -1,48 +1,37 @@
|
||||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=xfce4-screenshooter
|
pkgname=xfce4-screenshooter
|
||||||
pkgver=1.11.1
|
pkgver=1.11.2
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Screenshot application for Xfce4"
|
pkgdesc="Screenshot application for Xfce4"
|
||||||
url="https://goodies.xfce.org/projects/applications/xfce4-screenshooter"
|
url="https://goodies.xfce.org/projects/applications/xfce4-screenshooter"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
subpackages="$pkgname-doc $pkgname-lang $pkgname-imgur"
|
subpackages="$pkgname-doc $pkgname-lang"
|
||||||
makedepends="
|
makedepends="
|
||||||
exo-dev
|
exo-dev
|
||||||
|
help2man
|
||||||
hicolor-icon-theme
|
hicolor-icon-theme
|
||||||
libxext-dev
|
libxext-dev
|
||||||
libxfce4ui-dev
|
libxfce4ui-dev
|
||||||
|
meson
|
||||||
xfce4-panel-dev
|
xfce4-panel-dev
|
||||||
"
|
"
|
||||||
source="https://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/xfce4-screenshooter-$pkgver.tar.bz2"
|
source="https://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/xfce4-screenshooter-$pkgver.tar.xz"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
abuild-meson \
|
||||||
--build=$CBUILD \
|
output .
|
||||||
--host=$CHOST \
|
meson compile -C output
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libexecdir=/usr/lib \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-static
|
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
make check
|
meson test --print-errorlogs -C output
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$pkgdir" install
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||||
}
|
|
||||||
|
|
||||||
imgur() {
|
|
||||||
pkgdesc="$pkgdesc (imgur uploader script)"
|
|
||||||
depends="$pkgname=$pkgver-r$pkgrel curl jq xclip zenity"
|
|
||||||
|
|
||||||
amove usr/lib/xfce4/screenshooter/scripts/imgur-upload.sh
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
aee31311faea2bb08d5e29722da190b0c7e2b37948a688a49212cd57cc4efc3f43b3c1588d9326f97eb174771412c60707cc88ae2ee0596546e9750a06112588 xfce4-screenshooter-1.11.1.tar.bz2
|
99744a996ce11b8477a850b99e6c376b10fd975635f7cbec2d910009ce9f30b4db8828cc97e9e579b72b75bc9b93a0c6a3b9ee50dcab0d0fff74059fa035fe4f xfce4-screenshooter-1.11.2.tar.xz
|
||||||
"
|
"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue