summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-12-13 06:28:28 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-12-13 06:30:25 +0100
commit4e0e8a99f407145d351b98f7d07076fb89083f2f (patch)
tree23b1a26074c0955326d5dc53bfec6be26f3a3add /dev-util/chirurgien
parentdev-lang/julia: drop old 1.8.2 (diff)
downloadgentoo-4e0e8a99f407145d351b98f7d07076fb89083f2f.tar.gz
gentoo-4e0e8a99f407145d351b98f7d07076fb89083f2f.tar.bz2
gentoo-4e0e8a99f407145d351b98f7d07076fb89083f2f.zip
dev-util/chirurgien: new package; add 2.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-util/chirurgien')
-rw-r--r--dev-util/chirurgien/Manifest1
-rw-r--r--dev-util/chirurgien/chirurgien-2.1.ebuild42
-rw-r--r--dev-util/chirurgien/metadata.xml18
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-util/chirurgien/Manifest b/dev-util/chirurgien/Manifest
new file mode 100644
index 000000000000..58456738785c
--- /dev/null
+++ b/dev-util/chirurgien/Manifest
@@ -0,0 +1 @@
+DIST chirurgien-2.1.tar.gz 1618936 BLAKE2B f1d57ae5daab9c196ab87632f7894dab1cbca231de2794501a33157cf0b9175e2be172c903a093cc08b0a8948ba7e847d2cb259b9857a0c1598fb15c9caff3d7 SHA512 2a80ffa3a892a3c1664da6677940a91973d71492b06caf9a067ac372ece49efdb8444eb1473b7bcd89d083469edc7befab61eacf77dc45c6a38f5bad6067917e
diff --git a/dev-util/chirurgien/chirurgien-2.1.ebuild b/dev-util/chirurgien/chirurgien-2.1.ebuild
new file mode 100644
index 000000000000..1333c2444c40
--- /dev/null
+++ b/dev-util/chirurgien/chirurgien-2.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson xdg
+
+DESCRIPTION="Chirurgien helps to understand and manipulate file formats"
+HOMEPAGE="https://github.com/leonardschardijn/Chirurgien/"
+SRC_URI="https://github.com/leonardschardijn/${PN^}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${P^}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ gui-libs/gtk:4
+ dev-libs/glib:2
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-libs/appstream-glib
+ dev-util/desktop-file-utils
+"
+
+src_install() {
+ meson_src_install
+
+ mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+ xdg_pkg_postinst
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+ xdg_pkg_postrm
+}
diff --git a/dev-util/chirurgien/metadata.xml b/dev-util/chirurgien/metadata.xml
new file mode 100644
index 000000000000..7a4e054a211b
--- /dev/null
+++ b/dev-util/chirurgien/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgqt@gentoo.org</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <longdescription>
+ Chirurgien helps understand and manipulate file formats. Features: file
+ format highlighting, file description panel, field edition, extraction,
+ deletion and insertion.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/leonardschardijn/Chirurgien/</bugs-to>
+ <remote-id type="github">leonardschardijn/Chirurgien</remote-id>
+ </upstream>
+</pkgmetadata>