From 3037f20c61002eb8298be993e55c4fe33556d283 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 1 Mar 2017 22:09:52 +0100 Subject: [PATCH] media-sound/pnmixer: add scm version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm upstream and we test the master branch fairly well. Change-Id: Id707f05afb2fc146dca3e725ac0189f066ac5a32 Reviewed-on: https://galileo.mailstation.de/gerrit/5526 Retest: Bo Ørsted Andresen Reviewed-by: Jenkins Reviewed-by: Kylie McClain --- metadata/repository_mask.conf | 1 + .../media-sound/pnmixer/pnmixer-scm.exheres-0 | 48 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 packages/media-sound/pnmixer/pnmixer-scm.exheres-0 diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf index 0534386..d0f0722 100644 --- a/metadata/repository_mask.conf +++ b/metadata/repository_mask.conf @@ -8,6 +8,7 @@ games-strategy/freesynd[~scm] media/livestreamer[~scm] media-gfx/pinta[~scm] + media-sound/pnmixer[~scm] net-im/gajim-omemo[~scm] net-im/lurch[~scm] net-im/pidgin-opensteamworks[~scm] diff --git a/packages/media-sound/pnmixer/pnmixer-scm.exheres-0 b/packages/media-sound/pnmixer/pnmixer-scm.exheres-0 new file mode 100644 index 0000000..656058a --- /dev/null +++ b/packages/media-sound/pnmixer/pnmixer-scm.exheres-0 @@ -0,0 +1,48 @@ +# Copyright 2015 Kylie McClain +# Copyright 2016 Julian Ospald +# 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] ) + suggestion: + ( + media-sound/pavucontrol + xfce-extra/xfce4-mixer + ) [[ + *description = [ ${PN} can use a full mixer if available ] + ]] +" + +DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( + libnotify + 'providers:gtk3 gtk3' +) + +src_prepare() { + edo intltoolize --force --copy + autotools_src_prepare +} +