diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/scmpc |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/scmpc')
-rw-r--r-- | media-sound/scmpc/Manifest | 6 | ||||
-rw-r--r-- | media-sound/scmpc/files/scmpc-2.init | 19 | ||||
-rw-r--r-- | media-sound/scmpc/metadata.xml | 4 | ||||
-rw-r--r-- | media-sound/scmpc/scmpc-0.4.1.ebuild | 31 |
4 files changed, 60 insertions, 0 deletions
diff --git a/media-sound/scmpc/Manifest b/media-sound/scmpc/Manifest new file mode 100644 index 000000000000..5ccfaad10ecf --- /dev/null +++ b/media-sound/scmpc/Manifest @@ -0,0 +1,6 @@ +AUX scmpc-2.init 317 SHA256 1e9000bf38df68b91b6cf83270f0f4e39582a461c305bc3cc4593394161dba80 SHA512 58cd9269acbdb92bd4ab0ae23c1f5a07909debf9b37131824827089aece9552493b984f5d73c654a7f6ef47e7bb496e424cbe3885db932ab5554bee9f296f0df WHIRLPOOL 0b2ea6e6d017853c0690604996d1fd904d05e25573c70c27fdeea4c4b5b4bbe73521fd1118c4ad6b4548e99953e6687ae216e672ed9c56d408a1cd8d68b70519 +DIST scmpc-0.4.1.tar.bz2 88288 SHA256 f89958dc0449f1dfbcbe81b453986812196dc86200153ac700cf606297c3fde3 SHA512 7d9f8aad29d58f2227a6149a6b4c9bfc4d400946ac316cbb34482feffd71619c1f311cb1ce6f02c22912793e866661e4d976c8f4ee99ffd1e76be65c9a06d876 WHIRLPOOL 15036bae6c20670c5bc605f3c4b3a52a97f4527bdde6ac94788ec651c2f785bdc6c705644ae4937a7bf66a4ad498f858a14fbdbe4f821c007349e7026207fc62 +EBUILD scmpc-0.4.1.ebuild 663 SHA256 5081ae8426e951236e3614671f3033c85c5c2457b532f34b34d1d7f7ee7847ae SHA512 964e38c230f79930c210f481cf0227ea7a3136e7b98b4feabe0eb2ef3164fd4cb639178efc0a713f1ed5b0085e1844ff28e40ce585e2bac163daf3377d3d1bfe WHIRLPOOL 47db86f0eda4f743d81d3f1401ce0d66c55bd605568b450fb5d1232d1f50d24687f47924790f0bd1a2d55213c924e9d3d9b0a7084f2246646f0d3f8b74932b04 +MISC ChangeLog 3123 SHA256 45ec3ca1d19db399c3751eea87abb32e8b9b831c8f56dab430d9ff80377882ac SHA512 94d898cb563f06e6a83591495b6c08a4c1585ce8cec88a669c92fc2491ac416e86ea58c95bbdfc7963a0d4cc8e75b715c40ffc6a2f9544646e0b203f1800a5de WHIRLPOOL 6193d73a45e84a3a70284900fe36ccd634cbbaaf7c5c8216409336dda043dd348ff76b4fa0c44202695088fb16ca1eb181c78e63696d1555bd18d1ae6eb13b10 +MISC ChangeLog-2015 3111 SHA256 953a38817716d5fd097c2ff4ab6c1f6ad183d27ffd0576aa8b617d3817ccef25 SHA512 d02bcad28c396cf49cfe5a29155083a991fa2148bdbbbe02c402a7471884e31a807c289fbb32b65bfa0332bd570e419fbc7a86868b62a142ce55be5989f59721 WHIRLPOOL 19375a03a6b894c4100b88fb566720309c318d7c28a1058fff26942511a78c264bba388c045bc867ceae1b46fbedd9cbe7beed8e1062c2f109cd7f0d01bf8e63 +MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630 diff --git a/media-sound/scmpc/files/scmpc-2.init b/media-sound/scmpc/files/scmpc-2.init new file mode 100644 index 000000000000..afd48028a852 --- /dev/null +++ b/media-sound/scmpc/files/scmpc-2.init @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + use net mpd +} + +start() { + ebegin "Starting scmpc" + /usr/bin/scmpc -f /etc/scmpc.conf + eend $? +} + +stop() { + ebegin "Stopping scmpc" + /usr/bin/scmpc -kf /etc/scmpc.conf + eend $? +} diff --git a/media-sound/scmpc/metadata.xml b/media-sound/scmpc/metadata.xml new file mode 100644 index 000000000000..097975e3adc2 --- /dev/null +++ b/media-sound/scmpc/metadata.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +</pkgmetadata> diff --git a/media-sound/scmpc/scmpc-0.4.1.ebuild b/media-sound/scmpc/scmpc-0.4.1.ebuild new file mode 100644 index 000000000000..714a7b51ba2a --- /dev/null +++ b/media-sound/scmpc/scmpc-0.4.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +DESCRIPTION="a client for MPD which submits your tracks to last.fm" +HOMEPAGE="https://cmende.github.com/scmpc/" +SRC_URI="https://dev.gentoo.org/~angelos/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-libs/glib:2 + dev-libs/confuse + media-libs/libmpdclient + net-misc/curl" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README.md scmpc.conf.example ) + +src_install() { + default + + newinitd "${FILESDIR}"/${PN}-2.init ${PN} + insinto /etc + insopts -m600 + newins scmpc.conf.example scmpc.conf +} |