forked from hasufell/hasufell-repository
x11-misc/cbatticon: initial import
This commit is contained in:
parent
d1f0a56a29
commit
ce1399bc9c
@ -6,6 +6,7 @@
|
||||
games-strategy/freesynd[~scm]
|
||||
media-gfx/pinta[~scm]
|
||||
x11-apps/terminator[~scm]
|
||||
x11-misc/cbatticon[~scm]
|
||||
x11-wm/i3[~scm]
|
||||
) [[
|
||||
*author = [ Julian Ospald <hasufell@posteo.de> ]
|
||||
|
8
packages/x11-misc/cbatticon/cbatticon-1.6.4.exheres-0
Normal file
8
packages/x11-misc/cbatticon/cbatticon-1.6.4.exheres-0
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cbatticon
|
||||
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
8
packages/x11-misc/cbatticon/cbatticon-scm.exheres-0
Normal file
8
packages/x11-misc/cbatticon/cbatticon-scm.exheres-0
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cbatticon
|
||||
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
40
packages/x11-misc/cbatticon/cbatticon.exlib
Normal file
40
packages/x11-misc/cbatticon/cbatticon.exlib
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
export_exlib_phases src_compile
|
||||
|
||||
require github [ user="valr" ]
|
||||
|
||||
SUMMARY="A lightweight and fast battery icon that sits in your system tray"
|
||||
|
||||
LICENCES="GPL-2"
|
||||
|
||||
MYOPTIONS="
|
||||
libnotify [[ description = [ Enable battery level notifications ] ]]
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
sys-devel/gettext
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:3
|
||||
libnotify? ( x11-libs/libnotify )
|
||||
"
|
||||
|
||||
DEFAULT_SRC_INSTALL_PARAMS=(
|
||||
BINDIR="/usr/$(exhost --target)/bin"
|
||||
DOCDIR="/usr/share/doc/${PNVR}"
|
||||
V=1
|
||||
VERSION="${PNVR}"
|
||||
)
|
||||
|
||||
cbatticon_src_compile() {
|
||||
emake \
|
||||
$(option libnotify WITH_NOTIFY=1 WITH_NOTIFY=0) \
|
||||
WITH_GTK3=1 \
|
||||
V=1 \
|
||||
VERSION="${PNVR}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user