summaryrefslogtreecommitdiff
path: root/media-sound/lingot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-07 11:03:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-07 11:03:14 +0100
commit957235cf19a691360c720f7913672adda4258ed0 (patch)
tree812bba7928f4293ead05a7ee9c1ac39c5ef9f12e /media-sound/lingot
parent62f67115b5c46134c34f88f4b1cbdacc19384c0a (diff)
gentoo resync : 07.10.2018
Diffstat (limited to 'media-sound/lingot')
-rw-r--r--media-sound/lingot/Manifest6
-rw-r--r--media-sound/lingot/files/lingot-0.9.1-clean-install.patch23
-rw-r--r--media-sound/lingot/files/lingot-1.0.1-configure.patch217
-rw-r--r--media-sound/lingot/lingot-0.9.1.ebuild41
-rw-r--r--media-sound/lingot/lingot-1.0.1.ebuild54
5 files changed, 274 insertions, 67 deletions
diff --git a/media-sound/lingot/Manifest b/media-sound/lingot/Manifest
index 907c29290a4c..2d977b2576f3 100644
--- a/media-sound/lingot/Manifest
+++ b/media-sound/lingot/Manifest
@@ -1,4 +1,4 @@
-AUX lingot-0.9.1-clean-install.patch 391 BLAKE2B 3b4465ca72b6a091559c3fd6e3cbc2d724292954c6c1994593971ca087cb44cc44972897881a13caf2faaa33227ced0df3406732bfc8eecf97d8d425e09cd842 SHA512 f8b1321e5a7ca97981779f92f33cbc2a8aa79b9d9e0b6352475ab0d150c89b3d93b6b4c92a0ae6644408ab3cbcd0879afe6a80dc9ea5b0b89a4fc492aa895da7
-DIST lingot-0.9.1.tar.gz 440043 BLAKE2B d2e6f3f150b03e934cceb4cc9909911bc55bedaf51254929f0fb4e092bed69606e7432e20b671769d2eac0ca4f05d282172ba2d388af2f8bed837d245d744af3 SHA512 6f4745823436fe24dce8c90c5780691aebf8106380d5d56858bc641448b875feeb97b98603b5839c429d35d8d7e1221cb62c2a0e19dbb41b160b5580dfc9a55f
-EBUILD lingot-0.9.1.ebuild 843 BLAKE2B 1b0add8ba671fbb2896d81249c5d65ddfb5059675e3ec38672927a98f6f1142b516dcf51ee15f07533a9558b2a9baf34ac3909906bf56a7ee0d1fa94da489788 SHA512 e749c8d6d891b0089fcd5a89ed476aa9d4e5fc732c748fa39159c15101756736bb04747336eb777f5e3ff00b76238877332f7b7d68d206668928c2edeb48c7b9
+AUX lingot-1.0.1-configure.patch 6864 BLAKE2B 8673086b4bc2d5f9eab73886685746dfe8488aba86fe8472aebc04ff2883ce641896914cae523f440605d072a2e43313291734be8988056deca0d0459908a159 SHA512 cf8df1ad198c4011153b6c337f35882f1c1ab3b4cff26a3cf6f348b23cce05bbe4cd739489f7bf9080d2557f9a30455ffb2aa70927fa46dc34ca584cb6e10e52
+DIST lingot-1.0.1.tar.gz 510112 BLAKE2B a04ef52cc70dba8af54746419190eedc2f2512120e3c1e8576dab0d6dd20c3470a6f857fd751ed4bcf8e291a993ff1f8fa7b0264a24957dcfab0efd9684ef3ba SHA512 98182721ef68411485b3f2faccbf315f340e549dd7cce0fdfaacab7c34fb708c98eda9b96da00701f1987becefced3a7587ffaaad77d6ef86046fb8c9f5f1cb5
+EBUILD lingot-1.0.1.ebuild 1059 BLAKE2B 5973aecd0c12e3c53a9e0262befc01c1a804a09ce4267e2b8e2260fb5c271ae8a8ec629667ae975bee93b7493e35b88b45761beda033c31f171d94dcae97e6fe SHA512 1c86b5c81724daa34a9a977d33daa6f6230f941452fcd9419aa0714eada328bf6624fe238dc0c3e9ab1c913ed27966aa1a6b0559049379262b8ff9fd737958fa
MISC metadata.xml 253 BLAKE2B 6426153a5fa5bbad2aaffd28a6460f87a35678319768c57ac8dfae02b2229f6278dead4f564e6bc2bfd54d7143aed95c382abc2ee16c1073e9fbaf4f84cc0fef SHA512 78b724be3e1dbd6fc3c2e92cdbacc15ea4b0e8ee6fa22f76ebdd882b3a7bbedeaf8f80a29e36ec67e0432d2dfad3f57de4bc46480f92c8e544322755292df894
diff --git a/media-sound/lingot/files/lingot-0.9.1-clean-install.patch b/media-sound/lingot/files/lingot-0.9.1-clean-install.patch
deleted file mode 100644
index 826a9fd29ce2..000000000000
--- a/media-sound/lingot/files/lingot-0.9.1-clean-install.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- lingot-0.9.1.orig/Makefile.am
-+++ lingot-0.9.1/Makefile.am
-@@ -8,19 +8,11 @@
- lingotdocdir = ${docdir}
- lingotdoc_DATA = \
- README\
-- COPYING\
- AUTHORS\
- ChangeLog\
-- INSTALL\
- NEWS\
-- TODO\
- THANKS\
-- MAINTAINERS\
-- src/lingot-background.xpm\
-- src/lingot-logo.xpm\
-- intltool-extract.in\
-- intltool-merge.in\
-- intltool-update.in
-+ MAINTAINERS
-
- EXTRA_DIST = $(lingotdoc_DATA)
-
diff --git a/media-sound/lingot/files/lingot-1.0.1-configure.patch b/media-sound/lingot/files/lingot-1.0.1-configure.patch
new file mode 100644
index 000000000000..f39dc3d9ad55
--- /dev/null
+++ b/media-sound/lingot/files/lingot-1.0.1-configure.patch
@@ -0,0 +1,217 @@
+From 916ed65b3901731fff02eceadcbc5b18f4c27d6f Mon Sep 17 00:00:00 2001
+From: Nicolas Boulenguez <nicolas.boulenguez@free.fr>
+Date: Sat, 14 Jul 2018 09:40:37 +0200
+Subject: [PATCH] Remove unused variables from configure.ac.
+
+Also replace
+ configure.ac: NO_PREFIX_PACKAGE_FOO_DIR = "share/foo"
+ configure.ac: AC_SUBST(NO_PREFIX_PACKAGE_FOO_DIR)
+and
+ Makefile.am : .. = $(prefix)/@NO_PREFIX_PACKAGE_FOO_DIR@
+with
+ Makefile.am : .. = $(datadir)/foo
+for simplicity and conformity with the usual meaning of datadir.
+
+These changes may require regeneration by Anjuta.
+---
+ Makefile.am | 2 +-
+ configure.ac | 85 -----------------------------------------------
+ icons/Makefile.am | 2 +-
+ 3 files changed, 2 insertions(+), 87 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index db5ec16..d61162f 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -27,7 +27,7 @@ DISTCLEANFILES = \
+ m4/* \
+ po/Makefile.in.in
+
+-gnomemenudir = $(prefix)/@NO_PREFIX_PACKAGE_MENU_DIR@
++gnomemenudir = $(datadir)/applications
+ gnomemenu_DATA = org.nongnu.lingot.desktop
+ appdatadir = $(datadir)/metainfo
+ appdata_DATA = org.nongnu.lingot.appdata.xml
+diff --git a/configure.ac b/configure.ac
+index 08f208f..cfb1259 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -162,90 +162,6 @@ if test "x$uselibfftw" = "xyes"; then
+ fi
+ fi
+
+-
+-dnl PKG_CHECK_MODULES([GLADE], [libglade-2.0])
+-dnl AC_SUBST(GLADE_CFLAGS)
+-dnl AC_SUBST(GLADE_LIBS)
+-
+-dnl Set PACKAGE_LOCALE_DIR in config.h.
+-if test "x${prefix}" = "xNONE"; then
+- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale", [Package local directory])
+-else
+- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale", [Package local directory])
+-fi
+-
+-dnl Set PACKAGE SOURCE DIR in config.h.
+-packagesrcdir=`cd $srcdir && pwd`
+-
+-dnl Set PACKAGE PREFIX
+-if test "x${prefix}" = "xNONE"; then
+- packageprefix=${ac_default_prefix}
+-else
+- packageprefix=${prefix}
+-fi
+-
+-dnl Set PACKAGE DATA & DOC DIR
+-packagedatadir=share
+-packagedocdir=doc/${PACKAGE}
+-
+-dnl Set PACKAGE DIRs in config.h.
+-packagepixmapsdir=share/pixmaps/${PACKAGE}
+-packageicondir=share/icons/hicolor/scalable/apps/
+-packagehelpdir=share/gnome/help/${PACKAGE}
+-packagemenudir=share/applications
+-
+-dnl Subst PACKAGE_DATA_DIR.
+-NO_PREFIX_PACKAGE_DATA_DIR="${packagedatadir}"
+-AC_SUBST(NO_PREFIX_PACKAGE_DATA_DIR)
+-PACKAGE_DATA_DIR="${packageprefix}/${packagedatadir}"
+-AC_SUBST(PACKAGE_DATA_DIR)
+-
+-dnl Subst PACKAGE_DOC_DIR.
+-NO_PREFIX_PACKAGE_DOC_DIR="${packagedocdir}"
+-AC_SUBST(NO_PREFIX_PACKAGE_DOC_DIR)
+-PACKAGE_DOC_DIR="${packageprefix}/${packagedocdir}"
+-AC_SUBST(PACKAGE_DOC_DIR)
+-
+-dnl Subst PACKAGE_PIXMAPS_DIR.
+-NO_PREFIX_PACKAGE_PIXMAPS_DIR="${packagepixmapsdir}"
+-AC_SUBST(NO_PREFIX_PACKAGE_PIXMAPS_DIR)
+-PACKAGE_PIXMAPS_DIR="${packageprefix}/${packagepixmapsdir}"
+-AC_SUBST(PACKAGE_PIXMAPS_DIR)
+-
+-dnl Subst PACKAGE_ICON_DIR.
+-NO_PREFIX_PACKAGE_ICON_DIR="${packageicondir}"
+-AC_SUBST(NO_PREFIX_PACKAGE_ICON_DIR)
+-PACKAGE_ICON_DIR="${packageprefix}/${packageicondir}"
+-AC_SUBST(PACKAGE_ICON_DIR)
+-
+-dnl Subst PACKAGE_HELP_DIR.
+-NO_PREFIX_PACKAGE_HELP_DIR="${packagehelpdir}"
+-AC_SUBST(NO_PREFIX_PACKAGE_HELP_DIR)
+-PACKAGE_HELP_DIR="${packageprefix}/${packagehelpdir}"
+-AC_SUBST(PACKAGE_HELP_DIR)
+-
+-dnl Subst PACKAGE_MENU_DIR.
+-NO_PREFIX_PACKAGE_MENU_DIR="${packagemenudir}"
+-AC_SUBST(NO_PREFIX_PACKAGE_MENU_DIR)
+-PACKAGE_MENU_DIR="${packageprefix}/${packagemenudir}"
+-AC_SUBST(PACKAGE_MENU_DIR)
+-
+-dnl AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${packageprefix}/${packagedatadir}")
+-dnl AC_DEFINE_UNQUOTED(PACKAGE_DOC_DIR, "${packageprefix}/${packagedocdir}")
+-dnl AC_DEFINE_UNQUOTED(PACKAGE_PIXMAPS_DIR, "${packageprefix}/${packagepixmapsdir}")
+-dnl AC_DEFINE_UNQUOTED(PACKAGE_HELP_DIR, "${packageprefix}/${packagehelpdir}")
+-dnl AC_DEFINE_UNQUOTED(PACKAGE_MENU_DIR, "${packageprefix}/${packagemenudir}")
+-dnl AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}")
+-
+-
+-AC_DEFINE([PACKAGE_DATA_DIR], [share], [Package data dir])
+-AC_DEFINE([PACKAGE_DOC_DIR], [doc], [Package doc dir])
+-AC_DEFINE([PACKAGE_HELP_DIR], [doc], [Help])
+-AC_DEFINE([PACKAGE_MENU_DIR], [], [Menu])
+-AC_DEFINE([PACKAGE_ICON_DIR], [icons], [Icons])
+-AC_DEFINE([PACKAGE_SRC_DIR], [src], [Source])
+-
+-
+ AC_CONFIG_FILES([
+ Makefile
+ po/Makefile.in
+@@ -254,4 +170,3 @@ icons/Makefile
+ test/Makefile
+ ])
+ AC_OUTPUT
+-
+diff --git a/icons/Makefile.am b/icons/Makefile.am
+index 9588562..0b17692 100644
+--- a/icons/Makefile.am
++++ b/icons/Makefile.am
+@@ -4,7 +4,7 @@
+ ## If you don't want it to overwrite it,
+ ## Please disable it in the Anjuta project configuration
+
+-lingot_iconsdir = $(prefix)/@NO_PREFIX_PACKAGE_ICON_DIR@
++lingot_iconsdir = $(datadir)/icons/hicolor/scalable/apps
+
+ lingot_icons_DATA = \
+ org.nongnu.lingot.svg
+From 0d65c3c71000a1f234288af4d703af888d569fd1 Mon Sep 17 00:00:00 2001
+From: Nicolas Boulenguez <nicolas.boulenguez@free.fr>
+Date: Sat, 14 Jul 2018 09:07:52 +0200
+Subject: [PATCH] Stop generating the desktop file.
+
+Drop the absolute path, and allow the icon to be found dynamically.
+This makes adding bitmaps additionally to the SVG easier later as well.
+---
+ configure.ac | 1 -
+ org.nongnu.lingot.desktop.in => org.nongnu.lingot.desktop | 2 +-
+ 2 files changed, 1 insertion(+), 2 deletions(-)
+ rename org.nongnu.lingot.desktop.in => org.nongnu.lingot.desktop (86%)
+
+diff --git a/configure.ac b/configure.ac
+index 5f1ea03..08f208f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -252,7 +252,6 @@ po/Makefile.in
+ src/Makefile
+ icons/Makefile
+ test/Makefile
+-org.nongnu.lingot.desktop
+ ])
+ AC_OUTPUT
+
+diff --git a/org.nongnu.lingot.desktop.in b/org.nongnu.lingot.desktop
+similarity index 86%
+rename from org.nongnu.lingot.desktop.in
+rename to org.nongnu.lingot.desktop
+index 76842ce..8b3524f 100644
+--- a/org.nongnu.lingot.desktop.in
++++ b/org.nongnu.lingot.desktop
+@@ -6,7 +6,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=@PACKAGE_ICON_DIR@/org.nongnu.lingot.svg
++Icon=org.nongnu.lingot.svg
+ Terminal=false
+ Type=Application
+ Categories=GNOME;GTK;AudioVideo;
+From 29691022bae3180cc021ad7b97023dd483be19de Mon Sep 17 00:00:00 2001
+From: Iban Cereijo <ibancg@users.noreply.github.com>
+Date: Wed, 18 Jul 2018 13:59:25 +0200
+Subject: [PATCH] Putting the desktop file in the distributed files.
+
+---
+ Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.am b/Makefile.am
+index d61162f..d359df3 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -10,7 +10,6 @@
+ lingotdocdir = ${docdir}
+ lingotdoc_DATA = \
+ README \
+- COPYING \
+ AUTHORS \
+ ChangeLog \
+ NEWS \
+@@ -37,6 +37,7 @@ dist_man_MANS = lingot.1
+
+ EXTRA_DIST = \
+ $(lingotdoc_DATA) \
++ $(gnomemenu_DATA) \
+ $(appdata_DATA) \
+ build-aux/gitlog-to-changelog \
+ bootstrap
diff --git a/media-sound/lingot/lingot-0.9.1.ebuild b/media-sound/lingot/lingot-0.9.1.ebuild
deleted file mode 100644
index 43092c2c4111..000000000000
--- a/media-sound/lingot/lingot-0.9.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit autotools eutils
-
-DESCRIPTION="LINGOT Is Not a Guitar-Only Tuner"
-HOMEPAGE="http://www.nongnu.org/lingot"
-SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa jack"
-
-RDEPEND="x11-libs/gtk+:2
- x11-libs/gdk-pixbuf:2
- x11-libs/pango
- dev-libs/glib:2
- gnome-base/libglade:2.0
- alsa? ( media-libs/alsa-lib )
- jack? ( virtual/jack )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- dev-util/intltool
- sys-devel/gettext"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-clean-install.patch
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable alsa) \
- $(use_enable jack)
-}
-
-src_install() {
- emake DESTDIR="${D}" lingotdocdir="/usr/share/doc/${PF}" install
-}
diff --git a/media-sound/lingot/lingot-1.0.1.ebuild b/media-sound/lingot/lingot-1.0.1.ebuild
new file mode 100644
index 000000000000..523ec2ba532c
--- /dev/null
+++ b/media-sound/lingot/lingot-1.0.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+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"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ alsa? ( media-libs/alsa-lib )
+ fftw? ( sci-libs/fftw:3.0= )
+ jack? ( virtual/jack )
+ pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${P}-configure.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myemakeargs=(
+ $(use_enable alsa)
+ $(use_enable fftw libfftw)
+ $(use_enable jack)
+ $(use_enable pulseaudio)
+ )
+
+ econf "${myemakeargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" lingotdocdir="/usr/share/doc/${PF}" install
+}