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/pragha |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/pragha')
-rw-r--r-- | media-sound/pragha/Manifest | 9 | ||||
-rw-r--r-- | media-sound/pragha/metadata.xml | 21 | ||||
-rw-r--r-- | media-sound/pragha/pragha-1.3.1-r1.ebuild | 95 | ||||
-rw-r--r-- | media-sound/pragha/pragha-1.3.3.ebuild | 87 | ||||
-rw-r--r-- | media-sound/pragha/pragha-1.3.90.ebuild | 92 |
5 files changed, 304 insertions, 0 deletions
diff --git a/media-sound/pragha/Manifest b/media-sound/pragha/Manifest new file mode 100644 index 000000000000..e8e46fae444e --- /dev/null +++ b/media-sound/pragha/Manifest @@ -0,0 +1,9 @@ +DIST pragha-1.3.1.tar.bz2 621106 SHA256 49287152f59e5d62b57620f94b228517caaca001873c30c7abd426afacfc8a78 SHA512 17d086d84382c8e417e513c8803ea90612ca9d5c665384299362b3197978a8697faef531996b078e4ce12c52b7fad3be377083622c923775c6c738d5ae6acb93 WHIRLPOOL 1d531e588723623b99aa0bde1d2e1d8407e15cce89112847893ecf50f1fce4709ffb3bb1b5d88ce14a616db2809e81991228262fc12227cacf213d0c85a9c0ae +DIST pragha-1.3.3.tar.bz2 679754 SHA256 74844eb99df44984206d6c55b15f1b553e9f122ddb0bad00902a7b7935d0a504 SHA512 3dc87d4e75cd9f145c3921af4c09140a705611d72176fd80db2d89048bc22c8edda5f87bce75f26e0cce4f6934c927e814e5c54fec7820116485cf4e04e876a9 WHIRLPOOL 86cd62135bfe477a2ba10038968f695d4fea81eab15f219df1e1b4b76326258f08cbd60e6d344a79a76842456d10cc7c4b6e85cb059e8977a57dab616b5ee61d +DIST pragha-1.3.90.tar.bz2 760153 SHA256 eb41cb15886bd6ac749fb49b7c4ce96cf7a646b7ec94d38bed098792104842fa SHA512 877d27814927ab67a0b1defe70d753466e3ad14a0274a2168eb2521ded4eddeb04bce5177869b19ca57b38e7374047ee36982cce3f7e8a75b801cd060f8460d2 WHIRLPOOL 0118c8764841923a49f53e7c855e7ce9278deb2a29764699f787e9b285c3f930d31910452944e2a72fd9c774b58064043f22b939c4a00feb851ebfbec6f56aab +EBUILD pragha-1.3.1-r1.ebuild 2602 SHA256 060ea76576dd40372aeb570dab6e0450e9c5cfce2c1805f0b7e94ba54495eac5 SHA512 c17edf8c79aa6a16803de9cbcc9c9f62a3a5f9f02c427f80548623b087feccd6be5e10584bbe8fe01b6b559e2344b367d1db06328fd9d1081f7c37c3fd7145a4 WHIRLPOOL 5f250d98b809cfc565c714b783a9e65a0cf3df3c4e92026de57809629b8a0140a93113bdb0ee20d7673f613e2a69297f69ca4f2f14fd9f953063ed8b45a704f4 +EBUILD pragha-1.3.3.ebuild 2290 SHA256 6c02e18cf28bf39740f6d3a184dc866751df9f2b0c2b174f5b6e1380507583fd SHA512 7142e1ae0b4ad53588b212fffa572e2ea3f6a002d3d31244db485efbc65fd6cfe329458783b77a3d0d699f4b88d35a78364cd5ed8e27cf1e0b47ad0b5e15e711 WHIRLPOOL 22383c28fa700b982cb764db7c82e5256032348f2c985f2f05e2ec34c614987401789f0a15788ad6707e2c0d84bf7e49deb437c57bde480f3b11bf5c020589f2 +EBUILD pragha-1.3.90.ebuild 2487 SHA256 2f88def902ed8742869c8319ca594d6ab241f3cdc543bcfb4f8daf8ed3e9ec59 SHA512 57514988c2f5ef8e19d0abf8c329cee174be7d0e15c71bc1d0d8881cad14ceef6f4938a5610c4e3dfadf43144ddb0b87e9de10c2a031549025c8462bc4eb3c72 WHIRLPOOL 58a556442373c20006f70699e362bc661b580678edc00adb5caaf976efb05ecf56c8208d3c247aeb5e8f21193fffb59399d4bd353dfa11e807337f317b9d6120 +MISC ChangeLog 2752 SHA256 a3f6825ee729c9e131fea95bc936a42174da6740112b385a7b1571c06f49f129 SHA512 a8cff01e02ad57267e2021b08d765eb32cd9b8b575a64d05b6281ac9aa90e950ca490c66b28293a9d06463abcf3050c3b672e038fc728a7982de49eb99670b4b WHIRLPOOL a4765db8e6003fc399f444fbbb13ba6a9cfd4a16d22c4b062b6129c42cd016a43f30f5b5df6d47e6edec9c4a79298a1bc5bf2e09cae816acc8a225ac9fac6a45 +MISC ChangeLog-2015 4874 SHA256 e5761ea6cce69e3f08b65ca707a211561e009f933a627e08cae112658b28bb3e SHA512 40215c754bd18168e4593b0d0d00c31f07af52d704d3895d7eb73832750bab275b9c7df9e6169c98c991fc0168195694a666ea42032130aa55045a180a237332 WHIRLPOOL a0e9f9f9fcb3fcf6925bd316877c4aba40df942e785a241c9393ca1e51072cf294389ff67d92d6f68c422bbfde7b81c80c322d29fb4d8605ea93e286fa6080c0 +MISC metadata.xml 1158 SHA256 9347869b951a7a8a873e151724264b7c3cff8ac05c81344bd619bcca30261eee SHA512 68257f425b4e8634f4ed696e7066a8b0c328b1bca0794a72a54f438d2aaa174b4cf816cf693046221bfef88e6b8fc08dfe2211e9be98c28da0d119d957bf9812 WHIRLPOOL 32f501bce529fd7db685a07d4babd4f834f536d213ba21cc38eaeb88d0fd04085a0f91223910ae1f20280d6572e8b0345546dd56f72e7632b0d4afa0059e716b diff --git a/media-sound/pragha/metadata.xml b/media-sound/pragha/metadata.xml new file mode 100644 index 000000000000..965cbf1c844f --- /dev/null +++ b/media-sound/pragha/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>xfce@gentoo.org</email> + <name>XFCE Team</name> + </maintainer> + <use> + <flag name="glyr">Enable music metadata searchengine support using <pkg>media-libs/glyr</pkg></flag> + <flag name="grilo">Play songs on DLNA servers using <pkg>media-libs/grilo</pkg></flag> + <flag name="keybinder">Enable shortcut support using <pkg>dev-libs/keybinder</pkg></flag> + <flag name="lastfm">Enable last.fm support using <pkg>media-libs/libclastfm</pkg></flag> + <flag name="peas">Enable various plugins that will pull in <pkg>dev-libs/libpeas</pkg> as a dependency</flag> + <flag name="playlist">Enable enhanced playlist support using <pkg>dev-libs/totem-pl-parser</pkg></flag> + <flag name="rygel">Share music on DLNA using <pkg>net-misc/rygel</pkg></flag> + <flag name="soup">Search metadata on AcoustID and radios on TuneIn using <pkg>net-libs/libsoup</pkg></flag> + </use> + <upstream> + <remote-id type="github">pragha-music-player/pragha</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/pragha/pragha-1.3.1-r1.ebuild b/media-sound/pragha/pragha-1.3.1-r1.ebuild new file mode 100644 index 000000000000..48e150a7febd --- /dev/null +++ b/media-sound/pragha/pragha-1.3.1-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit xfconf # autotools + +DESCRIPTION="A lightweight music player (with support for the Xfce desktop environment)" +HOMEPAGE="https://github.com/pragha-music-player/pragha" +SRC_URI="https://github.com/pragha-music-player/${PN}/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug +glyr grilo +keybinder lastfm libnotify mtp +peas +playlist rygel soup +udev" + +COMMON_DEPEND=">=dev-db/sqlite-3.4:3= + >=dev-libs/glib-2.32:= + >=dev-libs/libcdio-0.90:= + >=dev-libs/libcdio-paranoia-0.90:= + media-libs/gst-plugins-base:1.0= + >=media-libs/libcddb-1.3.0:= + >=media-libs/taglib-1.7.0:= + >=x11-libs/gtk+-3.4:3= + >=xfce-base/libxfce4ui-4.11:=[gtk3(+)] + glyr? ( >=media-libs/glyr-1.0.1:= ) + grilo? ( >=media-libs/grilo-0.2.10:= ) + keybinder? ( >=dev-libs/keybinder-0.2.0:3= ) + lastfm? ( >=media-libs/libclastfm-0.5:= ) + libnotify? ( >=x11-libs/libnotify-0.7:= ) + mtp? ( >=media-libs/libmtp-1.1.0:= ) + peas? ( >=dev-libs/libpeas-1.0.0:=[gtk] ) + playlist? ( >=dev-libs/totem-pl-parser-2.26:= ) + rygel? ( >=net-misc/rygel-0.20:= ) + soup? ( >=net-libs/libsoup-2.38:= ) + udev? ( virtual/libgudev:= )" +RDEPEND="${COMMON_DEPEND} + media-plugins/gst-plugins-meta:1.0" +DEPEND="${COMMON_DEPEND} + dev-util/intltool + >=dev-util/xfce4-dev-tools-4.10 + sys-devel/gettext + virtual/pkgconfig" +REQUIRED_USE="glyr? ( peas ) + grilo? ( peas ) + libnotify? ( peas ) + mtp? ( udev ) + rygel? ( peas ) + soup? ( peas ) + udev? ( peas )" + +pkg_setup() { + XFCONF=( + --docdir="${EPREFIX}"/usr/share/doc/${PF} + $(use_enable debug) + $(use_enable peas libpeas-1.0) + $(use_enable glyr libglyr) + $(use_enable lastfm libclastfm) + $(use_enable playlist totem-plparser) + --with-gstreamer=1.0 + ) + + if use peas; then + XFCONF+=( + $(use_enable libnotify) + $(use_enable keybinder) + $(use_enable udev gudev-1.0) + $(use_enable mtp libmtp) + $(use_enable soup libsoup-2.4) + $(use_enable rygel rygel-server-2.2) + $(use_enable grilo grilo-0.2) + ) + else + XFCONF+=( + --disable-libnotify + --disable-keybinder + --disable-gudev-1.0 + --disable-libmtp + --disable-libsoup-2.4 + --disable-rygel-server-2.2 + --disable-grilo-0.2 + ) + fi +} + +src_prepare() { + sed -i -e '/CFLAGS/s:-g -ggdb -O0::' configure || die + + # Prevent glib-gettextize from running wrt #423115 +# export AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros +# intltoolize --automake --copy --force +# _elibtoolize --copy --force --install +# eaclocal; eautoconf; eautoheader; eautomake + + xfconf_src_prepare +} diff --git a/media-sound/pragha/pragha-1.3.3.ebuild b/media-sound/pragha/pragha-1.3.3.ebuild new file mode 100644 index 000000000000..5fadecd16a18 --- /dev/null +++ b/media-sound/pragha/pragha-1.3.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils xdg-utils + +DESCRIPTION="A lightweight music player (for Xfce)" +HOMEPAGE="https://github.com/pragha-music-player/pragha" +SRC_URI="https://github.com/pragha-music-player/${PN}/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cdda +glyr grilo +keybinder lastfm libnotify mtp +peas +playlist rygel soup +udev" + +COMMON_DEPEND=">=dev-db/sqlite-3.4:3= + >=dev-libs/glib-2.36:= + media-libs/gstreamer:1.0= + media-libs/gst-plugins-base:1.0= + >=media-libs/taglib-1.8:= + >=x11-libs/gtk+-3.8:3= + >=xfce-base/libxfce4ui-4.11:=[gtk3(+)] + cdda? ( >=dev-libs/libcdio-0.90:= + >=dev-libs/libcdio-paranoia-0.90:= + >=media-libs/libcddb-1.3.0:= ) + glyr? ( >=media-libs/glyr-1.0.1:= ) + grilo? ( >=media-libs/grilo-0.2.10:= ) + keybinder? ( >=dev-libs/keybinder-0.2.0:3= ) + lastfm? ( >=media-libs/libclastfm-0.5:= ) + libnotify? ( >=x11-libs/libnotify-0.7.5:= ) + mtp? ( >=media-libs/libmtp-1.1.0:= ) + peas? ( >=dev-libs/libpeas-1.0.0:=[gtk] ) + playlist? ( >=dev-libs/totem-pl-parser-2.26:= ) + rygel? ( >=net-misc/rygel-0.20:= ) + soup? ( >=net-libs/libsoup-2.38:= ) + udev? ( virtual/libgudev:= )" +RDEPEND="${COMMON_DEPEND} + media-plugins/gst-plugins-meta:1.0" +DEPEND="${COMMON_DEPEND} + dev-util/intltool + >=dev-util/xfce4-dev-tools-4.10 + sys-devel/gettext + virtual/pkgconfig" +REQUIRED_USE="glyr? ( peas ) + grilo? ( peas ) + libnotify? ( peas ) + mtp? ( udev ) + rygel? ( peas ) + soup? ( peas ) + udev? ( peas )" + +src_configure() { + local myconf=( + $(use_enable peas libpeas-1.0) + $(use_enable glyr libglyr) + $(use_enable lastfm libclastfm) + $(use_enable cdda libcdio) + $(use_enable cdda libcdio_paranoia) + $(use_enable cdda libcddb) + $(use_enable playlist totem-plparser) + + $(use_enable libnotify) + $(use_enable keybinder) + $(use_enable udev gudev-1.0) + $(use_enable mtp libmtp) + $(use_enable soup libsoup-2.4) + $(use_enable rygel rygel-server-2.2) + $(use_enable grilo grilo-0.2) + ) + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} diff --git a/media-sound/pragha/pragha-1.3.90.ebuild b/media-sound/pragha/pragha-1.3.90.ebuild new file mode 100644 index 000000000000..c5dfe2453911 --- /dev/null +++ b/media-sound/pragha/pragha-1.3.90.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils xdg-utils + +DESCRIPTION="A lightweight music player (for Xfce)" +HOMEPAGE="https://github.com/pragha-music-player/pragha" +SRC_URI="https://github.com/pragha-music-player/${PN}/releases/download/V${PV}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cdda +glyr grilo +keybinder lastfm libnotify mtp +peas +playlist rygel soup +udev" + +COMMON_DEPEND=">=dev-db/sqlite-3.4:3= + >=dev-libs/glib-2.36:= + media-libs/gstreamer:1.0= + media-libs/gst-plugins-base:1.0= + >=media-libs/taglib-1.8:= + >=x11-libs/gtk+-3.8:3= + >=xfce-base/libxfce4ui-4.11:=[gtk3(+)] + cdda? ( >=dev-libs/libcdio-0.90:= + >=dev-libs/libcdio-paranoia-0.90:= + >=media-libs/libcddb-1.3.0:= ) + glyr? ( >=media-libs/glyr-1.0.1:= ) + grilo? ( media-libs/grilo:0.3=[network] ) + keybinder? ( >=dev-libs/keybinder-0.2.0:3= ) + lastfm? ( >=media-libs/libclastfm-0.5:= ) + libnotify? ( >=x11-libs/libnotify-0.7.5:= ) + mtp? ( >=media-libs/libmtp-1.1.0:= ) + peas? ( >=dev-libs/libpeas-1.0.0:=[gtk] ) + playlist? ( >=dev-libs/totem-pl-parser-2.26:= ) + rygel? ( >=net-misc/rygel-0.26:= ) + soup? ( >=net-libs/libsoup-2.38:= ) + udev? ( virtual/libgudev:= )" +RDEPEND="${COMMON_DEPEND} + media-plugins/gst-plugins-meta:1.0" +DEPEND="${COMMON_DEPEND} + dev-util/intltool + >=dev-util/xfce4-dev-tools-4.10 + sys-devel/gettext + virtual/pkgconfig" +REQUIRED_USE="glyr? ( peas ) + grilo? ( peas ) + libnotify? ( peas ) + mtp? ( udev ) + rygel? ( peas ) + soup? ( peas ) + udev? ( peas )" + +src_configure() { + local myconf=( + $(use_enable peas libpeas-1.0) + $(use_enable glyr libglyr) + $(use_enable lastfm libclastfm) + $(use_enable cdda libcdio) + $(use_enable cdda libcdio_paranoia) + $(use_enable cdda libcddb) + $(use_enable playlist totem-plparser) + + $(use_enable libnotify) + $(use_enable keybinder) + $(use_enable udev gudev-1.0) + $(use_enable mtp libmtp) + $(use_enable soup libsoup-2.4) + $(use_enable rygel rygel-server-2.6) + $(use_enable grilo grilo-0.3) + $(use_enable grilo grilo-net-0.3) + # avoid trying to use 0.2 & 0.3 simultaneously + # https://github.com/pragha-music-player/pragha/issues/124 + --disable-grilo-0.2 + --disable-grilo-net-0.2 + ) + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |