summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/ympd')
-rw-r--r--www-apps/ympd/Manifest3
-rw-r--r--www-apps/ympd/metadata.xml11
-rw-r--r--www-apps/ympd/ympd-1.0.0.ebuild26
3 files changed, 40 insertions, 0 deletions
diff --git a/www-apps/ympd/Manifest b/www-apps/ympd/Manifest
new file mode 100644
index 0000000..7009bd1
--- /dev/null
+++ b/www-apps/ympd/Manifest
@@ -0,0 +1,3 @@
+DIST v1.0.0.tar.gz 212980 SHA256 b19bf83546608d07798eae96a0166cf068c5d4ccd2f1c8ffce775e68cea846f9 SHA512 dce92b894e6e382e659085ca8304c9d3beb0157e40b404341ace29ebbd973f6697127da2aa79242d057553732fb1f5a7eb6258cd79f104cc9359a7dbe31d1b36 WHIRLPOOL 6238daa9b6cdc222320da4e22ca4abc5cdc0134bb1beb6d219dd0c452d113e406d4c8494b371463a50375e9ffb1cdd95cd98eecf148704ee4229d79a439deee2
+EBUILD ympd-1.0.0.ebuild 590 SHA256 2e7873fea0934aaade3a01c6fcea8863058f9f3086828382121d7485d2cec7b7 SHA512 8bfb9ab6ca48502063068ae2f639a591eb0c19aa575289b160b1082067a6957d8fab71e687b159ca4d4edcedfa9396e7b33cba480f7148bccdff042be4cb25c9 WHIRLPOOL 04aeed6ab5b52350010ccb7e94580e382d7e41ae77ed74e92c8c7cc29275f072d9ea8d619ddc514f44fcac0e222c383d881cd603ee607733cb153207656ddca5
+MISC metadata.xml 495 SHA256 45ba8f508f3f02dbd5d860965863d1bfed00f2b1ff52f267745f2e1e630f7ccd SHA512 eebc78bb3e8ce3f69dc5ebe6f4a771a415b6824e606e6c8ec4cfe52ee9e0be76d82da93f80c578fadc78c8107a73d69b41ccda96e21672fa4589bb13f4a27ee6 WHIRLPOOL a944c9b24427d1aeba35cd6900c1d5b4b732ec80138b99ea91b4688b82b2d040455c31ab219712e6b549d501b3c5a71e585725408404401c5ebdf00363f58510
diff --git a/www-apps/ympd/metadata.xml b/www-apps/ympd/metadata.xml
new file mode 100644
index 0000000..40c878f
--- /dev/null
+++ b/www-apps/ympd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+ ympd is a lightweight MPD (Music Player Daemon) web client that runs without a dedicated webserver or interpreters like PHP, NodeJS or Ruby. It's tuned for minimal resource usage and requires only very litte dependencies.
+ </longdescription>
+ <use>
+ <flag name='static'>Link libwebsockets statically</flag>
+ </use>
+</pkgmetadata>
+
diff --git a/www-apps/ympd/ympd-1.0.0.ebuild b/www-apps/ympd/ympd-1.0.0.ebuild
new file mode 100644
index 0000000..63f9f1d
--- /dev/null
+++ b/www-apps/ympd/ympd-1.0.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="MPD Web GUI - written in C, utilizing Websockets and Bootstrap/JS"
+HOMEPAGE="http://www.ympd.org"
+SRC_URI="https://github.com/notandy/${PN}/archive/v${PV}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="static openssl"
+
+DEPEND=">=net-libs/libwebsockets-9999[openssl?]"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with static STATIC_WEBSOCKETS)
+ )
+ cmake-utils_src_configure
+}