summaryrefslogtreecommitdiff
path: root/media-sound/pasystray
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/pasystray
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/pasystray')
-rw-r--r--media-sound/pasystray/Manifest9
-rw-r--r--media-sound/pasystray/files/fix-missing-gint.patch20
-rw-r--r--media-sound/pasystray/metadata.xml21
-rw-r--r--media-sound/pasystray/pasystray-0.2.1.ebuild34
-rw-r--r--media-sound/pasystray/pasystray-0.6.0-r1.ebuild53
-rw-r--r--media-sound/pasystray/pasystray-0.6.0-r2.ebuild55
6 files changed, 192 insertions, 0 deletions
diff --git a/media-sound/pasystray/Manifest b/media-sound/pasystray/Manifest
new file mode 100644
index 000000000000..330358314e19
--- /dev/null
+++ b/media-sound/pasystray/Manifest
@@ -0,0 +1,9 @@
+AUX fix-missing-gint.patch 629 SHA256 f4fac19ba12a46a82cdc40533a1f5ff2bad6edc51fc7b3426564c6f45582fbbf SHA512 66aaa515cbb7a76f6f87fa527723cc60082ed77efeb02cb8fef784be3ab8a8fbec37ec61d7ff67c4b0cc0074cc281dd238c19cb1fb7686e57bb274b226dc25c9 WHIRLPOOL d2085d2dd8d3e5a2d0dba7a749aeaf9a170b3b9ba0d7c8f798ace4ddb37fe8fb0a8f6938177cbd5f0ae569b778ffd91427b3313a69998015d3693fdb2b77f2c9
+DIST pasystray-0.2.1.tar.bz2 100456 SHA256 d24fe23773e0a25fd32aefe101bb703ca42a487c8e25411c831621332cee61a7 SHA512 db7c05c2eb5fd3dada2e3c23f28978497d17a2147078390ab3e8c88654c4bd8ce48d07a15e9a5b3834acffcc2d86fa719ce2403255915bdfb2eb610bd0549041 WHIRLPOOL 71e4519b9bf6012e770820cf1a72bfb875a34eb87e74eab87edc4a18e01d88ecabf56b88e30686ae409d6fe2456a1058a3194ce539e72934410ba402d72cdd22
+DIST pasystray-0.6.0.tar.gz 53835 SHA256 44383b38fdafbbcb05d212b4f374c57a263f627d137ee51f5d956887a82ea271 SHA512 51fdb5aab22ad10ffe73f6de68115ee1559f09f58cfe4d5201a2f262323ca3476a8b09c7fc02c4144414f44444661edd25d2d39b3de54ed4c662660867da622c WHIRLPOOL 915987ba126903a2fee004dc660d508cfd16b45d0702947e37569257e51c1954f8764674d76946f0fbd07b21f846e7bde4ee7e20ec8267bd85b885122a749570
+EBUILD pasystray-0.2.1.ebuild 879 SHA256 78a35ce05413a3ce0a41ce00f78faf9eb90c6340d2e04359e4a19caa86dbfcb6 SHA512 f74684712b6d36c901c70c69953b98947eda6e79e88e78e743f0de183bd6253d9bc6d71938ceb9f6bcefd9771783555fff1749cef1f8def7dacc2d559e5ad418 WHIRLPOOL 4beea7e95444562f1bd9b7b72c8bccb3147f72d2a23a6b5a4a63b7eb154620eac13644fdceecbd7f00e66dd70ca9aa37d614a4015b4612cbf8c880534f398e54
+EBUILD pasystray-0.6.0-r1.ebuild 1043 SHA256 a5a0c219c8307468ad3f3bb75e57425da50e7624a74abb3252c0d4c54ca909db SHA512 534ffc663633ba4cc9c7f539db311e35dd973ffc08a76b5638dc32e4d48999583e73c94863e1937ac8e66af05816e20de447e557569e86f4e06f043698f7d0b7 WHIRLPOOL eadac124ae04ebd2adfe8556382d09628aa88bb5e54cbc315127a509120f20bfb049fb02effc4c7e3ecd1037817a02f129da54abbbe418737ee820a0c858250a
+EBUILD pasystray-0.6.0-r2.ebuild 1098 SHA256 fa7929c9e3b58d05dfa4b21a71751d1f1b8d2aeb3c720c2122a825a813bd8baa SHA512 6a11e33c0ce6cd4f4272978d2371b219e697c554b32a3596519eb9be7b621d3e5aff01ff308b8e912d53be4d767fc2f9e4ded71bf47244ca2d5379fc43e3c4b7 WHIRLPOOL e9d9272e8cfbcda1fb6682f3f4755e85b653b53b40d81124214ab51e5442a76065fd216f9d0dde1ec895e90ad431847cf89460990a6dd7aed72771c9d3548256
+MISC ChangeLog 3159 SHA256 bf0cb9d301cc8ec140541bbaab5641fd1085e9a4767afa8263d0bec656977c3d SHA512 6bbcff42106d8560c5cf6bbc3088c3df8683e60d9b0de95cd94d710baa1e5fb9173515054c61aedf464c26c4ec3aeebd749a0929b41343100e0b124b605955c8 WHIRLPOOL 6e9fa30f7fd9f9757fa8a355f82436fcb954394cc2af2b7cd9a77cf8e601c707c8e6fce0acdddd6af3ffd1db24a5a3649b26a48917e44b237a1e083caba7ecef
+MISC ChangeLog-2015 900 SHA256 ed577aac0d87e6454cb12f96d08f914847dfdbf38a38254f65d4522144f3243b SHA512 1d97d4b47fc4e0d02695e6a008eaa2129635ad24787d3bdfbc913bdf2593fad28c2d89d268152fae6b2ea68e14d6d7c2a215cdbb6c34947365f4459a5d5a443a WHIRLPOOL 87f9b089e35b5bccaba33f9927b899e19de4934db10a9c677c7da5c0fc862d9c34dbbae16414b7927a6c546bb2332dbd2812400a897c29e61ded32e6ca8b4eb2
+MISC metadata.xml 730 SHA256 53ad61a70394e35a6ad0724fd5594083b8882f0843f6cb3dff7b78a3e2693d1d SHA512 18850c548477a5871ce9ea07a3a8a4711654d3b5fec4faec985547c44f42e16f183f1c130766aa3a1e7caff4fa18459f8f5ac7c58bd22581409e2d14a8791d4d WHIRLPOOL 1a767c56735d547630ac2a68c4394eadc90b3e82763d512775ae5164fe6e5a57b14a20a3959792e38c03cb883bdd3c84827cce08ae466dcb5e6ad2583c705e81
diff --git a/media-sound/pasystray/files/fix-missing-gint.patch b/media-sound/pasystray/files/fix-missing-gint.patch
new file mode 100644
index 000000000000..7eeded9284f1
--- /dev/null
+++ b/media-sound/pasystray/files/fix-missing-gint.patch
@@ -0,0 +1,20 @@
+diff --git a/src/notify.c b/src/notify.c
+index adec0ca..8b54808 100644
+--- a/src/notify.c
++++ b/src/notify.c
+@@ -23,11 +23,13 @@
+
+ #ifndef HAVE_NOTIFY
+
++#include <glib.h>
++
+ #include "notify.h"
+
+ void notify_initialize(){}
+-notify_handle_t notify(const char* msg, const char* body, const char* icon){ return 0; }
+-void notify_update(notify_handle_t h, const char* msg, const char* body, const char* icon){}
++notify_handle_t notify(const char* msg, const char* body, const char* icon, gint value){ return 0; }
++void notify_update(notify_handle_t h, const char* msg, const char* body, const char* icon, gint value){}
+
+ #else
+
diff --git a/media-sound/pasystray/metadata.xml b/media-sound/pasystray/metadata.xml
new file mode 100644
index 000000000000..2499ed091c18
--- /dev/null
+++ b/media-sound/pasystray/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lmiphay@gmail.com</email>
+ <name>Paul Healy</name>
+ <description>Proxy maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">christophgysin/pasystray</remote-id>
+ <bugs-to>https://github.com/christophgysin/pasystray/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/pasystray/pasystray-0.2.1.ebuild b/media-sound/pasystray/pasystray-0.2.1.ebuild
new file mode 100644
index 000000000000..3ce386fe140d
--- /dev/null
+++ b/media-sound/pasystray/pasystray-0.2.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit gnome2-utils
+
+DESCRIPTION="A system tray for pulseaudio controls (replacement for the deprecated padevchooser)"
+HOMEPAGE="https://github.com/christophgysin/pasystray"
+SRC_URI="mirror://github/christophgysin/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+
+RDEPEND="
+ || ( >=media-sound/pulseaudio-1.0[glib,avahi] >=media-sound/pulseaudio-5.0-r3[glib,zeroconf] )
+ >=net-dns/avahi-0.6
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ libnotify? ( >=x11-libs/libnotify-0.7 )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS README TODO"
+
+src_configure() {
+ econf $(use_enable libnotify notify)
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }
diff --git a/media-sound/pasystray/pasystray-0.6.0-r1.ebuild b/media-sound/pasystray/pasystray-0.6.0-r1.ebuild
new file mode 100644
index 000000000000..2730461f08c8
--- /dev/null
+++ b/media-sound/pasystray/pasystray-0.6.0-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2-utils autotools vcs-snapshot xdg
+
+DESCRIPTION="PulseAudio system tray"
+HOMEPAGE="https://github.com/christophgysin/pasystray"
+SRC_URI="https://github.com/christophgysin/${PN}/archive/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify zeroconf"
+
+RDEPEND="
+ >=dev-libs/glib-2.48.2
+ >=media-sound/pulseaudio-5.0-r3[glib,zeroconf?]
+ zeroconf? ( >=net-dns/avahi-0.6 )
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ libnotify? ( >=x11-libs/libnotify-0.7 )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable libnotify notify) \
+ $(use_enable zeroconf avahi)
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-sound/pasystray/pasystray-0.6.0-r2.ebuild b/media-sound/pasystray/pasystray-0.6.0-r2.ebuild
new file mode 100644
index 000000000000..d4c1899f2812
--- /dev/null
+++ b/media-sound/pasystray/pasystray-0.6.0-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2-utils autotools vcs-snapshot xdg
+
+DESCRIPTION="PulseAudio system tray"
+HOMEPAGE="https://github.com/christophgysin/pasystray"
+SRC_URI="https://github.com/christophgysin/${PN}/archive/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="libnotify zeroconf"
+
+RDEPEND="
+ >=dev-libs/glib-2.48.2
+ >=media-sound/pulseaudio-5.0-r3[glib,zeroconf?]
+ zeroconf? ( >=net-dns/avahi-0.6 )
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ libnotify? ( >=x11-libs/libnotify-0.7 )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}/fix-missing-gint.patch" )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable libnotify notify) \
+ $(use_enable zeroconf avahi)
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}