logo

overlay

My (experimental) gentoo overlay
commit: 7a8def42fc5641bc1378cf530e1dc91d7da8740a
parent: 9843bef3c2b9a889b4805afd266b1d3fe3a27770
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  4 Apr 2019 06:37:24 +0200

media-sound/milkytracker: Bump to 1.02.00 (based on ::gentoo)

Diffstat:

Amedia-sound/milkytracker/Manifest1+
Amedia-sound/milkytracker/metadata.xml8++++++++
Amedia-sound/milkytracker/milkytracker-1.02.00.ebuild42++++++++++++++++++++++++++++++++++++++++++
3 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/media-sound/milkytracker/Manifest b/media-sound/milkytracker/Manifest @@ -0,0 +1 @@ +DIST milkytracker-1.02.00.tar.gz 1365619 BLAKE2B 3069d1b9ee989c23c09eff22bcf015eb7af43e814f13014bbb5fc0f545bd2e98c27ad32074ed4b2edbc0a2527ef82356ad5f4efaa33ea12c11985f31b4d6f16a SHA512 f5efd57d0c14108b4c2ae1b4a6f835529e5bea505c796e0c7aa98dc566c3f2e922af1d5fd197fd339b9980f0eb2961eca0173b9e1e6eec242b7d7d66f05475e3 diff --git a/media-sound/milkytracker/metadata.xml b/media-sound/milkytracker/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 type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> +</pkgmetadata> diff --git a/media-sound/milkytracker/milkytracker-1.02.00.ebuild b/media-sound/milkytracker/milkytracker-1.02.00.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils desktop + +DESCRIPTION="FastTracker 2 inspired music tracker" +HOMEPAGE="https://milkytracker.titandemo.org/" +SRC_URI="https://github.com/milkytracker/MilkyTracker/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-3 MPL-1.1 ) AIFFWriter.m BSD GPL-3 GPL-3+ LGPL-2.1+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa jack" + +RDEPEND=" + dev-libs/zziplib + media-libs/libsdl2[X] + sys-libs/zlib + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/MilkyTracker-${PV}" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} + $(cmake-utils_use_find_package alsa ALSA) + $(cmake-utils_use_find_package jack JACK) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + newicon resources/pictures/carton.png ${PN}.png + make_desktop_entry ${PN} MilkyTracker ${PN} \ + "AudioVideo;Audio;Sequencer" +}