media-sound/pnmixer: moved from x11-apps/ and properly updated

This commit is contained in:
hasufell 2016-02-15 02:28:44 +01:00
parent b7b57892ee
commit 25f17be082
4 changed files with 42 additions and 53 deletions

View File

@ -5,6 +5,7 @@ dev-util
games-board games-board
games-rpg games-rpg
games-strategy games-strategy
media-sound
net-misc net-misc
net-www net-www
sci-mathematics sci-mathematics

View File

@ -1,5 +1,6 @@
( (
x11-wm/i3[~scm] x11-wm/i3[~scm]
media-sound/pnmixer[~scm]
) [[ ) [[
*author = [ Julian Ospald <hasufell@posteo.de> ] *author = [ Julian Ospald <hasufell@posteo.de> ]
*token = scm *token = scm

View File

@ -0,0 +1,40 @@
# Copyright 2015 Kylie McClain <somasis@exherbo.org>
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
require github [ user='nicklan' ]
SUMMARY="Simple ALSA mixer application designed to run in system tray"
SLOT="0"
LICENCES="GPL-3"
MYOPTIONS="
libnotify
( providers: gtk2 gtk3 ) [[ number-selected = exactly-one ]]
"
PLATFORMS="~amd64"
DEPENDENCIES="
build:
dev-util/intltool
sys-devel/gettext
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] )
"
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
libnotify
'providers:gtk3 gtk3'
)
src_prepare() {
edo intltoolize --force --copy
autotools_src_prepare
}

View File

@ -1,53 +0,0 @@
# Copyright 2014 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user=nicklan ] autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 ] ] gtk-icon-cache
SUMMARY="Volume mixer for the system tray"
HOMEPAGE="https://github.com/nicklan/pnmixer"
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
debug
libnotify
"
DEPENDENCIES="
build:
sys-devel/gettext
virtual/pkg-config
build+run:
dev-libs/glib:2
sys-sound/alsa-lib
x11-libs/gtk+:3
x11-libs/libX11
libnotify? ( x11-libs/libnotify )
"
DEFAULT_SRC_CONFIGURE_PARAMS=(
'--enable-minimal-flags'
'--with-gtk3'
)
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
'debug'
)
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
'libnotify'
)
src_prepare() {
default
eautoreconf
edo glib-gettextize --force --copy
}
src_install() {
default
insinto /usr/share/icons/hicolor/128x128/apps
newins pixmaps/${PN}-about.png ${PN}.png
}