forked from hasufell/hasufell-repository
* alphabetical ordering * use master branch in scm exheres * rather migrate pnmixer.exlib for the new build system * also update icon cache
44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
# Copyright 2015 Kylie McClain <somasis@exherbo.org>
|
|
# Copyright 2016-2017 Julian Ospald <hasufell@posteo.de>
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
myexparam release=v${PV}
|
|
PNMIXER_RELEASE=$(exparam release)
|
|
|
|
require github [ user='nicklan' release="${PNMIXER_RELEASE}" suffix="tar.gz" ]
|
|
require cmake
|
|
require gtk-icon-cache
|
|
|
|
SUMMARY="Simple ALSA mixer application designed to run in system tray"
|
|
LICENCES="GPL-3"
|
|
|
|
MYOPTIONS="
|
|
libnotify
|
|
( providers: gtk2 gtk3 ) [[ number-selected = exactly-one ]]
|
|
"
|
|
|
|
DEPENDENCIES="
|
|
build:
|
|
sys-devel/gettext
|
|
virtual/pkg-config
|
|
build+run:
|
|
dev-libs/glib:2
|
|
sys-sound/alsa-lib
|
|
x11-libs/libX11
|
|
libnotify? ( x11-libs/libnotify )
|
|
providers:gtk2? ( x11-libs/gtk+:2[>=2.16.0] )
|
|
providers:gtk3? ( x11-libs/gtk+:3[>=3.6.0] )
|
|
suggestion:
|
|
(
|
|
xfce-extra/xfce4-mixer
|
|
) [[
|
|
*description = [ ${PN} can use a full mixer if available ]
|
|
]]
|
|
"
|
|
|
|
CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
|
|
'libnotify LIBNOTIFY'
|
|
'providers:gtk3 GTK3'
|
|
)
|
|
|