From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8AB3C1382C5 for ; Tue, 16 Feb 2021 17:32:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC56DE0802; Tue, 16 Feb 2021 17:32:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0C4AE0802 for ; Tue, 16 Feb 2021 17:32:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4CB6C3412A8 for ; Tue, 16 Feb 2021 17:32:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98E574C0 for ; Tue, 16 Feb 2021 17:32:33 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1613496741.67ec884411ac8d139694852563444ce0ee60461e.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/isomaster/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-cdr/isomaster/Manifest app-cdr/isomaster/isomaster-1.3.16.ebuild X-VCS-Directories: app-cdr/isomaster/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 67ec884411ac8d139694852563444ce0ee60461e X-VCS-Branch: master Date: Tue, 16 Feb 2021 17:32:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 84c04dcc-65d4-4040-83c5-d6a37c75c4cb X-Archives-Hash: 82ad896d82907ac2cd88efe224451517 commit: 67ec884411ac8d139694852563444ce0ee60461e Author: Sebastian Pipping gentoo org> AuthorDate: Tue Feb 16 17:30:17 2021 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Tue Feb 16 17:32:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ec8844 app-cdr/isomaster: 1.3.16 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.14, Repoman-3.0.2 app-cdr/isomaster/Manifest | 1 + app-cdr/isomaster/isomaster-1.3.16.ebuild | 73 +++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/app-cdr/isomaster/Manifest b/app-cdr/isomaster/Manifest index 9cfadcdc022..8d92431d3d3 100644 --- a/app-cdr/isomaster/Manifest +++ b/app-cdr/isomaster/Manifest @@ -1 +1,2 @@ DIST isomaster-1.3.15.tar.bz2 251622 BLAKE2B 9a3dd4e4a0d6aa0ff5b76774322e2f66257dda18e01835cad911f7abaa83584de1388a6c21bed8a8c8b5b9e94d4a2f23801e656b2586cb24b38b5aa4ca074c15 SHA512 08d4b12ba1f35e8fdca75b05b3125b046a03e1f1dab6876226b45c76e8a40fa78296854e8142a0864402563913af4c935ffe338777b593026e40e121b4089661 +DIST isomaster-1.3.16.tar.bz2 254872 BLAKE2B 18d6b656fc1d3bc1e9fcd727a14a581e954d6656d4c5fbb5d717ee46e434cb35f3d546484a8ac6d278cb13018cf427d4d97e6d442c05557c144bb2bc729b57e7 SHA512 431b99db3b304585fb2aac63630cd57294178a7a8b658e4a17119a35fc83ae2f8b4a80442f7a49566bf0e50bc40669b003da45a15d3cd2b2ab30fb76c1eaf89f diff --git a/app-cdr/isomaster/isomaster-1.3.16.ebuild b/app-cdr/isomaster/isomaster-1.3.16.ebuild new file mode 100644 index 00000000000..ada30c8db94 --- /dev/null +++ b/app-cdr/isomaster/isomaster-1.3.16.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs xdg-utils + +DESCRIPTION="Graphical CD image editor for reading, modifying and writing ISO images" +HOMEPAGE="http://littlesvr.ca/isomaster" +SRC_URI="http://littlesvr.ca/${PN}/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND=">=dev-libs/iniparser-4.1:4 + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( >=sys-devel/gettext-0.19.1 )" # bug 512448 + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.14-include-path.patch +) + +pkg_setup() { + myisoconf=( + DEFAULT_EDITOR=leafpad + MYDOCPATH=/usr/share/doc/${PF}/bkisofs + USE_SYSTEM_INIPARSER=1 + LIB_INIPARSER=iniparser4 + PREFIX=/usr + ) + + use nls || myisoconf+=( WITHOUT_NLS=1 ) +} + +src_prepare() { + default + rm -f configure || die #274361 + rm -R iniparser-4.1 || die +} + +src_compile() { + tc-export AR CC + emake "${myisoconf[@]}" +} + +_apply_linguas() { + mv "${D}"/usr/share/locale{,_ALL} || die + dodir /usr/share/locale + for lingua in ${LINGUAS}; do + [[ -d "${D}"/usr/share/locale_ALL/${lingua} ]] || break + mv "${D}"/usr/share/{locale_ALL/${lingua},locale/} || die + done + rm -R "${D}"/usr/share/locale_ALL || die +} + +src_install() { + emake "${myisoconf[@]}" DESTDIR="${D}" install + dodoc {CHANGELOG,CREDITS,README,TODO}.TXT *.txt + + use nls && _apply_linguas # bug 402679, bug 512448 +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}