summaryrefslogtreecommitdiffstats
path: root/x11-plugins/wmvolman
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmvolman')
-rw-r--r--x11-plugins/wmvolman/Manifest4
-rw-r--r--x11-plugins/wmvolman/files/wmvolman-2.0.1-ds-include.diff10
-rw-r--r--x11-plugins/wmvolman/wmvolman-2.0.1-r1.ebuild38
-rw-r--r--x11-plugins/wmvolman/wmvolman-2.0.1.ebuild34
4 files changed, 86 insertions, 0 deletions
diff --git a/x11-plugins/wmvolman/Manifest b/x11-plugins/wmvolman/Manifest
new file mode 100644
index 0000000..04bf7f6
--- /dev/null
+++ b/x11-plugins/wmvolman/Manifest
@@ -0,0 +1,4 @@
+AUX wmvolman-2.0.1-ds-include.diff 640 SHA256 cbc9e74d887524e1ac7de3c82582b0e362d05446f463f31342b945dbff37d421 SHA512 d057e5fcce00fa11ecaa3650af01a8568a843abb3f229ddaff9679e31cfc2b96e0731236baa82f7467be297b223fb4fb6e5762d7c43b4cd2e5da6a03aa21e00a WHIRLPOOL 8eb8a197bfeec274e0c3a9e2b3ed8fcfb43681baad588ee405f2e899470eaeef0d307b1ac0c7fa9653407eca9f890d932a7b25d9151d58b4f465e3be210efb01
+DIST 2.0.1.tar.gz 39940 SHA256 625c2911fd296dd4ce021f7902e64162544d75bd948145fc015cca8546b728ad SHA512 63e04a8d213c7978cc2adf489adb94ff1048991d47a148bb12fa9ef8533935802b34226366b44f82eaff5820ff65b77895598533289f8e3156035732db36f5c7 WHIRLPOOL 125d5a9ca763ddd60c7014733cc373c6c1083e57172742c14cff63d2a34a2c780bcdcc733891fef8038b36491d2fe116c0a9e040f025006d6a85249772d0b601
+EBUILD wmvolman-2.0.1-r1.ebuild 950 SHA256 cef16109a5b2e55f85eff8e1df21cdc6e7320b816f6dc69c48492e96ad9afaf0 SHA512 1893fd37101d6d3e66dbe9cc781edf77e6c57f758e6b06d4471e599db797fab885efafff569b3eb4e669fc132f7cac516870af5485b77890a5b1923e67de74cb WHIRLPOOL 4bc759a91cf93dfc392f28019bb535518221b34d11667c575e2fe98aef89ee07c924cafd63c408defa2407d7720818501af0ccf67cd46c88338fe49c0ad57467
+EBUILD wmvolman-2.0.1.ebuild 853 SHA256 7625c211500d0ec07477c114f2443602602a70b66345f9ca55c817ccc488cbf2 SHA512 0bd08b22194705da035959a680cbab302c33f76181890ae9b5acf4e7dec3fe61de526fcec2c79ba2134052c4966161770e4964ea044ba44e800c2b3033c26be7 WHIRLPOOL 2127bfb13308e5bca0cd5cfdb6de670f3ada2da71283c992b8e34895ff3a25a0e4b4674fffbee8528b2306ca1ccee7e46bfc991bf40cf41c1fd9d0ea5d922eaf
diff --git a/x11-plugins/wmvolman/files/wmvolman-2.0.1-ds-include.diff b/x11-plugins/wmvolman/files/wmvolman-2.0.1-ds-include.diff
new file mode 100644
index 0000000..bc7cf67
--- /dev/null
+++ b/x11-plugins/wmvolman/files/wmvolman-2.0.1-ds-include.diff
@@ -0,0 +1,10 @@
+diff -dPNur wmvolman-2.0.1/src/Makefile.am wmvolman-2.0.1-ds/src/Makefile.am
+--- wmvolman-2.0.1/src/Makefile.am 2013-04-02 11:32:29.000000000 +0200
++++ wmvolman-2.0.1-ds/src/Makefile.am 2017-01-29 15:47:48.757744590 +0100
+@@ -4,5 +4,5 @@
+ bin_PROGRAMS = wmvolman
+
+ wmvolman_SOURCES = main.c ui.h ui.c udisks.h udisks.c
+-wmvolman_CFLAGS = -DWMVM_ICONS_DIR=\"$(pkgdatadir)\" @X_CFLAGS@ @GLIB2_CFLAGS@ @GIO_CFLAGS@ @UDISKS_CFLAGS@
++wmvolman_CFLAGS = -DWMVM_ICONS_DIR=\"$(pkgdatadir)\" @X_CFLAGS@ @GLIB2_CFLAGS@ @GIO_CFLAGS@ @UDISKS_CFLAGS@ -I/usr/include/libdockapp
+ wmvolman_LDADD = $(LIBOBJS) @X_LIBS@ @GLIB2_LIBS@ @GIO_LIBS@ @UDISKS_LIBS@
diff --git a/x11-plugins/wmvolman/wmvolman-2.0.1-r1.ebuild b/x11-plugins/wmvolman/wmvolman-2.0.1-r1.ebuild
new file mode 100644
index 0000000..7a78a59
--- /dev/null
+++ b/x11-plugins/wmvolman/wmvolman-2.0.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmauda/wmauda-0.3.ebuild,v 1.1 2006/10/31 05:03:51 vericgar Exp $
+
+EAPI=5
+inherit eutils autotools
+
+DESCRIPTION="Dockable applet for WindowMaker that handles hotpluggable devices and removable media."
+SRC_URI="https://github.com/raorn/${PN}/archive/${PV}.tar.gz"
+HOMEPAGE="http://people.altlinux.ru/~raorn/wmvolman.html"
+
+DEPEND="sys-fs/udisks:2
+ >=x11-libs/libdockapp-0.6.0
+ >=dev-libs/glib-2.31.13"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/wmvolman-2.0.1-ds-include.diff || die "patch failed"
+}
+
+src_compile() {
+ eautoreconf || die
+ econf --prefix="/usr"
+ emake || die
+}
+
+src_install () {
+ make DESTDIR="${D}" PREFIX="/usr" install || die "make install failed"
+ dodoc README AUTHORS NEWS
+}
diff --git a/x11-plugins/wmvolman/wmvolman-2.0.1.ebuild b/x11-plugins/wmvolman/wmvolman-2.0.1.ebuild
new file mode 100644
index 0000000..47f6bd9
--- /dev/null
+++ b/x11-plugins/wmvolman/wmvolman-2.0.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmauda/wmauda-0.3.ebuild,v 1.1 2006/10/31 05:03:51 vericgar Exp $
+
+EAPI=5
+inherit eutils autotools
+
+DESCRIPTION="Dockable applet for WindowMaker that handles hotpluggable devices and removable media."
+SRC_URI="https://github.com/raorn/${PN}/archive/${PV}.tar.gz"
+HOMEPAGE="http://people.altlinux.ru/~raorn/wmvolman.html"
+
+DEPEND="sys-fs/udisks:2
+ >=x11-libs/libdockapp-0.6.0
+ >=dev-libs/glib-2.31.13"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+}
+
+src_compile() {
+ eautoreconf || die
+ econf --prefix="/usr"
+ emake || die
+}
+
+src_install () {
+ make DESTDIR="${D}" PREFIX="/usr" install || die "make install failed"
+ dodoc README AUTHORS NEWS
+}