summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/nickvision-tagger/Manifest1
-rw-r--r--media-sound/nickvision-tagger/files/nickvision-tagger-2022.11.2-meson-install.patch12
-rw-r--r--media-sound/nickvision-tagger/metadata.xml18
-rw-r--r--media-sound/nickvision-tagger/nickvision-tagger-2022.11.2.ebuild35
4 files changed, 66 insertions, 0 deletions
diff --git a/media-sound/nickvision-tagger/Manifest b/media-sound/nickvision-tagger/Manifest
new file mode 100644
index 000000000000..3ca5a1a8f793
--- /dev/null
+++ b/media-sound/nickvision-tagger/Manifest
@@ -0,0 +1 @@
+DIST nickvision-tagger-2022.11.2.tar.gz 2829711 BLAKE2B 308a7f66f4b79d8c01d546760d290b419e1ed901a3c8fff06827577215b363fc41fa5cfa60ef6abb2c04148624f9c63553d3e805b128694153fc11f366f8f103 SHA512 49420109d228c65fb7ff9b65cd1dbb60466840d439b9ca47ee45e3778159f953ffa32b7516146e6ae7b2df7ee8dd87458f780e83379e31978a0d7919fb109fcf
diff --git a/media-sound/nickvision-tagger/files/nickvision-tagger-2022.11.2-meson-install.patch b/media-sound/nickvision-tagger/files/nickvision-tagger-2022.11.2-meson-install.patch
new file mode 100644
index 000000000000..5d231d503e27
--- /dev/null
+++ b/media-sound/nickvision-tagger/files/nickvision-tagger-2022.11.2-meson-install.patch
@@ -0,0 +1,12 @@
+--- a/meson.build
++++ b/meson.build
+@@ -12,8 +12,7 @@ taglib = dependency('taglib')
+ subdir('src')
+ subdir('po')
+
+-executable('org.nickvision.tagger', sources, dependencies: [threads, adwaita, jsoncpp, curlpp, taglib], install: true, install_mode: 'rwxrwxrwx')
+-install_data('fpcalc', install_dir: 'bin', install_mode: 'rwxrwxrwx')
++executable('org.nickvision.tagger', sources, dependencies: [threads, adwaita, jsoncpp, curlpp, taglib], install: true, install_mode: 'rwxr-xr-x')
+ install_data(resources, install_dir: 'share/icons/hicolor/scalable/apps')
+ install_data(resources_symbolic, install_dir: 'share/icons/hicolor/symbolic/apps')
+ install_data(resources_actions, install_dir: 'share/icons/hicolor/scalable/actions')
diff --git a/media-sound/nickvision-tagger/metadata.xml b/media-sound/nickvision-tagger/metadata.xml
new file mode 100644
index 000000000000..0f6860fd9fe6
--- /dev/null
+++ b/media-sound/nickvision-tagger/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>
+ Edit tags and album art of multiple files, even across subfolders, all at
+ once. Support for multiple music file types (mp3, ogg, flac, wma, and wav).
+ Convert filenames to tags and tags to filenames with ease.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/nlogozzo/NickvisionTagger/issues/</bugs-to>
+ <remote-id type="github">nlogozzo/NickvisionTagger</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/nickvision-tagger/nickvision-tagger-2022.11.2.ebuild b/media-sound/nickvision-tagger/nickvision-tagger-2022.11.2.ebuild
new file mode 100644
index 000000000000..851dbba8b770
--- /dev/null
+++ b/media-sound/nickvision-tagger/nickvision-tagger-2022.11.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+REAL_PN=NickvisionTagger
+REAL_P=${REAL_PN}-${PV}
+
+inherit meson xdg
+
+DESCRIPTION="An easy-to-use music tag (metadata) editor"
+HOMEPAGE="https://github.com/nlogozzo/NickvisionTagger/"
+SRC_URI="https://github.com/nlogozzo/${REAL_PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${REAL_P}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ dev-cpp/curlpp:=
+ dev-libs/jsoncpp:=
+ gui-libs/gtk:4
+ gui-libs/libadwaita:=
+ media-libs/taglib:=
+"
+RDEPEND="
+ ${DEPEND}
+ media-libs/chromaprint[tools]
+"
+
+PATCHES=( "${FILESDIR}"/${P}-meson-install.patch )
+
+DOCS=( README.md )