X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 5F1E7DC877B for ; Tue, 1 Mar 2016 21:55:31 +0000 (UTC) Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id CF06BDC877A for ; Tue, 1 Mar 2016 21:55:27 +0000 (UTC) Received: from dovecot03.posteo.de (dovecot03.posteo.de [172.16.0.13]) by mout01.posteo.de (Postfix) with ESMTPS id CA71E2097B for ; Tue, 1 Mar 2016 22:55:21 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3qFC1j507dz5vN8; Tue, 1 Mar 2016 22:55:21 +0100 (CET) From: Julian Ospald To: alpine-devel@lists.alpinelinux.org Cc: Julian Ospald Subject: [alpine-devel] [PATCH] new aport: testing/pnmixer Date: Tue, 1 Mar 2016 22:55:03 +0100 Message-Id: <1456869303-12595-1-git-send-email-hasufell@posteo.de> X-Mailer: git-send-email 2.7.2 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://github.com/nicklan/pnmixer Volume mixer for the system tray --- testing/pnmixer/APKBUILD | 56 ++++++++++++++++++++++++++++++++++ testing/pnmixer/pnmixer.post-deinstall | 3 ++ testing/pnmixer/pnmixer.post-install | 3 ++ testing/pnmixer/pnmixer.post-upgrade | 3 ++ 4 files changed, 65 insertions(+) create mode 100644 testing/pnmixer/APKBUILD create mode 100644 testing/pnmixer/pnmixer.post-deinstall create mode 100644 testing/pnmixer/pnmixer.post-install create mode 100644 testing/pnmixer/pnmixer.post-upgrade diff --git a/testing/pnmixer/APKBUILD b/testing/pnmixer/APKBUILD new file mode 100644 index 0000000..b5585fd --- /dev/null +++ b/testing/pnmixer/APKBUILD @@ -0,0 +1,56 @@ +# Maintainer: Julian Ospald +pkgname=pnmixer +pkgver=0.6.1 +pkgrel=0 +pkgdesc="Volume mixer for the system tray" +url="https://github.com/nicklan/pnmixer" +arch="x86 x86_64" +license="GPL3" +depends="" +makedepends=" + alsa-lib-dev + autoconf + automake + glib-dev + gtk+3.0 + gtk+3.0-dev + intltool + libnotify-dev + libx11-dev + pkgconfig +" +install=" + ${pkgname}.post-deinstall + ${pkgname}.post-install + ${pkgname}.post-upgrade +" +subpackages="${pkgname}-lang" +source="${pkgname}-${pkgver}.tar.gz::https://github.com/nicklan/${pkgname}/archive/v${pkgver}.tar.gz" + +_builddir=${srcdir}/${pkgname}-${pkgver} + +die() { + echo "$@" + return 1 +} + +build() { + cd "${_builddir}" + ./autogen.sh \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + || die "configuration failed" + make || die "building failed" +} + +package() { + make -C "${_builddir}" DESTDIR="$pkgdir" install || die "installation failed" +} + +md5sums="181db8452b3896d80c8587ca6e5cfb49 pnmixer-0.6.1.tar.gz" +sha256sums="2c611cd8d7bc5b11fbf2f8610ef20a19b541873cc87bc18a0dc5bc9baeadc08b pnmixer-0.6.1.tar.gz" +sha512sums="6980e54e1894e7ba9a54b3a7b794cebd065093682b0cd6b50f99b4fd2059ef966fd755a034e0055eec9c4ff9fec8215dd1f8c7e7cc2364c5e20f90f0c174f6a7 pnmixer-0.6.1.tar.gz" diff --git a/testing/pnmixer/pnmixer.post-deinstall b/testing/pnmixer/pnmixer.post-deinstall new file mode 100644 index 0000000..ccc5252 --- /dev/null +++ b/testing/pnmixer/pnmixer.post-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +gtk-update-icon-cache -q -t -f usr/share/icons/hicolor diff --git a/testing/pnmixer/pnmixer.post-install b/testing/pnmixer/pnmixer.post-install new file mode 100644 index 0000000..ccc5252 --- /dev/null +++ b/testing/pnmixer/pnmixer.post-install @@ -0,0 +1,3 @@ +#!/bin/sh + +gtk-update-icon-cache -q -t -f usr/share/icons/hicolor diff --git a/testing/pnmixer/pnmixer.post-upgrade b/testing/pnmixer/pnmixer.post-upgrade new file mode 100644 index 0000000..ccc5252 --- /dev/null +++ b/testing/pnmixer/pnmixer.post-upgrade @@ -0,0 +1,3 @@ +#!/bin/sh + +gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -- 2.7.2 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---