From 3329b1a70b5366568b0a978be15ae55f59579377 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 16 Jul 2017 23:30:50 +0200 Subject: [PATCH] media-sound/pnmixer-rs: initial import --- metadata/repository_mask.conf | 1 + .../pnmixer-rs/pnmixer-rs-scm.exheres-0 | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 packages/media-sound/pnmixer-rs/pnmixer-rs-scm.exheres-0 diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf index c8b5b72..b0e25c5 100644 --- a/metadata/repository_mask.conf +++ b/metadata/repository_mask.conf @@ -10,6 +10,7 @@ media/livestreamer[~scm] media-gfx/pinta[~scm] media-sound/pnmixer[~scm] + media-sound/pnmixer-rs[~scm] net-im/gajim-omemo[~scm] net-im/lurch[~scm] net-im/pidgin-opensteamworks[~scm] diff --git a/packages/media-sound/pnmixer-rs/pnmixer-rs-scm.exheres-0 b/packages/media-sound/pnmixer-rs/pnmixer-rs-scm.exheres-0 new file mode 100644 index 0000000..563564f --- /dev/null +++ b/packages/media-sound/pnmixer-rs/pnmixer-rs-scm.exheres-0 @@ -0,0 +1,39 @@ +# Copyright 2017 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require github [ user=hasufell project=${PN/-rs/-rust} ] +require cargo + +SUMMARY="Volume mixer for the system tray written in Rust" +HOMEPAGE="https://github.com/hasufell/pnmixer-rust ${HOMEPAGE}" +DOWNLOADS="" + +LICENCES="GPL-3.0" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="libnotify" + +DEPENDENCIES=" + build: + virtual/pkg-config + build+run: + dev-libs/glib:2 + sys-sound/alsa-lib + x11-libs/gdk-pixbuf:2.0 + x11-libs/gtk+:3[>=3.6.0] + x11-libs/libX11 + libnotify? ( x11-libs/libnotify ) + suggestion: + ( + xfce-extra/xfce4-mixer + ) [[ + *description = [ ${PN} can use a full mixer if available ] + ]] +" + +BUGS_TO="hasufell@posteo.de" + +ECARGO_FEATURE_ENABLES=( + 'libnotify notify' +) +