Initial import

This commit is contained in:
2014-11-24 18:31:57 +01:00
commit bc0f287aa0
18 changed files with 681 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
# 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
}

View File

@@ -0,0 +1,36 @@
# Copyright 2014 Julian Ospald <hasufell@hasufell.de>
# Distributed under the terms of the GNU General Public License v2
if ever is_scm; then
SCM_REPOSITORY="http://bazaar.launchpad.net/~gnome-terminator/terminator/"
require scm-bzr
fi
require gtk-icon-cache freedesktop-desktop distutils
PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
run:
dev-libs/keybinder[python]
dev-libs/vte:0[python]
dev-python/notify-python
gnome-bindings/pygobject:2
gnome-bindings/pygtk:2
build:
dev-util/intltool
"
pkg_preinst() {
gtk-icon-cache_pkg_preinst
}
pkg_postinst() {
gtk-icon-cache_pkg_postinst
freedesktop-desktop_pkg_postinst
}
pkg_postrm() {
gtk-icon-cache_pkg_postrm
freedesktop-desktop_pkg_postrm
}