diff options
Diffstat (limited to 'app-misc/g15mpd')
-rw-r--r-- | app-misc/g15mpd/Manifest | 7 | ||||
-rw-r--r-- | app-misc/g15mpd/files/g15mpd-1.0.0-cflags-and-lib-fix.patch | 18 | ||||
-rw-r--r-- | app-misc/g15mpd/files/g15mpd-1.0.0-libmpd.patch | 34 | ||||
-rw-r--r-- | app-misc/g15mpd/g15mpd-1.0.0-r1.ebuild | 38 | ||||
-rw-r--r-- | app-misc/g15mpd/metadata.xml | 8 |
5 files changed, 105 insertions, 0 deletions
diff --git a/app-misc/g15mpd/Manifest b/app-misc/g15mpd/Manifest new file mode 100644 index 000000000000..e52b4eb3e9d3 --- /dev/null +++ b/app-misc/g15mpd/Manifest @@ -0,0 +1,7 @@ +AUX g15mpd-1.0.0-cflags-and-lib-fix.patch 746 SHA256 0872e86d5e96f625fe24ed9cda2da5d8cb8e6eea20fa54407543ba8ea668f480 SHA512 79b24ec54f55741f7fb5a5a22a547e515b909e69253418de434c032179ed2a2f4e9397eabcc13de460d8c9219b3aeeafce387ba84cff17a79778ee151465b7c2 WHIRLPOOL 663283f3ef8a51d9bdb1e1b147bdfd4463589e719e7bd2e5817d112a8b9729e3a5759f48abc2db759a3a151aa527b185b4fbafcc79cb10e98f431cbfccc7838f +AUX g15mpd-1.0.0-libmpd.patch 1460 SHA256 4f169ae1184aad8208f5f5a97567f9f3ed6b5f1e38a891839b7cb66454d844bd SHA512 240c82b84c4eba2095e6fcfd0e7da7fb54197afa600dcd0ce92b3eacc9f8907e69ac64e44dfa5314a29bc4db793f9e21f8efd44589c0a3c226426cd52445945e WHIRLPOOL 0e5f40ef7d557f9340bce5ae34832d9b560d5ab8b61aae241305d0fa628d21c348c0b222ece78686a47dbacac3e10a9a0e774554df4fbd59005f28cf3eb52d70 +DIST g15mpd-1.0.0.tar.bz2 220482 SHA256 c7792951f1168144108f8eb66ae6d41b63ac2cb4448827d7e3f755ccfdc72afe SHA512 509b634c8ba1f3b9efd0d7af47b553671efe3526c9acd44b292bf5883b1016cfbf18dec69c8bb5b3a35853e76b9b4fe7a51cd2a33acf4c755d2824dc793fa0ca WHIRLPOOL 1acc183e5e0840f0e49554fc6749852716ebcfa87d897d3ff8e790c5e865ef4725a8cd1cee70691ebeae3368dd3271c108794e565948ff0620426b6baae3a3c9 +EBUILD g15mpd-1.0.0-r1.ebuild 831 SHA256 445019aeddb53f88ba39e9572e30d6e77132d6d4a77097675ea0e8f6a33743cd SHA512 17b1556661c87848367b2bf2bd3ecfeac59be417234e7dedca9bbf57e1deddae759a4ef20af685377535a9073c87c8d3bfaadd6ebe872f492745db5cbb9f3bb6 WHIRLPOOL d49c774f6898247bf1950373ae3e012c30b724ff0355581ff3084fd9184906f26eb38d0f600555cdf89086bce3e34fec70a66e3c13d5958c2b253032c7182858 +MISC ChangeLog 2607 SHA256 c8ab8b7a2be47ce57c9d0a39c00627024057d2cc5f534c813be39aa09fcfd4eb SHA512 54a708c8e4aab87ccef9fc53e646aafa72b74afed50bbfedbd6d7146e8d43f5cd02357c62d002f377a7273580cbea221ffcfab074dfbcefc8503b18779a7646b WHIRLPOOL f368cc7f34d8a986e4bdbd10dffd24e7bec6e6b436f1b9b731d005af3a29de5d194bff03271a9b17b851f362f803914045f837a40e173e0ddc157f54881185e8 +MISC ChangeLog-2015 1102 SHA256 cab9066a75ecd96c880e6d9021238523b1ba64cc3789e65781f54c94c9c258d0 SHA512 23b8f4a3ded4ec124e9250ab7cdf8101f642b504b622405bd5010513637bc32b4b9080d4cc28e680e1e10d76a30c0b02f24b771a585cd4f155c501698f773e44 WHIRLPOOL 57b59d57a7cf2da4e78123bfcfcb0f529b8414a69cab398fd26986b3dffa64e3156da571bee8324ffbb8716be98a444172808f6466aeb769df64b7b59f6fe407 +MISC metadata.xml 246 SHA256 8a3b8545a2fff69ba0d02687e8ce5e47794d6fe4878482a54a39e6476ffb2940 SHA512 b9fd89855ed25a0b766566521a33295c6d3f4469ba31da9fed2d4f133d3c56b1a59e7c4cc66171ebf6c8a9137ccded19a942072f80dcded8b7efcf0912fdfce1 WHIRLPOOL 2b82ab80a734860b9ba767c83ce0d10cf64a06bc0a00fb2134cdbb19c716680ce1a3b545e411f66b868486b1673cd79da1d0ecdd4da927ffe67d7906c83a07f6 diff --git a/app-misc/g15mpd/files/g15mpd-1.0.0-cflags-and-lib-fix.patch b/app-misc/g15mpd/files/g15mpd-1.0.0-cflags-and-lib-fix.patch new file mode 100644 index 000000000000..5bdb1261f367 --- /dev/null +++ b/app-misc/g15mpd/files/g15mpd-1.0.0-cflags-and-lib-fix.patch @@ -0,0 +1,18 @@ +diff -ruN g15mpd-1.0.0/Makefile.am g15mpd-1.0.0-patched/Makefile.am +--- g15mpd-1.0.0/Makefile.am 2014-01-17 13:43:28.536056492 -0500 ++++ g15mpd-1.0.0-patched/Makefile.am 2014-01-17 13:43:31.596056410 -0500 +@@ -1,12 +1,12 @@ + AM_CPPFLAGS = @libmpd_CFLAGS@ +-AM_CFLAGS = -O3 -Wall @CFLAGS@ -I$(top_builddir) -I$(top_srcdir) ++AM_CFLAGS = @CFLAGS@ -I$(top_builddir) -I$(top_srcdir) + METASOURCES = AUTO + bin_PROGRAMS = g15mpd + + docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) + doc_DATA = README ChangeLog AUTHORS NEWS COPYING + +-LIBS = -lg15daemon_client -lg15render -lX11 -lXtst @libmpd_LIBS@ ++LIBS = -lpthread -lg15daemon_client -lg15render -lX11 -lXtst @libmpd_LIBS@ + IMCLUDES = -I + g15mpd_LDFLAGS = -avoid-version + g15mpd_SOURCES = g15mpd.c diff --git a/app-misc/g15mpd/files/g15mpd-1.0.0-libmpd.patch b/app-misc/g15mpd/files/g15mpd-1.0.0-libmpd.patch new file mode 100644 index 000000000000..57d2fb8a1ef6 --- /dev/null +++ b/app-misc/g15mpd/files/g15mpd-1.0.0-libmpd.patch @@ -0,0 +1,34 @@ +diff --git a/Makefile.am b/Makefile.am +index e407dab..6404618 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,4 +1,4 @@ +- ++AM_CPPFLAGS = @libmpd_CFLAGS@ + AM_CFLAGS = -O3 -Wall @CFLAGS@ -I$(top_builddir) -I$(top_srcdir) + METASOURCES = AUTO + bin_PROGRAMS = g15mpd +@@ -6,7 +6,7 @@ bin_PROGRAMS = g15mpd + docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) + doc_DATA = README ChangeLog AUTHORS NEWS COPYING + +-LIBS = -lg15daemon_client -lg15render -lX11 -lXtst -lmpd ++LIBS = -lg15daemon_client -lg15render -lX11 -lXtst @libmpd_LIBS@ + IMCLUDES = -I + g15mpd_LDFLAGS = -avoid-version + g15mpd_SOURCES = g15mpd.c +diff --git a/configure.in b/configure.in +index aaa361c..83281d0 100644 +--- a/configure.in ++++ b/configure.in +@@ -18,7 +18,9 @@ AC_HEADER_SYS_WAIT + AC_CHECK_HEADERS(g15daemon_client.h libg15render.h,,AC_MSG_ERROR(["libg15daemon_client (or its devel package) could not be found. please install it"])) + AC_CHECK_HEADERS(X11/Xlib.h X11/XF86keysym.h,,AC_MSG_ERROR(["Xorg development files could not be found. please install the devel package"])) + AC_CHECK_HEADERS(X11/extensions/XTest.h,,AC_MSG_ERROR(["Xorg XTEST Extension devel headers could not be found. please install the devel package"])) +-AC_CHECK_HEADERS(libmpd/libmpd.h,,AC_MSG_ERROR(["libmpd development files could not be found. please install the libmpd devel package"])) ++PKG_CHECK_MODULES([libmpd], [libmpd]) ++AC_SUBST(libmpd_LIBS) ++AC_SUBST(libmpd_CFLAGS) + AC_PATH_X + + AC_OUTPUT(Makefile) diff --git a/app-misc/g15mpd/g15mpd-1.0.0-r1.ebuild b/app-misc/g15mpd/g15mpd-1.0.0-r1.ebuild new file mode 100644 index 000000000000..ab7d8809c69b --- /dev/null +++ b/app-misc/g15mpd/g15mpd-1.0.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="MPD (music player daemon) plugin to G15daemon" +HOMEPAGE="http://g15daemon.sourceforge.net/" +SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + >=app-misc/g15daemon-1.9 + dev-libs/libg15 + dev-libs/libg15render + >=media-libs/libmpd-0.17 + sys-libs/zlib + x11-libs/libX11 + x11-libs/libXtst +" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto" + +src_prepare() { + epatch "${FILESDIR}"/${P}-libmpd.patch + epatch "${FILESDIR}/${PN}-1.0.0-cflags-and-lib-fix.patch" + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + rm "${D}"/usr/share/doc/${P}/{COPYING,NEWS} +} diff --git a/app-misc/g15mpd/metadata.xml b/app-misc/g15mpd/metadata.xml new file mode 100644 index 000000000000..15d0bf7cfc4a --- /dev/null +++ b/app-misc/g15mpd/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">g15daemon</remote-id> + </upstream> +</pkgmetadata> |