Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ximi1970:Mozilla:Add-ons:Staging:Test3
systray-x-minimal
_service:obs_scm:PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:PKGBUILD of Package systray-x-minimal
# Maintainer: Maxime Rijnders <ximi.obs@gmail.com> pkgname=systray-x-minimal pkgver=0.9.8 pkgrel=1 epoch=1 pkgdesc='A system tray extension for Thunderbird (Unity/XFCE/other)' arch=(x86_64) url=https://github.com/Ximi1970/systray-x license=(MPL-2.0) depends=( 'qt6-base' 'qt6-wayland' 'thunderbird>=91' 'thunderbird<121' ) makedepends=( 'git' 'unzip' 'zip' 'libx11' 'qt6-base' ) provides=( 'systray-x' ) source=($pkgname-$pkgver.tar.xz) sha256sums=(SKIP) build() { cd $pkgname-$pkgver export VERSION=$(cat dist/rpm/VERSION | grep VERSION | sed -e "s/VERSION=\(.*\)/\1/") export VERSION_MAJOR=$(echo $VERSION | cut -d'.' -f1) export VERSION_MINOR=$(echo $VERSION | cut -d'.' -f2) export VERSION_PATCH=$(echo $VERSION | cut -d'.' -f3) export BUILD_NUMBER=$(cat dist/rpm/VERSION | grep BUILD_NUMBER | sed -e "s/BUILD_NUMBER=\(.*\)/\1/") export GIT_HASH=$(cat dist/rpm/VERSION | grep GIT_HASH | sed -e "s/GIT_HASH=\(.*\)/\1/") export GIT_BRANCH=$(cat dist/rpm/VERSION | grep GIT_BRANCH | sed -e "s/GIT_BRANCH=\(.*\)/\1/") sed < app/config/linux/SysTray_X.json.template -e 's|SYSTRAY_X_PATH|/usr/bin/SysTray-X|' > SysTray_X.json make OPTIONS="DEFINES+=NO_KDE_INTEGRATION" EXT_VERSION="DEFINES+=EXT_VERSION DEFINES+=APP_VERSION_MAJOR=\\\\\\\\\\\\\\\"$VERSION_MAJOR\\\\\\\\\\\\\\\" DEFINES+=APP_VERSION_MINOR=\\\\\\\\\\\\\\\"$VERSION_MINOR\\\\\\\\\\\\\\\" DEFINES+=APP_VERSION_PATCH=\\\\\\\\\\\\\\\"$VERSION_PATCH\\\\\\\\\\\\\\\" DEFINES+=APP_BUILD=\\\\\\\\\\\\\\\"$BUILD_NUMBER\\\\\\\\\\\\\\\" DEFINES+=APP_GITHASH=\\\\\\\\\\\\\\\"$GIT_HASH\\\\\\\\\\\\\\\" DEFINES+=APP_GITBRANCH=\\\\\\\\\\\\\\\"$GIT_BRANCH\\\\\\\\\\\\\\\"" } package() { mkdir -p "${pkgdir}"/usr/bin cp -f ${pkgname}-${pkgver}/SysTray-X "${pkgdir}"/usr/bin/SysTray-X mkdir -p "${pkgdir}"/usr/lib/mozilla/native-messaging-hosts cp -f ${pkgname}-${pkgver}/SysTray_X.json "${pkgdir}"/usr/lib/mozilla/native-messaging-hosts/SysTray_X.json mkdir -p "${pkgdir}"/usr/lib/thunderbird/distribution/extensions cp -f ${pkgname}-${pkgver}/systray-x@Ximi1970.xpi "${pkgdir}"/usr/lib//thunderbird/distribution/extensions/systray-x@Ximi1970.xpi }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor