summaryrefslogtreecommitdiff
path: root/media-sound/lingot
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/lingot')
-rw-r--r--media-sound/lingot/Manifest5
-rw-r--r--media-sound/lingot/files/lingot-1.1.1-desktop-icon.patch11
-rw-r--r--media-sound/lingot/lingot-1.1.1.ebuild60
-rw-r--r--media-sound/lingot/metadata.xml11
4 files changed, 86 insertions, 1 deletions
diff --git a/media-sound/lingot/Manifest b/media-sound/lingot/Manifest
index 080a46df817c..701d22dbeeab 100644
--- a/media-sound/lingot/Manifest
+++ b/media-sound/lingot/Manifest
@@ -1,4 +1,7 @@
AUX lingot-1.0.1-configure.patch 6864 BLAKE2B 8673086b4bc2d5f9eab73886685746dfe8488aba86fe8472aebc04ff2883ce641896914cae523f440605d072a2e43313291734be8988056deca0d0459908a159 SHA512 cf8df1ad198c4011153b6c337f35882f1c1ab3b4cff26a3cf6f348b23cce05bbe4cd739489f7bf9080d2557f9a30455ffb2aa70927fa46dc34ca584cb6e10e52
+AUX lingot-1.1.1-desktop-icon.patch 346 BLAKE2B 90b6ad3fe7e0208a40f372d81d598ae546043c94e291448d290ee061d81665601ab8ee32c2bad53e3c7c119899f226c81f6271684582a5ca47e268d761aafbde SHA512 72530b0193533f464a14e016be66cf68b14d8a5eecd04ee4b3ab0f81976264ad5134cb794e026f4484c87ecb14630388fa0b19fd09807a98731688c44b4415ed
DIST lingot-1.0.1.tar.gz 510112 BLAKE2B a04ef52cc70dba8af54746419190eedc2f2512120e3c1e8576dab0d6dd20c3470a6f857fd751ed4bcf8e291a993ff1f8fa7b0264a24957dcfab0efd9684ef3ba SHA512 98182721ef68411485b3f2faccbf315f340e549dd7cce0fdfaacab7c34fb708c98eda9b96da00701f1987becefced3a7587ffaaad77d6ef86046fb8c9f5f1cb5
+DIST lingot-1.1.1.tar.gz 727028 BLAKE2B c681fcd72f67ae20e49f0229aa9791eace1f65cb596c60e52cff7805bc70d6d418cd87c96629306163756db81236ad31b6c8fe78b7ee401d155f8f81dda4f334 SHA512 71ee6b992a8f9cfe4a90d7cd8ba0098512857d65d773d3d5ec26aeeaa104ee812051b9d6b86c5e6462d1032bf03d7e6120aecd60ca8758fdf96c37f2d7ceacc7
EBUILD lingot-1.0.1.ebuild 1059 BLAKE2B 5973aecd0c12e3c53a9e0262befc01c1a804a09ce4267e2b8e2260fb5c271ae8a8ec629667ae975bee93b7493e35b88b45761beda033c31f171d94dcae97e6fe SHA512 1c86b5c81724daa34a9a977d33daa6f6230f941452fcd9419aa0714eada328bf6624fe238dc0c3e9ab1c913ed27966aa1a6b0559049379262b8ff9fd737958fa
-MISC metadata.xml 254 BLAKE2B 7f76152858fde96b9de5250e4cba30bfe0c5f2aa6ec7c84316072d84e4b664ecd6485642d3d184b1f2ddde8d9e03a94dd47dd00c5b8d82f80c5c0993d5627593 SHA512 7ed31d18221f55928f798dbf095166f535f7c0f5a1c3010b5113fd6b0d275af283f3d2e6839591335ec93bcd50aab5d0f104ad76eefda4d7a6b64d41af183f0b
+EBUILD lingot-1.1.1.ebuild 1148 BLAKE2B 2eb98698b5a5b0693104ed7cbd83e5e50227fdecffd4b0fb3195b26ff4007136988b67ac5e0cfe9e938f833daadd3fdf873030262e8bc50c7aabf037e1dba33d SHA512 b392a4a79406dccee9361ab720b89a3c836cde4564496d6d994ec8ba98b5175b1aacdded96e311fd17b820405a694f8c041ad75bba521fa4169ccfe7e1981bd4
+MISC metadata.xml 598 BLAKE2B 46177c3e07ae1b29aa59a83b60efb8809efb965b0b9d14a31c1506a5b3782681048fdb0807a34b4b23944150b26e8c40c7c4e59b59a7e16da37791289a8f2601 SHA512 3765fdd317921009b3f94909348e77fcb3a5efbf7d81c922e27ce951052db17f7f7e5e8d97d7b1798bbb09ea001b6b59079e00dab6c861f93a4baa0d01517f60
diff --git a/media-sound/lingot/files/lingot-1.1.1-desktop-icon.patch b/media-sound/lingot/files/lingot-1.1.1-desktop-icon.patch
new file mode 100644
index 000000000000..c378bfb6e81a
--- /dev/null
+++ b/media-sound/lingot/files/lingot-1.1.1-desktop-icon.patch
@@ -0,0 +1,11 @@
+--- a/org.nongnu.lingot.desktop
++++ b/org.nongnu.lingot.desktop
+@@ -7,7 +7,7 @@ Comment=LINGOT Is Not a Guitar-Only Tuner
+ Comment[cs]=(Nejen kytarová) ladička
+ Comment[fr]=Un accordeur de guitare, mais pas que
+ Exec=lingot
+-Icon=org.nongnu.lingot.svg
++Icon=org.nongnu.lingot
+ Terminal=false
+ Type=Application
+ Categories=GNOME;GTK;AudioVideo;
diff --git a/media-sound/lingot/lingot-1.1.1.ebuild b/media-sound/lingot/lingot-1.1.1.ebuild
new file mode 100644
index 000000000000..50150787ae07
--- /dev/null
+++ b/media-sound/lingot/lingot-1.1.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools xdg
+
+DESCRIPTION="Accurate, easy to use, and highly configurable musical instrument tuner"
+HOMEPAGE="https://www.nongnu.org/lingot/"
+SRC_URI="https://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa +fftw jack pulseaudio test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( pulseaudio )"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/json-c:=
+ x11-libs/cairo
+ x11-libs/gtk+:3
+ alsa? ( media-libs/alsa-lib )
+ fftw? ( sci-libs/fftw:3.0= )
+ jack? ( virtual/jack )
+ pulseaudio? ( media-libs/libpulse )
+"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cunit )
+"
+BDEPEND="
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${P}-desktop-icon.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myemakeargs=(
+ $(use_with alsa)
+ $(use_with fftw)
+ $(use_with jack)
+ $(use_with pulseaudio)
+ $(use_with test cunit)
+ )
+
+ econf "${myemakeargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-sound/lingot/metadata.xml b/media-sound/lingot/metadata.xml
index 93423219a5bc..a8573374e624 100644
--- a/media-sound/lingot/metadata.xml
+++ b/media-sound/lingot/metadata.xml
@@ -1,8 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>alexey+gentoo@asokolov.org</email>
+ <name>Alexey Sokolov</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<maintainer type="project">
<email>sound@gentoo.org</email>
<name>Gentoo Sound project</name>
</maintainer>
+ <upstream>
+ <remote-id type="savannah-nongnu">lingot</remote-id>
+ </upstream>
</pkgmetadata>