Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/helm/files/, media-sound/helm/
Date: Sun, 27 Jan 2019 23:13:48
Message-Id: 1548630723.a8d65305984352f3e1325dd64f7439cd373911cd.asturm@gentoo
1 commit: a8d65305984352f3e1325dd64f7439cd373911cd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 27 21:10:46 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 27 23:12:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d65305
7
8 media-sound/helm: 0.9.0 version bump, EAPI-7 bump, https
9
10 Bug: https://bugs.gentoo.org/638150
11 Closes: https://bugs.gentoo.org/645592
12 Thanks-to: Malcolm Lashley <mlashley <AT> gmail.com>
13 Package-Manager: Portage-2.3.58, Repoman-2.3.12
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 media-sound/helm/Manifest | 1 +
17 .../helm/files/helm-0.9.0-nomancompress.patch | 24 ++++++++++
18 media-sound/helm/helm-0.9.0.ebuild | 56 ++++++++++++++++++++++
19 3 files changed, 81 insertions(+)
20
21 diff --git a/media-sound/helm/Manifest b/media-sound/helm/Manifest
22 index f9eace6f23d..7e7894ba05e 100644
23 --- a/media-sound/helm/Manifest
24 +++ b/media-sound/helm/Manifest
25 @@ -1 +1,2 @@
26 DIST helm-0.4.1.tar.gz 10170154 BLAKE2B 8939a365c5cec2f1ced1d03855cc76ab532e168866b566e8adc575be8d16b9825bf1259c912c9e74f5465d68e7984a525c430cf57eb1439814d15fb38d3cf02e SHA512 093abfd47a7f3e25d168df675b8a9c067a361ae1891af208c75ec4bc02d8a30cc5de4ab2433179bcbb6074c142c8ef9b4ef11b1854fdde0551fcd340dd6b8fe0
27 +DIST helm-0.9.0.tar.gz 15544141 BLAKE2B 1b6811f32cf36a1c1f954cc071cd64f3dca656ee0bd420c01d0be3db516210a92adc3694ac49731cf2d7cf057a9eccf2c2dcefc14d24cf8582a3eb69efe1d0e1 SHA512 241c6bf3aec422e9ccaf7c7113eec7e30a11baadd30fe8f05f0abfac9c41d0c8a9fb284f0cae49bcaf0d3d08aa952737f6ff3eb7d48c2b2e22c60932738aeaa4
28
29 diff --git a/media-sound/helm/files/helm-0.9.0-nomancompress.patch b/media-sound/helm/files/helm-0.9.0-nomancompress.patch
30 new file mode 100644
31 index 00000000000..fab39468873
32 --- /dev/null
33 +++ b/media-sound/helm/files/helm-0.9.0-nomancompress.patch
34 @@ -0,0 +1,24 @@
35 +--- a/Makefile 2018-11-13 23:44:54.081925553 +0000
36 ++++ b/Makefile 2018-11-13 23:45:34.136381471 +0000
37 +@@ -91,7 +91,6 @@
38 + $(MAKE) clean -C builds/linux/VST CONFIG=$(CONFIG)
39 +
40 + install_patches:
41 +- rm -rf $(PATCHES)
42 + install -d $(PATCHES)
43 + cp -rf patches/* $(PATCHES)
44 +
45 +@@ -100,11 +99,8 @@
46 + install standalone/builds/linux/build/$(PROGRAM) $(BIN)
47 + install -m644 standalone/helm.desktop $(DESKTOP)/helm.desktop
48 + install -m644 images/* $(IMAGES)
49 +- cp changelog changes
50 +- gzip -n -9 changelog
51 +- mv changes changelog
52 +- mv changelog.gz $(CHANGES)/changelog.gz
53 +- cp docs/helm.1.gz $(MAN)
54 ++ gunzip docs/helm.1.gz
55 ++ cp docs/helm.1 $(MAN)
56 +
57 + install_lv2: lv2 install_patches
58 + install -d $(PATCHES) $(LV2)
59
60 diff --git a/media-sound/helm/helm-0.9.0.ebuild b/media-sound/helm/helm-0.9.0.ebuild
61 new file mode 100644
62 index 00000000000..5ca560251ae
63 --- /dev/null
64 +++ b/media-sound/helm/helm-0.9.0.ebuild
65 @@ -0,0 +1,56 @@
66 +# Copyright 1999-2019 Gentoo Authors
67 +# Distributed under the terms of the GNU General Public License v2
68 +
69 +EAPI=7
70 +
71 +inherit desktop xdg-utils
72 +
73 +DESCRIPTION="Open source polyphonic software synthesizer with lots of modulation"
74 +HOMEPAGE="https://tytel.org/helm/"
75 +SRC_URI="https://github.com/mtytel/helm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
76 +
77 +LICENSE="GPL-3+"
78 +SLOT="0"
79 +KEYWORDS="~amd64"
80 +IUSE=""
81 +
82 +DEPEND="
83 + media-libs/alsa-lib
84 + media-libs/freetype
85 + media-libs/lv2
86 + virtual/jack
87 + virtual/opengl
88 + x11-libs/libX11
89 + x11-libs/libXcursor
90 + x11-libs/libXext
91 + x11-libs/libXinerama
92 + x11-libs/libXrandr"
93 +RDEPEND="${DEPEND}
94 + !app-admin/helm
95 +"
96 +
97 +DOCS=( changelog README.md )
98 +
99 +PATCHES=( "${FILESDIR}/${P}-nomancompress.patch" )
100 +
101 +src_prepare() {
102 + default
103 + sed -e "s|/usr/lib/|/usr/$(get_libdir)/|" -i Makefile || die
104 +}
105 +
106 +src_compile() {
107 + emake PREFIX=/usr all
108 +}
109 +
110 +src_install() {
111 + default
112 + make_desktop_entry /usr/bin/helm Helm /usr/share/helm/icons/helm_icon_32_1x.png
113 +}
114 +
115 +pkg_postinst() {
116 + xdg_desktop_database_update
117 +}
118 +
119 +pkg_postrm() {
120 + xdg_desktop_database_update
121 +}