diff options
Diffstat (limited to 'media-sound/gsm')
-rw-r--r-- | media-sound/gsm/Manifest | 3 | ||||
-rw-r--r-- | media-sound/gsm/files/gsm-1.0.13-shared.patch | 159 | ||||
-rw-r--r-- | media-sound/gsm/gsm-1.0.13-r1.ebuild | 58 |
3 files changed, 0 insertions, 220 deletions
diff --git a/media-sound/gsm/Manifest b/media-sound/gsm/Manifest index 13307b272ac5..5a0efe76d7ea 100644 --- a/media-sound/gsm/Manifest +++ b/media-sound/gsm/Manifest @@ -1,10 +1,7 @@ AUX gsm-1.0.12-64bit.patch 591 BLAKE2B f72688a27c9e52bd3e0b40018f2e035da4284c40e27cc0bb39b7ce0df361840304ee06d3d321ee39209e3dc7bb6424d64490b3174c5d24b3cd1cbe1ccde2787d SHA512 33b559da974d89487f41e24fe9fee4ac4df6383e27835f710f50deaca76c5077fc24b20fe4d306f1b8c2ca6f3e9cf99c5934796e3795354dee63061e305d4c72 AUX gsm-1.0.12-memcpy.patch 301 BLAKE2B 887d9dd0c9220284f1ef69bad73e5e311994fb020bc06742cd931fead416937ae25d0e3364432be5c4cc408c57fad80bb524fddf7db75bf53e70158da4a8f089 SHA512 922999a35a5d8f646ebe61d7b7aacadbd75848a5446462a8173e040f7d4b0748c55196c1be0653752f076a01d7eb07e5bfce3fe23b81a38f1ee9f97d61cd6200 -AUX gsm-1.0.13-shared.patch 3750 BLAKE2B 62fda4c22ab90ab5c77211b9c6966eb8286e6c938f5c4b883b3b6efb6e787a0a84f2f5f9b5f124cf10d4ab3055c3c0e6f8ffb81998654720dd621353fe7b80c9 SHA512 b18273436158dc410e7c40a9a290d365f8bf89977663f35f38d783d46d858163cf0b6f73e88e57d928eafc5de7489643ac7194f72fc7a604ef7cba95e8bf6285 AUX gsm-1.0.22-makefile.patch 4777 BLAKE2B e42ae0e6004aa2aaaf26b9a4911681d3ba20e29bff885bbd64334549e57e264a80d2052c8c9938592a62fce17d23b124bb657056ab19485a76c1349a87a143d8 SHA512 c130621500c11364a35b2565c1ba68c2d872efca4ee1a2f55651fcb864d06d152c9b49e7a4751e718f28d8a1416572829e285cb96791442f2f83eb36a781b0cc -DIST gsm-1.0.13.tar.gz 65318 BLAKE2B 22bb79e3afd9a2e99041693288342b55969207223486200d4aebc61908930040b6b766a9bf673ec6b484eeb95833684c79f34c95d32da17cfb4c36d025004858 SHA512 0d0cf9e1e81e64cd84f588c1e4f0cb74b849d45e41fdebf860f63588084c73c7c5198bfe73a6c976bda5735ee516661d3db00afbb5cc5886a7ee3a7b31d673aa DIST gsm-1.0.22.tar.gz 66583 BLAKE2B 4c654997e2dd91bc5cee406bd664426f86479bfa8624abb0d7ec164eaebe83c3f534b5ee16952b302500630a6f53df26bbb2287f7a329c8878ae48e61fb770ab SHA512 f4284f096ed4d606ddece5c1b28edb63feacc26a0b664f1350c040dbf50113d27bedfd9896bf1620cb4fc3a6c8f6a5244955a6c625ded833dcee607c63c97dd2 DIST libgsm_1.0.22-1.debian.tar.xz 10516 BLAKE2B 8839082ec446c3eb9dde5d1348806ac5015557257b0c1d319945c36080277b40b25f4903013c5242115467a73e425731661ad4882cf35bba51a90e4f44f284ae SHA512 21929f790d7c821e03113baf3e0690e8cb4b8b3c9015ca6fa05593dba9c4fb000ad41546826bc623c69b19689e81092afe0f7e266b22f9db35e8c735516c9de4 -EBUILD gsm-1.0.13-r1.ebuild 1612 BLAKE2B aea11eaf78f7be6ee6bf2181c9d21bbbe10192ba30d172e82453781d908ab951cb1144ab974e41f32a356ac9946f85fc419f46e035b3b17d414d55bd44b83c33 SHA512 c6314b380a859608316eb2a57ca6cc6ac257d8001f39ffb5ad19ef08415698b9688fdd298f7a4770fec77ac4eb976ceb8d7f83de4a96df0598158fe1c0dad7d3 EBUILD gsm-1.0.22_p1.ebuild 1869 BLAKE2B e8147324172cae5aa1777173f10af8fa134885210ba5fc25a307f941dc929b64f1667eb7a1b8d518919aa18d4709617adc98193fa40d74a032e8ee418255690e SHA512 b1ede1cd23e41f1e24ab1b84cc34b0313edac83b6a544f7ac1f2b07c23b224af73cd41371f17a971012ed238397e0c13c2cfe4c371ad6174591deeb0aa7d9ae8 MISC metadata.xml 250 BLAKE2B 3e6dae5d5f3b3ac412806dd8615a1975c7ea8a64bfd72ad54f2c93a9b24c19c620ac3e8b26e1f6cadec899443e138ee4fb7a82ecb83c784d0c03ee91854d8622 SHA512 2bfce2cf73aefce6dda06ea351cb93b2990b9543f48be1ae5406a5a5acf2c34faed1eb2ce715eb689eb50a9a1add5576b39232eb818c233f5a5589e16032aca8 diff --git a/media-sound/gsm/files/gsm-1.0.13-shared.patch b/media-sound/gsm/files/gsm-1.0.13-shared.patch deleted file mode 100644 index ba178092c2f0..000000000000 --- a/media-sound/gsm/files/gsm-1.0.13-shared.patch +++ /dev/null @@ -1,159 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -96,16 +96,14 @@ - # Other tools - - SHELL = /bin/sh --LN = ln -+LN = ln -s - BASENAME = basename --AR = ar - ARFLAGS = cr - RMFLAGS = - FIND = find - COMPRESS = compress - COMPRESSFLAGS = - # RANLIB = true --RANLIB = ranlib - - # - # You shouldn't have to configure below this line if you're porting. -@@ -140,6 +138,7 @@ - # Targets - - LIBGSM = $(LIB)/libgsm.a -+LIBGSMSO= $(LIB)/libgsm.so - - TOAST = $(BIN)/toast - UNTOAST = $(BIN)/untoast -@@ -203,24 +202,43 @@ - - # Object files - --GSM_OBJECTS = $(SRC)/add.o \ -- $(SRC)/code.o \ -- $(SRC)/debug.o \ -- $(SRC)/decode.o \ -- $(SRC)/long_term.o \ -- $(SRC)/lpc.o \ -- $(SRC)/preprocess.o \ -- $(SRC)/rpe.o \ -- $(SRC)/gsm_destroy.o \ -- $(SRC)/gsm_decode.o \ -- $(SRC)/gsm_encode.o \ -- $(SRC)/gsm_explode.o \ -- $(SRC)/gsm_implode.o \ -- $(SRC)/gsm_create.o \ -- $(SRC)/gsm_print.o \ -- $(SRC)/gsm_option.o \ -- $(SRC)/short_term.o \ -- $(SRC)/table.o -+STATIC_GSM_OBJECTS = $(SRC)/add.o \ -+ $(SRC)/code.o \ -+ $(SRC)/debug.o \ -+ $(SRC)/decode.o \ -+ $(SRC)/long_term.o \ -+ $(SRC)/lpc.o \ -+ $(SRC)/preprocess.o \ -+ $(SRC)/rpe.o \ -+ $(SRC)/gsm_destroy.o \ -+ $(SRC)/gsm_decode.o \ -+ $(SRC)/gsm_encode.o \ -+ $(SRC)/gsm_explode.o \ -+ $(SRC)/gsm_implode.o \ -+ $(SRC)/gsm_create.o \ -+ $(SRC)/gsm_print.o \ -+ $(SRC)/gsm_option.o \ -+ $(SRC)/short_term.o \ -+ $(SRC)/table.o -+ -+SHARED_GSM_OBJECTS = $(SRC)/add.lo \ -+ $(SRC)/code.lo \ -+ $(SRC)/debug.lo \ -+ $(SRC)/decode.lo \ -+ $(SRC)/long_term.lo \ -+ $(SRC)/lpc.lo \ -+ $(SRC)/preprocess.lo \ -+ $(SRC)/rpe.lo \ -+ $(SRC)/gsm_destroy.lo \ -+ $(SRC)/gsm_decode.lo \ -+ $(SRC)/gsm_encode.lo \ -+ $(SRC)/gsm_explode.lo \ -+ $(SRC)/gsm_implode.lo \ -+ $(SRC)/gsm_create.lo \ -+ $(SRC)/gsm_print.lo \ -+ $(SRC)/gsm_option.lo \ -+ $(SRC)/short_term.lo \ -+ $(SRC)/table.lo - - TOAST_OBJECTS = $(SRC)/toast.o \ - $(SRC)/toast_lin.o \ -@@ -228,7 +246,7 @@ - $(SRC)/toast_alaw.o \ - $(SRC)/toast_audio.o - --OBJECTS = $(GSM_OBJECTS) $(TOAST_OBJECTS) -+OBJECTS = $(STATIC_GSM_OBJECTS) $(SHARED_GSM_OBJECTS) $(TOAST_OBJECTS) - - # Manuals - -@@ -277,9 +295,12 @@ - $(CC) $(CFLAGS) $? - @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1 - -+%.lo: %.c -+ $(CC) $(CFLAGS) -fPIC -c $< -o $@ -+ - # Target rules - --all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST) -+all: $(LIBGSM) $(LIBGSMSO) $(TOAST) $(TCAT) $(UNTOAST) - @-echo $(ROOT): Done. - - tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result -@@ -299,24 +320,29 @@ - - # The basic API: libgsm - --$(LIBGSM): $(LIB) $(GSM_OBJECTS) -+$(LIBGSMSO): $(LIB) $(SHARED_GSM_OBJECTS) -+ $(LD) $(LFLAGS) -o $@.1.0.13 -shared -Xlinker -soname -Xlinker libgsm.so.1 $(SHARED_GSM_OBJECTS) -lc -+ ln -fs libgsm.so.1.0.13 lib/libgsm.so.1 -+ ln -fs libgsm.so.1.0.13 lib/libgsm.so -+ -+$(LIBGSM): $(LIB) $(STATIC_GSM_OBJECTS) - -rm $(RMFLAGS) $(LIBGSM) -- $(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS) -+ $(AR) $(ARFLAGS) $(LIBGSM) $(STATIC_GSM_OBJECTS) - $(RANLIB) $(LIBGSM) - - - # Toast, Untoast and Tcat -- the compress-like frontends to gsm. - - $(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM) -- $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB) -+ $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSMSO) $(LDLIB) - - $(UNTOAST): $(BIN) $(TOAST) - -rm $(RMFLAGS) $(UNTOAST) -- $(LN) $(TOAST) $(UNTOAST) -+ $(LN) toast $(UNTOAST) - - $(TCAT): $(BIN) $(TOAST) - -rm $(RMFLAGS) $(TCAT) -- $(LN) $(TOAST) $(TCAT) -+ $(LN) toast $(TCAT) - - - # The local bin and lib directories -@@ -426,7 +452,9 @@ - - clean: semi-clean - -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \ -- $(TOAST) $(TCAT) $(UNTOAST) \ -+ $(LIBGSMSO) $(LIB)/libgsm.so.1.0.13 \ -+ $(LIB)libgsm.so.1 \ -+ $(TOAST) $(TCAT) $(UNTOAST) \ - $(ROOT)/gsm-1.0.tar.Z - - diff --git a/media-sound/gsm/gsm-1.0.13-r1.ebuild b/media-sound/gsm/gsm-1.0.13-r1.ebuild deleted file mode 100644 index e4001b50419d..000000000000 --- a/media-sound/gsm/gsm-1.0.13-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic multilib-minimal toolchain-funcs - -DESCRIPTION="Lossy speech compression library and tool" -HOMEPAGE="https://packages.qa.debian.org/libg/libgsm.html" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="gsm" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -S="${WORKDIR}/${PN}-$(ver_rs 2 '-pl' )" - -PATCHES=( - "${FILESDIR}"/${P}-shared.patch - "${FILESDIR}"/${PN}-1.0.12-memcpy.patch - "${FILESDIR}"/${PN}-1.0.12-64bit.patch -) - -DOCS=( ChangeLog MACHINES MANIFEST README ) - -src_prepare() { - default - sed -e 's/\$(GSM_INSTALL_LIB)\/libgsm.a //g' -i Makefile || die - - multilib_copy_sources -} - -src_configure() { - # From upstream Makefile. Define this if your host multiplies - # floats faster than integers, e.g. on a SPARCstation. - use sparc && append-flags -DUSE_FLOAT_MUL -DFAST -} - -multilib_src_compile() { - emake -j1 CCFLAGS="${CFLAGS} -c -DNeedFunctionPrototypes=1" \ - LD="$(tc-getCC)" AR="$(tc-getAR)" CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" -} - -multilib_src_install() { - dodir /usr/bin /usr/$(get_libdir) /usr/include/gsm /usr/share/man/man{1,3} - - emake -j1 INSTALL_ROOT="${ED}"/usr \ - LD="$(tc-getCC)" AR="$(tc-getAR)" CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" \ - GSM_INSTALL_LIB="${ED}"/usr/$(get_libdir) \ - GSM_INSTALL_INC="${ED}"/usr/include/gsm \ - GSM_INSTALL_MAN="${ED}"/usr/share/man/man3 \ - TOAST_INSTALL_MAN="${ED}"/usr/share/man/man1 \ - install - - dolib.so lib/libgsm.so* - - dosym ../gsm/gsm.h /usr/include/libgsm/gsm.h -} |