mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Contributor: Luca Weiss <luca@z3ntu.xyz>
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
pkgname=ayatana-indicator-notifications
|
|
pkgver=22.9.0
|
|
pkgrel=1
|
|
pkgdesc="Ayatana Indicator Notifications Service"
|
|
url="https://github.com/AyatanaIndicators/ayatana-indicator-notifications"
|
|
arch="all"
|
|
license="GPL-3.0-only"
|
|
makedepends="
|
|
cmake
|
|
cmake-extras
|
|
glib-dev
|
|
intltool
|
|
samurai
|
|
"
|
|
subpackages="$pkgname-lang"
|
|
source="https://github.com/AyatanaIndicators/ayatana-indicator-notifications/archive/$pkgver/ayatana-indicator-notifications-$pkgver.tar.gz"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
if [ "$CBUILD" != "$CHOST" ]; then
|
|
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
|
fi
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_SHARED_LIBS=True \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
$CMAKE_CROSSOPTS .
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
24cb48c3886119b94a7869fb80d5248f19350918227e9fb0c81f3cf66eb44f05d8303b333c478f8195d657b3bf1cdc416efcc61a3d4bf9a2d5cfce7f820259ac ayatana-indicator-notifications-22.9.0.tar.gz
|
|
"
|