diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2019-06-24 12:24:08 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2019-06-24 12:24:08 +0000 |
commit | b5b591677818a963a2f414936aab6fe0ca4fac15 (patch) | |
tree | bf4d459f172278d1e2f8a5cb3e6f68a9da43e79b | |
parent | 2019-06-24 12:04:37 UTC (diff) | |
parent | prefix/winnt/profile.bashrc: first, check if usr/lib does exist (diff) | |
download | gentoo-b5b591677818a963a2f414936aab6fe0ca4fac15.tar.gz gentoo-b5b591677818a963a2f414936aab6fe0ca4fac15.tar.bz2 gentoo-b5b591677818a963a2f414936aab6fe0ca4fac15.zip |
Merge updates from master
-rw-r--r-- | media-sound/mp3diags/Manifest | 1 | ||||
-rw-r--r-- | media-sound/mp3diags/metadata.xml | 10 | ||||
-rw-r--r-- | media-sound/mp3diags/mp3diags-1.5.01.ebuild | 56 | ||||
-rw-r--r-- | profiles/prefix/windows/winnt/profile.bashrc | 3 |
4 files changed, 69 insertions, 1 deletions
diff --git a/media-sound/mp3diags/Manifest b/media-sound/mp3diags/Manifest new file mode 100644 index 000000000000..1b9061be7b99 --- /dev/null +++ b/media-sound/mp3diags/Manifest @@ -0,0 +1 @@ +DIST MP3Diags-unstable-1.5.01.tar.gz 1234926 BLAKE2B f04a30d1418cde4b08aa744f2b280beac5af466a2657562ef9f8eafb3da84a357397975bb9c1cda4747a10ae1b9e0ac468f6666bd43c0f375fd99c2a90fd4698 SHA512 30ef7276e1be08c0d5d1d6af2a1f6f4fa61753fda65e0914c0e07a0823e1ba9a0e3a2718bde55d68e928cb965db510c80bd5f2419ac19d063edd1fa257a1ee18 diff --git a/media-sound/mp3diags/metadata.xml b/media-sound/mp3diags/metadata.xml new file mode 100644 index 000000000000..757721839e47 --- /dev/null +++ b/media-sound/mp3diags/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>kensington@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">mp3diags</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/mp3diags/mp3diags-1.5.01.ebuild b/media-sound/mp3diags/mp3diags-1.5.01.ebuild new file mode 100644 index 000000000000..2d96e59d1931 --- /dev/null +++ b/media-sound/mp3diags/mp3diags-1.5.01.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop qmake-utils xdg-utils + +MY_PN=MP3Diags-unstable +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Qt-based MP3 diagnosis and repair tool" +HOMEPAGE="http://mp3diags.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="LGPL-3 GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-libs/boost:=[threads] + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + sys-libs/zlib +" +RDEPEND="${DEPEND} + dev-qt/qtsvg:5 +" + +S=${WORKDIR}/${MY_P} + +src_configure() { + eqmake5 ${PN}.pro +} + +src_install() { + dobin bin/${MY_PN} + dodoc changelog.txt + + local size + for size in 16 22 24 32 36 40 48; do + insinto /usr/share/icons/hicolor/${size}x${size}/apps + newins desktop/${MY_PN}${size}.png ${MY_PN}.png + done + domenu desktop/${MY_PN}.desktop +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/profiles/prefix/windows/winnt/profile.bashrc b/profiles/prefix/windows/winnt/profile.bashrc index c0eaec08a6df..b8def6390deb 100644 --- a/profiles/prefix/windows/winnt/profile.bashrc +++ b/profiles/prefix/windows/winnt/profile.bashrc @@ -62,6 +62,7 @@ post_src_install() { ;; esac done + [[ -d usr/$(get_libdir) ]] && find usr/$(get_libdir) -maxdepth 1 -type f -name '*.dll' | while read f do @@ -69,7 +70,7 @@ post_src_install() { ebegin "moving ${f} to usr/bin for native loader" dodir usr/bin || die mv -f "${f}" usr/bin || die - ln -sf "../bin/${f##*/}" "${f}" + ln -sf "../bin/${f##*/}" "${f}" || die eend $? fi done |