diff options
Diffstat (limited to 'media-video/vstrip')
-rw-r--r-- | media-video/vstrip/Manifest | 4 | ||||
-rw-r--r-- | media-video/vstrip/files/vstrip-0.8f-gentoo.patch | 12 | ||||
-rw-r--r-- | media-video/vstrip/vstrip-0.8f.ebuild | 21 |
3 files changed, 18 insertions, 19 deletions
diff --git a/media-video/vstrip/Manifest b/media-video/vstrip/Manifest index ca13aaaac9a4..3a1dae32b4bf 100644 --- a/media-video/vstrip/Manifest +++ b/media-video/vstrip/Manifest @@ -1,4 +1,4 @@ -AUX vstrip-0.8f-gentoo.patch 2035 BLAKE2B d9924bab3bc6dea8a9fdb335eb1676cec6f5cd3d997ad9dca44fa30d5222c7fbbd8ab3e8e96caf3470561bfb5a0b2c495882e918a084242ba63f67702a91536c SHA512 c304726b9575975125888abb82e0099715e4f54ba6193844072e02986ea363b852114b704caba963cae4680f762c88bed77f4584a7865b825e4a23f1ee3a31f7 +AUX vstrip-0.8f-gentoo.patch 2047 BLAKE2B 253332bd66e176f39a685ced6f49a6478044c8f8d0ceae89aa8ea57d74f8963d19d8a86a31eec28ea8acdae2db0c0997384d907e5772b374b2261b183c68a6d1 SHA512 5c8ac7a49a50b701108b06bc5f3305d2a4553d74fe30c7f628cdc5c9f4391dbf1e75764a2900727ddd6e706bff9386dbbde63269facf563a1b59b96c593de6ed DIST vStrip_08f.zip 409157 BLAKE2B cdb31341d014adb10b8d83b09d11896351d298b49eefce2b506eaca26883ca14ad8f007e42363fa961e9839b548ce0c7fd1edf9d4aea17c1a5d135bf0feb9089 SHA512 5b8fa07e923709aa0defcbe3ad6fced02eddd5cacc7c33a5ec777e1d64d1e33f3163c82c7fd74eb80f02833c75593e7fe544fa93a56271926a51dbc663f39276 -EBUILD vstrip-0.8f.ebuild 743 BLAKE2B a88cebacf5c35264bdb67bb130ce6f5a027afb66be081c5329b8d8ccb4b461911e803af5b7a8882599c385d24f391217458626ff4607dceebb266b488eec45af SHA512 6bc8edc21fdffe4cbcaa4373b6755efa5e73d3fa60daca448fd1cc05a0cf64816ad540f804a41e5eb299d2df12cd3b3f9be3e9928df056f8910c9653271115af +EBUILD vstrip-0.8f.ebuild 707 BLAKE2B 0887d8b33fe182756582b4cb2c502903f66eae219b4ce64142f08e99c4d9f55c66cf598a87d85b9c3ddac77e6556000a5a219282c6753fc78e85e8f4d746efaf SHA512 bb73ba73219c40bf016389972ccf20eb5b5002580c8eaa5a8a454fab8e8a21cd23d412e5b8dabed5cad9b0b91fed0de837dc9ad174935b3e659c77a1c463a29b MISC metadata.xml 331 BLAKE2B 2f1f2817c5fa0b56ac253d45b5bd1d1fa3093488a9f8d89ff3cf24fe0b5693891cfd58a8e7535147f81645a6f8b2b6661b7aba33532a2b7d519e8dc9c949e8e7 SHA512 b01bf58ac5f7ecdc703ffc83ca687e07153770a7880084c245e6d8b868329dcca116680d3d7e41f1637343f9d825417f615f18a117952222f82f7d655f5d9d0b diff --git a/media-video/vstrip/files/vstrip-0.8f-gentoo.patch b/media-video/vstrip/files/vstrip-0.8f-gentoo.patch index 77328b091247..d4be5a2ea783 100644 --- a/media-video/vstrip/files/vstrip-0.8f-gentoo.patch +++ b/media-video/vstrip/files/vstrip-0.8f-gentoo.patch @@ -1,5 +1,5 @@ ---- Makefile -+++ Makefile 2003-10-12 02:25:31.000000000 +0000 +--- a/Makefile ++++ b/Makefile 2003-10-12 02:25:31.000000000 +0000 @@ -4,7 +4,7 @@ ### Sources
@@ -20,8 +20,8 @@ file_io.o : s_types.h file_io.h file_io.c
in_buffer.o : s_types.h file_io.h in_buffer.h in_buffer.c
main.o : s_types.h file_io.h vstrip.h main.c
---- dvd2avi_plugin.c -+++ dvd2avi_plugin.c 2003-10-12 02:29:23.000000000 +0000 +--- a/dvd2avi_plugin.c ++++ b/dvd2avi_plugin.c 2003-10-12 02:29:23.000000000 +0000 @@ -6,13 +6,17 @@ *************************************************************************/
@@ -50,8 +50,8 @@ lba = (dword)(fposition / fio_SECTOR_SIZE);
_close(fp);
---- file_io.c -+++ file_io.c 2003-10-12 02:24:46.000000000 +0000 +--- a/file_io.c ++++ b/file_io.c 2003-10-12 02:24:46.000000000 +0000 @@ -32,7 +32,7 @@ fp = _open(name, _O_BINARY | _O_RDONLY); // check size
if (fp != -1)
diff --git a/media-video/vstrip/vstrip-0.8f.ebuild b/media-video/vstrip/vstrip-0.8f.ebuild index ebf44df3a614..7aa923068945 100644 --- a/media-video/vstrip/vstrip-0.8f.ebuild +++ b/media-video/vstrip/vstrip-0.8f.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 inherit eutils toolchain-funcs @@ -15,24 +15,23 @@ KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="app-arch/unzip" -RDEPEND="" S="${WORKDIR}/${PN}" -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-gentoo.patch +src_prepare() { + eapply "${FILESDIR}"/${P}-gentoo.patch edos2unix *.c *.h - for file in *.c *.h ; do - echo >>$file + local f + for f in *.c *.h ; do + echo >> "${f}" || die done + + default } src_compile() { - emake CFLAGS="${CFLAGS} -D__UNIX__" CC="$(tc-getCC)" || die "emake failed." + emake CFLAGS="${CFLAGS} -D__UNIX__" CC="$(tc-getCC)" } src_install() { |