diff options
Diffstat (limited to 'media-sound/cvoicecontrol')
-rw-r--r-- | media-sound/cvoicecontrol/Manifest | 3 | ||||
-rw-r--r-- | media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild | 24 | ||||
-rw-r--r-- | media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-tinfo.patch | 10 |
3 files changed, 30 insertions, 7 deletions
diff --git a/media-sound/cvoicecontrol/Manifest b/media-sound/cvoicecontrol/Manifest index 0b0f5a552fcc..38db8a8c11e2 100644 --- a/media-sound/cvoicecontrol/Manifest +++ b/media-sound/cvoicecontrol/Manifest @@ -1,6 +1,7 @@ AUX cvoicecontrol-0.9_alpha-gentoo-2.patch 1512 BLAKE2B e02182d5035b863bb194bfcb1cfd84d78b7e75c89fd973f22c1fd79281923a76237159c974eeba40799128fa45a81548c827e3d2ae32f50ea6153d7040f31d5b SHA512 dd116c7e30ad94680fa355a765e8a39e8bb85ffb59d886e2c7ed6e77e6fd5c440c4db2490d5505042c5b57d06df8a14951a06f38348ff390832b39bfa1f47f53 AUX cvoicecontrol-0.9_alpha-gentoo.diff 442 BLAKE2B 6ff8c90887d262d3ee8c755ae695291d2c8c757758254c41f40bf8f07646d3810935f3c339b63525219c1358593e8e42b58a134917c83b4030ea80d5d8479e9e SHA512 6c32c51d621662be71dfc1801296e5766001ac645251f34e69de711f80ce8781bbacf329af51556c72fe70a6fbb823ea84cb55229a0ba667488d0c0ae79287a0 +AUX cvoicecontrol-0.9_alpha-tinfo.patch 561 BLAKE2B 5e67fdd31e96e10e005e03ffcb44e886b78086cc22705721b4efe26dc382d18de46ddf55f3d38beda4d9f45a54c4aa4877b6eddfe2df9dbff1dedfefdbb81c60 SHA512 e6616a1880be116aaf6ad00378ec434fee530bed56c7c11492f1ad3903c3302239599f49e7adcfbc884f59053639f3d73a937ceb5763bac24cd12a48ef4ee5a3 DIST cvoicecontrol-0.9alpha.tar.bz2 78081 BLAKE2B 162557e9e85ee3e15142a1603a70a23d8e55f6180c006660c020c476aab45d37de3c66df8ebb1ac78ae7c5ddd79912a45dc4b29297899dfc8a0a4b5a67ede9f8 SHA512 c01d932edf563f7c50f5edf36ccc03401372915776489026fa69a12dc545f8698f542dcba054d0d1694a86ce78171bc9507feb47a924996cf3a22e865e0ed187 -EBUILD cvoicecontrol-0.9_alpha-r1.ebuild 772 BLAKE2B 5c32881817c038fcf129940ad8cfb98a7b2c3d02498ab6ce16ccc5f4189430022ab36748eccf07b491084234d4da4fbf267f18154ceb9ae8cda143fb3d5feb7e SHA512 338f9824d94cabcfe49d344b6f583722ca78fa708b399f339fac1ae0b159d0552e3995c04806761e15fe9467950a55765ca9f242304d94bea2068eacb8d16a29 +EBUILD cvoicecontrol-0.9_alpha-r1.ebuild 843 BLAKE2B e57a20fd4540a678b848ce79851d20b0ff5c01ed1c56d12f09376a4e8b5a582fbfe614a2c7bc039d23f5edbd1d23638d54e07dfeb0673661f50e7325514a1a46 SHA512 6fad2bb324f8ce2112c84185e3226ff15b1c89af69de71aae1f2dcd3743412a0b68e7bd9be93997eb73e1cc1a7032b8ce92ee4ae51a4301a2bbbe1116fde0a73 EBUILD cvoicecontrol-0.9_alpha.ebuild 951 BLAKE2B 9b1d2ba07c664826373679ed678d0f23eb12478160d8bb0f51f4e4f4280460f067b03096879da4aaad376c233c75cdcd699f76093baf63543ada542dc50f8e96 SHA512 04d08e6961d1e2d9cd7ca55cf62a5452286574f5a49feee282a0475f19f3cdda2bd90acf34d60f13471f23cf42465dcf0209a00983aff2c54cd5aa9bab650695 MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 diff --git a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild index 5aed99496537..db4a6d89d14d 100644 --- a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild +++ b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -MY_P=${P/_/} +inherit autotools + +MY_P="${P/_/}" DESCRIPTION="Console based speech recognition system" HOMEPAGE="http://www.kiecza.net/daniel/linux" @@ -14,15 +16,25 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" -PATCHES=( "${FILESDIR}/${P}-gentoo-2.patch" ) +PATCHES=( + "${FILESDIR}/${P}-gentoo-2.patch" + "${FILESDIR}/${P}-tinfo.patch" #647166 +) src_prepare() { default - sed -i -e "s/install-data-am: install-data-local/install-data-am:/" Makefile.in || die "sed failed" # Handle documentation with dohtml instead. - sed -i -e "s:SUBDIRS = docs:#SUBDIRS = docs:" cvoicecontrol/Makefile.in || die "sed #2 failed" + sed \ + -e "s:SUBDIRS = docs:#SUBDIRS = docs:" \ + -i cvoicecontrol/Makefile.am || die + + eautoreconf #647166 + + sed \ + -e "s/install-data-am: install-data-local/install-data-am:/" \ + -i Makefile.in || die } src_install () { diff --git a/media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-tinfo.patch b/media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-tinfo.patch new file mode 100644 index 000000000000..2ad44a1d7f42 --- /dev/null +++ b/media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-tinfo.patch @@ -0,0 +1,10 @@ +--- cvoicecontrol-0.9alpha/configure.in ++++ cvoicecontrol-0.9alpha/configure.in +@@ -12,6 +12,7 @@ + AC_CHECK_LIB(pthread, main, [LIBPTHREAD="-lpthread"], LIBPTHREAD= ) + AC_SUBST(LIBPTHREAD) + AC_CHECK_LIB(ncurses, main, [LIBNCURSES="-lncurses"], LIBNCURSES= ) ++AC_CHECK_LIB(tinfo, keypad, [LIBNCURSES="$LIBNCURSES -ltinfo"]) + AC_SUBST(LIBNCURSES) + dnl Checks for header files. + AC_CHECK_HEADERS(fcntl.h glob.h math.h ncurses.h pthread.h signal.h stdio.h stdlib.h string.h sys/ioctl.h sys/select.h sys/soundcard.h sys/time.h sys/types.h termios.h time.h unistd.h) |