From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/denemo/
Date: Fri, 12 Nov 2021 13:04:06 +0000 (UTC) [thread overview]
Message-ID: <1636722236.ab6037bafea4249cc2d7dfb41b045e2c3dd3e512.juippis@gentoo> (raw)
commit: ab6037bafea4249cc2d7dfb41b045e2c3dd3e512
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Tue Nov 2 19:51:39 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Nov 12 13:03:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab6037ba
media-sound/denemo: fix updating font-cache generation
Calls fc-cache implicitly to update global fontcache for
the installed truetype fonts.
Closes: https://bugs.gentoo.org/821079
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-sound/denemo/denemo-2.5.0-r1.ebuild | 123 ++++++++++++++++++++++++++++++
1 file changed, 123 insertions(+)
diff --git a/media-sound/denemo/denemo-2.5.0-r1.ebuild b/media-sound/denemo/denemo-2.5.0-r1.ebuild
new file mode 100644
index 00000000000..11db5633d21
--- /dev/null
+++ b/media-sound/denemo/denemo-2.5.0-r1.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools font xdg
+
+DESCRIPTION="A music notation editor"
+HOMEPAGE="http://www.denemo.org/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+ OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# configure options currently not used:
+# --enable-mem(no) memory debugging: needs Electric fence (efence), which
+# is not available in portage. See https://github.com/boundarydevices/efence
+# --enable-gtk-doc-pdf(no) doesn't work
+IUSE="alsa +aubio debug jack +fluidsynth gtk-doc nls +portaudio +portmidi
+ +rubberband test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=app-text/evince-3.22.1-r1:=
+ dev-libs/libxml2:2
+ >=dev-scheme/guile-2:12=
+ gnome-base/librsvg:2
+ media-libs/fontconfig:1.0
+ >=media-libs/libsmf-1.3
+ >=media-libs/libsndfile-1.0.28-r1
+ >=media-sound/lilypond-2.19.54
+ x11-libs/gtk+:3
+ x11-libs/gtksourceview:3.0=
+ alsa? ( >=media-libs/alsa-lib-1.1.2 )
+ aubio? ( >=media-libs/aubio-0.4.1-r1:= )
+ fluidsynth? ( >=media-sound/fluidsynth-1.1.6-r1:= )
+ jack? ( virtual/jack )
+ portaudio? (
+ >=media-libs/portaudio-19_pre20140130
+ sci-libs/fftw:3.0=
+ )
+ portmidi? ( >=media-libs/portmidi-217-r1 )
+ rubberband? ( >=media-libs/rubberband-1.8.1-r1 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-util/gtk-doc-am-1.25-r1
+ >=dev-util/intltool-0.51.0-r1
+ >=sys-devel/flex-2.6.1
+ virtual/pkgconfig
+ virtual/yacc
+ gtk-doc? ( >=dev-util/gtk-doc-1.25-r1 )
+ nls? ( >=sys-devel/gettext-0.19.8.1 )
+"
+
+DOCS=( AUTHORS ChangeLog docs/{DESIGN{,.lilypond},GOALS,TODO} NEWS )
+
+src_prepare() {
+ sed -e '/^Categories=/s/GNOME\;/GNOME\;GTK\;/' -i pixmaps/denemo.desktop || die
+ sed -e 's|appdatadir = \$(datarootdir)/appdata|appdatadir = \$(datarootdir)/metainfo|' \
+ -i Makefile.am || die
+ default
+ eautoreconf
+}
+
+src_configure() {
+ myeconfargs=(
+ --disable-gtk-doc-pdf
+ --disable-gtk2
+ --disable-installed-tests
+ --disable-mem
+ --disable-rpath
+ --disable-static
+ --enable-evince
+ --enable-gtk3
+ --enable-x11
+ $(use_enable alsa)
+ $(use_enable aubio)
+ $(use_enable debug)
+ # --enable-doc does nothing for itself
+ # basic html documentation is always being installed in the
+ # /usr/share/denemo/manual directory
+ $(use_enable gtk-doc doc)
+ $(use_enable gtk-doc gtk-doc)
+ $(use_enable gtk-doc gtk-doc-html)
+ $(use_enable fluidsynth)
+ $(use_enable jack)
+ $(use_enable nls)
+ $(use_enable portaudio)
+ $(use_enable portmidi)
+ $(use_enable rubberband)
+ $(use_enable test always-build-tests)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ # make check fails if used with parallel builds
+ emake -j1 check
+}
+
+src_install() {
+ default
+
+ # link html documentation installed in /usr/share/denemo/manual
+ dodir /usr/share/doc/${PF}/html
+ local f
+ for f in denemo-manual.html denemo.css images; do
+ dosym ../../../denemo/manual/"${f}" /usr/share/doc/${PF}/html/"${f}"
+ done
+}
+
+pkg_postinst() {
+ font_pkg_postinst
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ font_pkg_postrm
+ xdg_desktop_database_update
+}
next reply other threads:[~2021-11-12 13:04 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-12 13:04 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-19 14:10 [gentoo-commits] repo/gentoo:master commit in: media-sound/denemo/ Sam James
2024-11-08 3:54 Sam James
2024-01-12 7:07 Joonas Niilola
2024-01-11 9:38 Sam James
2023-04-29 6:06 Sam James
2023-02-28 13:58 Joonas Niilola
2022-10-18 2:36 Sam James
2022-10-18 2:31 Sam James
2022-06-03 10:18 Joonas Niilola
2022-06-03 10:18 Joonas Niilola
2022-03-24 12:46 Joonas Niilola
2022-03-24 12:46 Joonas Niilola
2022-01-24 9:25 Jakov Smolić
2022-01-24 9:25 Jakov Smolić
2021-05-19 17:25 Sam James
2021-05-19 17:22 Sam James
2021-04-13 7:51 Joonas Niilola
2021-04-11 11:11 Sam James
2021-04-11 0:13 Thomas Deutschmann
2021-02-07 17:07 Conrad Kostecki
2020-03-21 18:56 Andreas Sturmlechner
2020-02-16 14:53 Andreas Sturmlechner
2020-02-16 14:51 Andreas Sturmlechner
2019-12-16 9:40 Miroslav Šulc
2018-04-20 19:45 David Seifert
2016-02-11 0:48 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1636722236.ab6037bafea4249cc2d7dfb41b045e2c3dd3e512.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox