diff options
Diffstat (limited to 'media-sound/mp3_check')
-rw-r--r-- | media-sound/mp3_check/Manifest | 7 | ||||
-rw-r--r-- | media-sound/mp3_check/files/mp3_check-1.98-makefile.patch | 23 | ||||
-rw-r--r-- | media-sound/mp3_check/metadata.xml | 12 | ||||
-rw-r--r-- | media-sound/mp3_check/mp3_check-1.98-r1.ebuild | 37 | ||||
-rw-r--r-- | media-sound/mp3_check/mp3_check-1.98.ebuild | 28 |
5 files changed, 107 insertions, 0 deletions
diff --git a/media-sound/mp3_check/Manifest b/media-sound/mp3_check/Manifest new file mode 100644 index 000000000000..969d35e07b0b --- /dev/null +++ b/media-sound/mp3_check/Manifest @@ -0,0 +1,7 @@ +AUX mp3_check-1.98-makefile.patch 605 SHA256 3176916608374310f7eeb11528d89cc02404b0010adecbee669e192fc9f0db93 SHA512 53b1541b6644f32a03fb13c412badc2ecda775d605a3cb6aba6f97ca0d3dfe2fba80fc9e64f544a53ef55382afcc38eeb33dca837a997f3802155f38bdd0a447 WHIRLPOOL 5529c13e8ecf17b29a5ad49741ca2242b95043352e33f0be8394ab1bd0443dbf9d1612fe8329702cd980e094f5a1dc1a3118f6243a21cf81b11fdb33861ea11f +DIST mp3_check-1.98.tar.gz 83098 SHA256 bd63a63789f808d0632ad9e9b9448b8bf24f258629ec9195663ecce5fe889461 SHA512 65eac5498ea3d4a63e0ab23c769a0baa233ddc863c907e934b691b1e8eb2a68da8a3bd7c6bd1b53d30d06330ab84d615c397753bb30257b0aac404e4b18ea4a3 WHIRLPOOL 4fd849bdd4e32fbc7a1bc024b5db47aba8928a8f609708592ffe4fb61ef5d54c89d319727578535fcdb84b9005a34781473403c30ed12ec9eadcf0ef723d8a24 +EBUILD mp3_check-1.98-r1.ebuild 661 SHA256 504c4741fa2ac5fccbd18607372ec749ad153122a491c702632fddc954e04089 SHA512 7f9cb85c353ad11ebfb3d13fb03703345f66cca04c757e19caf08161713b59132e615158924465da83aaa04c559fc1604d140d5e76918e85cf1f1e28390254bc WHIRLPOOL 32defc1880ab79af32df17fbe500d573eb13b1b70b25ea86d69b8de2759ea8dba98279d333fce36ca385d96d054f9bf2562939e07740499d4e8ce4d7496bda6c +EBUILD mp3_check-1.98.ebuild 615 SHA256 69d0e8a7b6bc08e65ee9563fdc1bb49cf7806a5378bb0fe904079a89c4db1cca SHA512 e58ffa203884ca0e71d1de02a8ee1c13878290d50e43dec90ee33c5ddecef0eb9973b288db847e60c6d20f7d11e67b667c083d52d055a9045c841cf3e1f63706 WHIRLPOOL aa37b32496c63f535c4fdfe777bd86889b7edc5e3d7c389bcb53a5257d9c2d40673886a88fb3c2bf4a58ac2d39267980c87b25e4b7973beb1893718f789ddb37 +MISC ChangeLog 2585 SHA256 fb07b77501aadf493f7cb650758eb0f458ed471f6e282a732fb75269304f4ec6 SHA512 d552a7a21a6f74d9cb95feae3b2bad51cec462658fdc95edfbddfcc4bfabfb7c93cf817b84cd92ec54f3930982229c32c45cb01bf903b90515927b4fef778b76 WHIRLPOOL f71bba26b840827fa5afc64f45ec1efda3da4b7b46b8da816024f00979f4efa7a0f32466d42d54896c5272c3ba5991ff94b0066477245967586dcea9bd4cff55 +MISC ChangeLog-2015 1389 SHA256 c4251244605ef5a9216b9e38c9bd89b085882aa169183fbb50f5d14f4b95389c SHA512 e6403f9ff760b58ad8a4d3e64f7a562e1cca3e86e468eba361f22a565f61b9335727b3d93bcc203b3391ef524b458596b078ebc6131a855a69b88b65c18ad0f4 WHIRLPOOL ce418ae4226f45eea0167b5905505b2f49e24fe2fa0309fe543c9889cef0cb3eeda1cb6a95dd6ec938fbe1920c9b5d4133cbfda7c1ad4d818bcfe8b193011329 +MISC metadata.xml 393 SHA256 233f7da6ac8768acb1edae2e8f0edf87b4a5a5dc0c9d221b1aa80d8b7e1ebb27 SHA512 1d249854ee7bae0e2b8f6c8de7539cb7a4593c76c35e4e938b578f0b866d8d9ef712fbf0f113a0d5370dfa28dfc760b668769a50f17333cf58bd38d4d66a8b22 WHIRLPOOL 972409cddd49a4b2823ed5651da6ae724f18897664ccf43bad88fd7a54bef32b6526c9df272945015da2bd9832c8cc0497a032221a556a2c02642539e324781c diff --git a/media-sound/mp3_check/files/mp3_check-1.98-makefile.patch b/media-sound/mp3_check/files/mp3_check-1.98-makefile.patch new file mode 100644 index 000000000000..906ad468f0fa --- /dev/null +++ b/media-sound/mp3_check/files/mp3_check-1.98-makefile.patch @@ -0,0 +1,23 @@ +Index: mp3_check-1.98/Makefile +=================================================================== +--- mp3_check-1.98.orig/Makefile ++++ mp3_check-1.98/Makefile +@@ -2,7 +2,7 @@ + + CC ?= gcc + LOCALBASE ?= /usr/local +-CFLAGS += -Wall -Werror ++#CFLAGS += -Wall -Werror + OPT_FLAGS = -L${LOCALBASE}/lib + OBJS = mp3_check.o \ + mp3_check_misc.o +@@ -16,8 +16,7 @@ norm: $(OBJS) + $(CC) -g $(CFLAGS) $(OBJS) -o mp3_check + + trim: $(OBJS) +- $(CC) $(CFLAGS) $(OPT_FLAGS) $(OBJS) -o mp3_check +- strip mp3_check ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OPT_FLAGS) $(OBJS) -o mp3_check + cat MILESTONE.INTRO + + install: all diff --git a/media-sound/mp3_check/metadata.xml b/media-sound/mp3_check/metadata.xml new file mode 100644 index 000000000000..dcd2c2b8c0a9 --- /dev/null +++ b/media-sound/mp3_check/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> + <upstream> + <bugs-to>https://sourceforge.net/p/mp3check/bugs/</bugs-to> + <remote-id type="sourceforge">mp3check</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/mp3_check/mp3_check-1.98-r1.ebuild b/media-sound/mp3_check/mp3_check-1.98-r1.ebuild new file mode 100644 index 000000000000..e8590af4cc96 --- /dev/null +++ b/media-sound/mp3_check/mp3_check-1.98-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="MP3 consistency checker" +HOMEPAGE="https://sourceforge.net/projects/mp3check/" +SRC_URI="mirror://sourceforge/mp3check/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" +IUSE="" + +PATCHES=( + "${FILESDIR}/${P}-makefile.patch" +) + +DOCS=( + "README" + "TODO" + "MILESTONE" + "MILESTONE.INTRO" + "GOALS" + "FOR_TESTING" + "THANKYOU" + "NOTES" + "MY_NOTES" + "WISHLIST" +) + +src_install() { + # Use dobin because Makefile doesn't support DESTDIR + # https://sourceforge.net/p/mp3check/bugs/8/ + dobin mp3_check + einstalldocs +} diff --git a/media-sound/mp3_check/mp3_check-1.98.ebuild b/media-sound/mp3_check/mp3_check-1.98.ebuild new file mode 100644 index 000000000000..91b33d36c5e0 --- /dev/null +++ b/media-sound/mp3_check/mp3_check-1.98.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs + +DESCRIPTION="MP3 consistency checker" +HOMEPAGE="https://sourceforge.net/projects/mp3check/" +SRC_URI="mirror://sourceforge/mp3check/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" || die +} + +src_install () { + dobin mp3_check || die "dobin failed" + dodoc WISHLIST TODO THANKYOU README *NOTES FOR_TESTING GOALS MILESTONE* +} |