diff options
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/Manifest.gz | bin | 25821 -> 25826 bytes | |||
-rw-r--r-- | media-video/asfrecorder/Manifest | 3 | ||||
-rw-r--r-- | media-video/asfrecorder/asfrecorder-1.1-r2.ebuild (renamed from media-video/asfrecorder/asfrecorder-1.1-r1.ebuild) | 21 | ||||
-rw-r--r-- | media-video/asfrecorder/files/asfrecorder-1.1-headers.patch | 11 |
4 files changed, 24 insertions, 11 deletions
diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz Binary files differindex 4dfb4c6350b4..bcdf87184949 100644 --- a/media-video/Manifest.gz +++ b/media-video/Manifest.gz diff --git a/media-video/asfrecorder/Manifest b/media-video/asfrecorder/Manifest index ea61d4ec0bae..07c69a325cde 100644 --- a/media-video/asfrecorder/Manifest +++ b/media-video/asfrecorder/Manifest @@ -1,3 +1,4 @@ +AUX asfrecorder-1.1-headers.patch 248 BLAKE2B 2750353c3123d7ca3aff056ca6be9724cc95770ae4d1778aa1e90f2e1f2fe93515bf3d3dad20202bad9e2cd9d52fc7a802c9c88ffbf9d2615d9497115c60423f SHA512 beac9b18628664e9538785f2479b474bd108be4fb3b36887673bc4a8630eeeb1a02cca1e66ac6abba2abced38206ee6771f4c7e9190136e154ea03afe5442cc6 DIST ASFRecorder.zip 377571 BLAKE2B 5285bf900f62cab4d1bd678f0a56e59208ac14d42cf478c8bf4d90086c9bc859500ff8ef7d033c9b9a05eeedcbe2736bd883cb75576469a0c7d7ac79f86f4109 SHA512 ca541c56e5f744df3415d97b9256e59db8d0e9adf8a3da2ec8b6b21b59153c4b7ee489971201c8d47caf7637cca62cfd463cc189793057b78d81a6bf409e0485 -EBUILD asfrecorder-1.1-r1.ebuild 772 BLAKE2B 7c1ea01e5967b2b320a6236ca244ed0d984312226ced07cf90dfadeee0d440d22a67e9dcbbc9865417717f1f45b98434b74ba49710e090153b5dc169fc2bf098 SHA512 78cd9c5aef888c07eb2daeee95ed60b88f56386e519e9aee64e9ced6e70ef34d08dc7207689e1caa6bb6db13eaab31e85d895701b33695776d405d7ff0e924e0 +EBUILD asfrecorder-1.1-r2.ebuild 597 BLAKE2B edb520c9fa1ebbc07c35ed89d0b8df14330cee7af2029d76b7e5ad888188c5155cd4aad66168f4d2ae3ed322249cf1022062aed0490c67bad3f3e7ff0a8cff8b SHA512 526cf10d2ed1d79699babfaff35a096e2c8af1de8caec80642c868d74098b95c5b03473f4ea6e22aa9720cdf8c1a2a710e12ade3224537620f9b0e1b0bf8847a MISC metadata.xml 305 BLAKE2B 9c4bf72ecb04343519fbc3252ce8460b8e66ec3f213c5fdaa9042d66d2baf4c3842b80cb1b45eb359c2a5232f175c9217092b5869d35120ede90df282f8a8e96 SHA512 baeaf1fbe8ba8945fc3a8de94b5b9126055ccc97cea216ddac28dcacffdaaf27a414f25d6c796feac708a9323227cb8d601fafa565ec545343b62ec2b5674725 diff --git a/media-video/asfrecorder/asfrecorder-1.1-r1.ebuild b/media-video/asfrecorder/asfrecorder-1.1-r2.ebuild index bcb8f73a2cf7..4affdf5ebb9a 100644 --- a/media-video/asfrecorder/asfrecorder-1.1-r1.ebuild +++ b/media-video/asfrecorder/asfrecorder-1.1-r2.ebuild @@ -1,14 +1,16 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs MY_PN="${PN/asfr/ASFR}" + DESCRIPTION="Linux WindowsMedia streaming client" HOMEPAGE="https://sourceforge.net/projects/asfrecorder/" -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip" +SRC_URI="mirror://gentoo/${MY_PN}.zip" +S="${WORKDIR}/${MY_PN}" LICENSE="public-domain" SLOT="0" @@ -16,17 +18,16 @@ KEYWORDS="~amd64 ppc x86 ~x86-linux ~ppc-macos" BDEPEND="app-arch/unzip" -S=${WORKDIR}/${MY_PN} +PATCHES=( + "${FILESDIR}"/${P}-headers.patch +) src_compile() { - # There is a Makefile, but it only works for Cygwin, so we - # only compile this single program. - cd "${S}"/source || die - $(tc-getCC) -o ${PN} ${CFLAGS} ${LDFLAGS} ${PN}.c || die "Build failed" + tc-export CC + emake -C source ${PN} } src_install() { - # Again, no makefiles, so just take what we want. dobin source/${PN} - dodoc README.TXT + einstalldocs } diff --git a/media-video/asfrecorder/files/asfrecorder-1.1-headers.patch b/media-video/asfrecorder/files/asfrecorder-1.1-headers.patch new file mode 100644 index 000000000000..4da22e2d662c --- /dev/null +++ b/media-video/asfrecorder/files/asfrecorder-1.1-headers.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/874558 +--- a/source/asfrecorder.c ++++ b/source/asfrecorder.c +@@ -127,2 +127,7 @@ + #include <time.h>
++#include <ctype.h>
++#include <unistd.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <arpa/inet.h>
+
|