From b279bbe94522565b8feb19b8e5f377d3ea76f157 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Mar 2018 10:19:03 +0000 Subject: gentoo resync : 24.03.2018 --- media-sound/Manifest.gz | Bin 62768 -> 62768 bytes media-sound/lame/Manifest | 3 - media-sound/lame/lame-3.99.5-r1.ebuild | 80 --------------- media-sound/lilypond/Manifest | 5 - media-sound/lilypond/lilypond-2.19.54.ebuild | 147 --------------------------- media-sound/lilypond/lilypond-2.19.64.ebuild | 147 --------------------------- media-sound/lilypond/lilypond-2.19.80.ebuild | 147 --------------------------- 7 files changed, 529 deletions(-) delete mode 100644 media-sound/lame/lame-3.99.5-r1.ebuild delete mode 100644 media-sound/lilypond/lilypond-2.19.54.ebuild delete mode 100644 media-sound/lilypond/lilypond-2.19.64.ebuild delete mode 100644 media-sound/lilypond/lilypond-2.19.80.ebuild (limited to 'media-sound') diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz index 685df2fbac41..115e3b67b0fb 100644 Binary files a/media-sound/Manifest.gz and b/media-sound/Manifest.gz differ diff --git a/media-sound/lame/Manifest b/media-sound/lame/Manifest index cd68b7313622..d60b0b4ec628 100644 --- a/media-sound/lame/Manifest +++ b/media-sound/lame/Manifest @@ -3,8 +3,5 @@ AUX lame-3.98-gtk-path.patch 8523 BLAKE2B 9b5231402293a61f8366383a704056e60edbcb AUX lame-3.99.5-msse.patch 557 BLAKE2B 76b1201e0909ee408a9556ffeb3d41b4bd749407b17ab0dc98582c01b027d492ac6e2f09c8758a59a6bb2649fa1c7a55e96fccab0525b0dcb70b6ea44a034dc0 SHA512 9bf5a1b0f8955aeedff6effcab7f657961ad60ce00b5f455c05ce39ad5b03c2a809ba7225a3a33b61b84a36665fafac53e35b14e0d357289e66194a4f0ef9807 AUX lame-3.99.5-tinfo.patch 768 BLAKE2B 3fbbd31b0b5752ee4c2dad573d053edcbfb80d24b68a876c2092cae37d3450ac6044ec14d26b180a46197093151d614be8400f33ff7b1f6968130412daacefa5 SHA512 504428e0a0b43c467848296c219ac855ffc9bd83fadb54107e8f6b99290b91bc36457635a092fc121972a3c89918f2d81b42f98f6d007f9b571c7bc3f9c2895e DIST lame-3.100.tar.gz 1524133 BLAKE2B 6954d30cfd3951ea07762ba5dd7ff27038b78455f423099a225ebf748abddf9970e444456ca5a6179bd381e2205b32293392cb757c203901674860710fe2c183 SHA512 0844b9eadb4aacf8000444621451277de365041cc1d97b7f7a589da0b7a23899310afd4e4d81114b9912aa97832621d20588034715573d417b2923948c08634b -DIST lame-3.99.5-automake-2.12.patch.gz 536 BLAKE2B d8e3aa813abdd255c4e95d55936f0f53bec08af8dcfa0eec7ed9978d569fe566085f92e2bb4962b13ef56c7f8a57e2100ca767b3ae9bc13ca5dfe3bad012fc77 SHA512 9d6211e257d573ced5c29c43ba5d5cc98a231b213d6e0cfc352b14776c06c9e656ed1873d5caae466afb27dfe753eeac0842c7221a8538ccecea8f4ba0f8bfe2 -DIST lame-3.99.5.tar.gz 1445348 BLAKE2B 3bb2e3b680fb03a2af517b9d03a20e9366326a410fe9c3688323eb7cad7186273d25071258fe4df38bb47f9ee033a5b9e3fa8a508e65058f37485f204c580c72 SHA512 ce62d7eb9fc8c53c343374ded30f11153a296910f0be7e649197bca7412c6660aad1aa6143d56b750f866229eb492cf7bb4f682535c383fb4aa57d7077d8b4d8 EBUILD lame-3.100-r1.ebuild 2142 BLAKE2B a733e4bf5610e8d246e2648a500252315b09e4149d3c1c454d67bc91e5b6f097e43e59fc7298dc75a0d41331bf7f5f448f2097416339ffc5d987c01f77f12e78 SHA512 58d0897f2c5591aefc38e4ab872787d3b08dade10dc56983a8b127b7250c245dbea11ad2624ef623948881d95bfaa4f0a6f483b4b3c334dd1a3bbd223cd6cc9f -EBUILD lame-3.99.5-r1.ebuild 2402 BLAKE2B f69842907db899e1dae026baa536e1d18b42bac040c05cb8e3eab7022944f9b4567eff3b7b2baab19d33a285a5606ed32d0d277af243ada2b390ba18b7efffca SHA512 44b525e5c78e1907a1a4f7e9991c727c378d3033cffd36ded7b2c6621abe7f8265da8b592864a2979ef180ac100f67d85ac3c5e966dc7167fe32f7e7b7d19945 MISC metadata.xml 542 BLAKE2B 726f3dfefda9c1905739448f1a3124e05ddc90e261d147da12a7839185ef3eeb440678d185510a6bdd4bb71ab987b7a24f52ed108f7c646ca6b651434f9fade1 SHA512 8fc2e2658ae34d146894786f1c66800eecf818e2bd9bb807c6b32a8e132340c1568e9f47220be3daaabce2ab6e1e1d5aa817157f2c0131ed01944abbab6593fb diff --git a/media-sound/lame/lame-3.99.5-r1.ebuild b/media-sound/lame/lame-3.99.5-r1.ebuild deleted file mode 100644 index 63a1db9b353f..000000000000 --- a/media-sound/lame/lame-3.99.5-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils multilib-minimal - -DESCRIPTION="LAME Ain't an MP3 Encoder" -HOMEPAGE="http://lame.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz - mirror://gentoo/${P}-automake-2.12.patch.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="debug cpu_flags_x86_mmx +frontend mp3rtp sndfile static-libs" - -# These deps are without MULTILIB_USEDEP and are correct since we only build -# libmp3lame for multilib and these deps apply to the lame frontend executable. -RDEPEND=" - frontend? ( - >=sys-libs/ncurses-5.7-r7:0= - sndfile? ( >=media-libs/libsndfile-1.0.2 ) - ) - abi_x86_32? ( !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" -DEPEND="${RDEPEND} - virtual/pkgconfig - cpu_flags_x86_mmx? ( dev-lang/nasm )" - -src_prepare() { - epatch -p1 \ - "${FILESDIR}"/${PN}-3.96-ccc.patch \ - "${FILESDIR}"/${PN}-3.98-gtk-path.patch \ - "${FILESDIR}"/${PN}-3.99.5-tinfo.patch \ - "${FILESDIR}"/${PN}-3.99.5-msse.patch \ - "${WORKDIR}"/${P}-automake-2.12.patch - - mkdir libmp3lame/i386/.libs || die #workaround parallel build with nasm - - sed -i -e '/define sp/s/+/ + /g' libmp3lame/i386/nasm.h || die - - use cpu_flags_x86_mmx || sed -i -e '/AC_PATH_PROG/s:nasm:dIsAbLe&:' configure.in #361879 - - AT_M4DIR=. eautoreconf -} - -multilib_src_configure() { - local myconf - use cpu_flags_x86_mmx && myconf+="--enable-nasm" #361879 - - # Only build the frontend for the default ABI. - if [ "${ABI}" = "${DEFAULT_ABI}" ] ; then - myconf+=" $(use_enable mp3rtp) $(use_enable frontend)" - use sndfile && myconf+=" --with-fileio=sndfile" - else - myconf+=" --disable-frontend --disable-mp3rtp" - fi - - ECONF_SOURCE="${S}" econf \ - $(use_enable static-libs static) \ - $(use_enable debug debug norm) \ - --disable-mp3x \ - --enable-dynamic-frontends \ - ${myconf} -} - -multilib_src_install() { - emake DESTDIR="${D}" pkghtmldir="${EPREFIX}/usr/share/doc/${PF}/html" install -} - -multilib_src_install_all() { - cd "${S}" - dobin misc/mlame - - dodoc API ChangeLog HACKING README STYLEGUIDE TODO USAGE - docinto html - dodoc misc/lameGUI.html Dll/LameDLLInterface.htm - - find "${ED}" -name '*.la' -exec rm -f {} + -} diff --git a/media-sound/lilypond/Manifest b/media-sound/lilypond/Manifest index ef7f1563f054..1571a4695e2a 100644 --- a/media-sound/lilypond/Manifest +++ b/media-sound/lilypond/Manifest @@ -4,13 +4,8 @@ AUX lilypond-2.18.2-fontforge.patch 924 BLAKE2B 5f128e65357033c2b2ae33d5f00cccd7 AUX lilypond-2.19.80-remove-ly-protect.patch 1534 BLAKE2B fbb07b254ac8c41ac3db4c00203efd46fa48b0d3157d0ac57f60587bacae6d0cee6d1694f7a1a74b4fc1d31b338f31dd55daf294872cf8cd85d090683853cbcb SHA512 ec74abc959b569ef43eae0709ea62f012d41700dcebcb9cb4ece551b0095e593e6ac579520a3be3bef648e04ee69b3549f9152158c705ebb615ecb66f0f4d0fd AUX lilypond-9999-programming_error.patch 479 BLAKE2B f5375c71b2a82340dcda7ca24b8f1a5f106642c9edff2dd35ccb5793e88cd5bc512bbc47ce9636d2536cef18b76bbf5e38325c635377405a277ac405d741c6ed SHA512 4ef02c68b919792199142e83607409f6e3037367e090540a257d611ce7ebe1620c586bbeaaef2d5a953e71074ecbf92cef9710bd4bda9ebfee0ab93ca6f59c9d DIST lilypond-2.18.2.tar.gz 16027977 BLAKE2B b19b608891e22403efe8e18dd9e86c8d0c85ba516f34242f2a8bcb53c8849a3aa0fe83726036d168f26ee1a7d868a24cc54bd86016b016d634218956e8faf0d4 SHA512 0692f6eb41733076ba7f610cd1e65762f4dfd67307e2ab9e222b140d58ae3a1bb1c6b3be3bcff778d57f161868cf6d57e99bf43bf20f2663d042a07493942ec6 -DIST lilypond-2.19.54.tar.gz 17068093 BLAKE2B ebc3100a55affd9b89fa93abf32c7c74cf1fc3f3b026c77d7893d7cd622079a236f5690692a98bf258bea4f3cfd764307c730a1896da0b853eddda6498414d00 SHA512 bcf682595017e5ad9125c3c8e89c00faa3ab7f84ac92dce06ac6ea1d93f358d779f83b2391e36219ea8f76fa569c9f3c17120024cca4cf43a0facb2b24127c8b -DIST lilypond-2.19.64.tar.gz 17174255 BLAKE2B 840b91ff39648e7ad741d1139a2040ee33aa922934a7bf891649ea99cf4aa95b0e82a98421e154cae3fb617ac8b38dc412e072206e3437e770801fe91ab914a3 SHA512 f0728496b0271c55e29871f23df53ea1be7036029c85a5ba4b88cd7c6005ff0ec880ab0992e9d99c36c7e82e83023a809f783e69f10982de3ccdd161f38ecec9 DIST lilypond-2.19.80.tar.gz 17244725 BLAKE2B f0883d59b1a14634d5d32e6a6f02c0a224643d6d28a3da623d5163396b74ebd15c3307c33c4d96778254fb6486a74c3324d26e3015d51fa163e3765f2c3767aa SHA512 13a7f258bac8ff77ad6d3879f128e86dd5bf45c7780c9738e6976915574d2dfc5404e6f49ca61dcaf8bb15eb266e65fedec4131a50ded7ab305d1856bbd7a3d6 EBUILD lilypond-2.18.2-r3.ebuild 3211 BLAKE2B 3e87556e56d9fdf00535b816a952fe5a133ad46f71668a0d02102c09c9f73b799c5d370d6ed788434901da5217524ee7675a3a10338831f5d2df44ef95525b9f SHA512 3f8ad4d240e1df1ed32c1b2fcfb2755dc4aa9f1c018693df543074cf776034bf4b4b89c7129952004ea72ef7f053dadfb9d9bf696be9e6ebd04951b6f366677b -EBUILD lilypond-2.19.54.ebuild 3399 BLAKE2B 77abc9030a62433771b1391e122227f2e0427e13d6f5950e7ba8cb62098597fceb9a9e3bd6230d708ce34f5307093dddb1d22f3eb04bd6c49810936ea30f19a2 SHA512 ce3e64258da9585188d53c6ca079194a5f0bdff0286bec3fcdcea118572cce2ef3b8e81a56536f3b66cd82e174ba6c3435723ed451c2a58b7471f8d15e76fbaa -EBUILD lilypond-2.19.64.ebuild 3405 BLAKE2B 44137d183cc0e07cf32edb43fe505c6d307b3f80eda13aa0ebbf40660f5f874b4956845726568f62fe3b49f6a70a975b62f64df5e6cbe0c573a448ba453d18ba SHA512 48bc34b48055afa2432765df4294a0ae79f83f5b08c746186110b827f783e461654b3ff7b8d2311f8bba320395d35049a6abb09634af0b636e9b01adb915a484 EBUILD lilypond-2.19.80-r1.ebuild 3300 BLAKE2B a679e802dfd19fdffad845e0fd42d3d43fdd19e09ae9ad52b6b49b9fb444a524fb3318851350035bd821fcaf4bb1df272a490eafcb14c021af55f85448a9ffa6 SHA512 b9da9bd8eab7806adb139a738a2bdae404d6f30d10e6dbc07e1cc0295c3c1f20508bb841a426b6cb650f270615a3a58608f6b4e08e2b1895acf049027406fdcf -EBUILD lilypond-2.19.80.ebuild 3405 BLAKE2B 590150b5bd3ccb27db5a3655d21fb7142716e7a172feaf2edab15286deae282ba9510237bd7f492f97effa8ba4b9f7b1329bf1d3b6e4e44a8747edba92f8caf9 SHA512 9275eb273fc55be8b723dc83e816936b3ee610685568de823446150617862667e9ffb68a1664e700ef1a42454d071260f3cb3e645973a7d21fb87010aac85192 EBUILD lilypond-9999.ebuild 3466 BLAKE2B d68e1e1962510d9653b2bbee3647eb88c9bdb4a9f1824ad41ff30f07ad927f3b93f0f8ddbf7eb92f42530e4a40a778c9b2ea4c648e0c4443f82705983a41a987 SHA512 5e8a7e0fea9896c76e3187d7417dea2c38f05ebd0b5cb06aba66770608a0c2c315412c1e24f22dcbdc182371c617e911785ccfbf1ac731e67e9b8914d9f00f6a MISC metadata.xml 861 BLAKE2B c7214caf915ce8f32dad9cd6f08c72bb42490de9f679f073bb6e68c6f14e209f6b3013554fc786d3fb765d271bbb39d54ecdc4df2967700507ab0c9f782d4621 SHA512 d20e7dc27a7836585c7ca28cb78c073c3767a1749d16bca3989bb552d4920e949b3caf36f2227862655e61be0914602aa3af41f17a0f61246b3f305228c9b70c diff --git a/media-sound/lilypond/lilypond-2.19.54.ebuild b/media-sound/lilypond/lilypond-2.19.54.ebuild deleted file mode 100644 index 36867682c196..000000000000 --- a/media-sound/lilypond/lilypond-2.19.54.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -[[ "${PV}" = "9999" ]] && inherit git-r3 -inherit elisp-common autotools python-single-r1 xdg-utils - -if [[ "${PV}" = "9999" ]]; then - EGIT_REPO_URI="git://git.sv.gnu.org/lilypond.git" -else - SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~hppa ~x86" -fi - -DESCRIPTION="GNU Music Typesetter" -HOMEPAGE="http://lilypond.org/" - -LICENSE="GPL-3 FDL-1.3" -SLOT="0" -LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW" -IUSE="debug emacs guile2 profile vim-syntax" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=">=app-text/ghostscript-gpl-8.15 - >=dev-scheme/guile-1.8.2:12[deprecated,regex] - media-fonts/tex-gyre - media-libs/fontconfig - media-libs/freetype:2 - >=x11-libs/pango-1.12.3 - emacs? ( virtual/emacs ) - guile2? ( >=dev-scheme/guile-2:12 ) - !guile2? ( - >=dev-scheme/guile-1.8.2:12[deprecated,regex] - =metapost-1.803 is selected if it's installed, bug 498704 - if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then - if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then - einfo "Updating metapost symlink" - eselect mpost update || die - fi - fi - - python-single-r1_pkg_setup -} - -src_prepare() { - default - - if ! use vim-syntax ; then - sed -i 's/vim//' GNUmakefile.in || die - fi - - # respect CFLAGS - sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die - - for lang in ${LANGS}; do - has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die - done - - # respect AR - sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die - - # remove bundled texinfo file (fixes bug #448560) - rm tex/texinfo.tex || die - - eautoreconf - - xdg_environment_reset #586592 -} - -src_configure() { - # documentation generation currently not supported since it requires a newer - # version of texi2html than is currently in the tree - - local myeconfargs+=( - --with-texgyre-dir=/usr/share/fonts/tex-gyre - --disable-documentation - --disable-optimising - --disable-pipe - $(use_enable debug debugging) - $(use_enable guile2) - $(use_enable profile profiling) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - default - - if use emacs ; then - elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \ - || die "elisp-compile failed" - fi -} - -src_install () { - emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install - - # remove elisp files since they are in the wrong directory - rm -r "${ED}"/usr/share/emacs || die - - if use emacs ; then - elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \ - || die "elisp-install failed" - elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el - fi - - python_fix_shebang "${ED}" - - einstalldocs -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/media-sound/lilypond/lilypond-2.19.64.ebuild b/media-sound/lilypond/lilypond-2.19.64.ebuild deleted file mode 100644 index bd8d61ad63c0..000000000000 --- a/media-sound/lilypond/lilypond-2.19.64.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -[[ "${PV}" = "9999" ]] && inherit git-r3 -inherit elisp-common autotools python-single-r1 xdg-utils - -if [[ "${PV}" = "9999" ]]; then - EGIT_REPO_URI="git://git.sv.gnu.org/lilypond.git" -else - SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" -fi - -DESCRIPTION="GNU Music Typesetter" -HOMEPAGE="http://lilypond.org/" - -LICENSE="GPL-3 FDL-1.3" -SLOT="0" -LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW" -IUSE="debug emacs guile2 profile vim-syntax" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=">=app-text/ghostscript-gpl-8.15 - >=dev-scheme/guile-1.8.2:12[deprecated,regex] - media-fonts/tex-gyre - media-libs/fontconfig - media-libs/freetype:2 - >=x11-libs/pango-1.12.3 - emacs? ( virtual/emacs ) - guile2? ( >=dev-scheme/guile-2:12 ) - !guile2? ( - >=dev-scheme/guile-1.8.2:12[deprecated,regex] - =metapost-1.803 is selected if it's installed, bug 498704 - if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then - if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then - einfo "Updating metapost symlink" - eselect mpost update || die - fi - fi - - python-single-r1_pkg_setup -} - -src_prepare() { - default - - if ! use vim-syntax ; then - sed -i 's/vim//' GNUmakefile.in || die - fi - - # respect CFLAGS - sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die - - for lang in ${LANGS}; do - has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die - done - - # respect AR - sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die - - # remove bundled texinfo file (fixes bug #448560) - rm tex/texinfo.tex || die - - eautoreconf - - xdg_environment_reset #586592 -} - -src_configure() { - # documentation generation currently not supported since it requires a newer - # version of texi2html than is currently in the tree - - local myeconfargs=( - --with-texgyre-dir=/usr/share/fonts/tex-gyre - --disable-documentation - --disable-optimising - --disable-pipe - $(use_enable debug debugging) - $(use_enable guile2) - $(use_enable profile profiling) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - default - - if use emacs ; then - elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \ - || die "elisp-compile failed" - fi -} - -src_install () { - emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install - - # remove elisp files since they are in the wrong directory - rm -r "${ED}"/usr/share/emacs || die - - if use emacs ; then - elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \ - || die "elisp-install failed" - elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el - fi - - python_fix_shebang "${ED}" - - einstalldocs -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/media-sound/lilypond/lilypond-2.19.80.ebuild b/media-sound/lilypond/lilypond-2.19.80.ebuild deleted file mode 100644 index 2fe3ef42d3ec..000000000000 --- a/media-sound/lilypond/lilypond-2.19.80.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -[[ "${PV}" = "9999" ]] && inherit git-r3 -inherit elisp-common autotools python-single-r1 xdg-utils - -if [[ "${PV}" = "9999" ]]; then - EGIT_REPO_URI="git://git.sv.gnu.org/lilypond.git" -else - SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" -fi - -DESCRIPTION="GNU Music Typesetter" -HOMEPAGE="http://lilypond.org/" - -LICENSE="GPL-3 FDL-1.3" -SLOT="0" -LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW" -IUSE="debug emacs guile2 profile vim-syntax" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=">=app-text/ghostscript-gpl-8.15 - >=dev-scheme/guile-1.8.2:12[deprecated,regex] - media-fonts/tex-gyre - media-libs/fontconfig - media-libs/freetype:2 - >=x11-libs/pango-1.12.3 - emacs? ( virtual/emacs ) - guile2? ( >=dev-scheme/guile-2:12 ) - !guile2? ( - >=dev-scheme/guile-1.8.2:12[deprecated,regex] - =metapost-1.803 is selected if it's installed, bug 498704 - if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then - if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then - einfo "Updating metapost symlink" - eselect mpost update || die - fi - fi - - python-single-r1_pkg_setup -} - -src_prepare() { - default - - if ! use vim-syntax ; then - sed -i 's/vim//' GNUmakefile.in || die - fi - - # respect CFLAGS - sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die - - for lang in ${LANGS}; do - has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die - done - - # respect AR - sed -i "s:^AR=ar:AR=$(tc-getAR):" stepmake/stepmake/library-vars.make || die - - # remove bundled texinfo file (fixes bug #448560) - rm tex/texinfo.tex || die - - eautoreconf - - xdg_environment_reset #586592 -} - -src_configure() { - # documentation generation currently not supported since it requires a newer - # version of texi2html than is currently in the tree - - local myeconfargs=( - --with-texgyre-dir=/usr/share/fonts/tex-gyre - --disable-documentation - --disable-optimising - --disable-pipe - $(use_enable debug debugging) - $(use_enable guile2) - $(use_enable profile profiling) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - default - - if use emacs ; then - elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \ - || die "elisp-compile failed" - fi -} - -src_install () { - emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install - - # remove elisp files since they are in the wrong directory - rm -r "${ED}"/usr/share/emacs || die - - if use emacs ; then - elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \ - || die "elisp-install failed" - elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el - fi - - python_fix_shebang "${ED}" - - einstalldocs -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} -- cgit v1.2.3