[gentoo-commits] repo/gentoo:master commit in: media-libs/aften/

2023-07-07 Thread Miroslav Šulc
commit: b905f0126351683174914add655aa38296273099
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu Jul  6 08:31:03 2023 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Fri Jul  7 07:31:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b905f012

media-libs/aften: use HTTPS

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/aften/aften-0.0.8-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/aften/aften-0.0.8-r2.ebuild 
b/media-libs/aften/aften-0.0.8-r2.ebuild
index ab7fe29f0a45..e643b945fe77 100644
--- a/media-libs/aften/aften-0.0.8-r2.ebuild
+++ b/media-libs/aften/aften-0.0.8-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 inherit cmake
 
 DESCRIPTION="A/52 (AC-3) audio encoder"
-HOMEPAGE="http://aften.sourceforge.net/;
+HOMEPAGE="https://aften.sourceforge.net/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="LGPL-2.1 BSD"



[gentoo-commits] repo/gentoo:master commit in: media-libs/aften/

2021-02-28 Thread Andreas Sturmlechner
commit: 71cc3deabd1bb4ced8de1f288f19508c87d74530
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb 28 10:02:22 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 28 12:26:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71cc3dea

media-libs/aften: EAPI-7 bump, switch to cmake.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/aften/aften-0.0.8-r2.ebuild | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/media-libs/aften/aften-0.0.8-r2.ebuild 
b/media-libs/aften/aften-0.0.8-r2.ebuild
index f1dd9d2fa9e..ab7fe29f0a4 100644
--- a/media-libs/aften/aften-0.0.8-r2.ebuild
+++ b/media-libs/aften/aften-0.0.8-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
-DESCRIPTION="An A/52 (AC-3) audio encoder"
+DESCRIPTION="A/52 (AC-3) audio encoder"
 HOMEPAGE="http://aften.sourceforge.net/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
@@ -14,6 +14,8 @@ SLOT="0"
 KEYWORDS="amd64 ppc x86"
 IUSE="cxx"
 
+DOCS=( README Changelog )
+
 PATCHES=(
"${FILESDIR}/${P}-multilib.patch"
"${FILESDIR}/${P}-ppc.patch"
@@ -25,12 +27,11 @@ src_configure() {
-DSHARED=1
-DBINDINGS_CXX=$(usex cxx)
)
-   cmake-utils_src_configure
+   cmake_src_configure
 }
 
 src_install() {
-   cmake-utils_src_install
-   dodoc README Changelog
+   cmake_src_install
# File collision with media-sound/wavbreaker, upstream informed
mv "${ED}"/usr/bin/wavinfo{,-aften} || die
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/aften/

2020-02-16 Thread Andreas Sturmlechner
commit: f6535447bf36d84c5a6bd7187201ec401bbee4d3
Author: Julius Putra Tanu Setiaji  gmail  com>
AuthorDate: Tue Jan 28 18:46:31 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 16 18:49:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6535447

media-libs/aften: Fix src_install crashing on Gentoo Prefix

Closes: https://bugs.gentoo.org/706814
Signed-off-by: Julius Putra Tanu Setiaji  gmail.com>
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Closes: https://github.com/gentoo/gentoo/pull/14489
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/aften/aften-0.0.8-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/aften/aften-0.0.8-r2.ebuild 
b/media-libs/aften/aften-0.0.8-r2.ebuild
index cb3a41a3829..f1dd9d2fa9e 100644
--- a/media-libs/aften/aften-0.0.8-r2.ebuild
+++ b/media-libs/aften/aften-0.0.8-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -32,5 +32,5 @@ src_install() {
cmake-utils_src_install
dodoc README Changelog
# File collision with media-sound/wavbreaker, upstream informed
-   mv "${D}"/usr/bin/wavinfo{,-aften} || die
+   mv "${ED}"/usr/bin/wavinfo{,-aften} || die
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/aften/

2018-06-24 Thread Andreas Sturmlechner
commit: f75718a34594f3a88764d9c148f59e72beee7b5e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jun 24 21:21:31 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jun 25 04:43:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f75718a3

media-libs/aften: Drop old

Closes: https://bugs.gentoo.org/657258
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/aften/aften-0.0.8.ebuild | 33 -
 1 file changed, 33 deletions(-)

diff --git a/media-libs/aften/aften-0.0.8.ebuild 
b/media-libs/aften/aften-0.0.8.ebuild
deleted file mode 100644
index 1b01dc33c91..000
--- a/media-libs/aften/aften-0.0.8.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="An A/52 (AC-3) audio encoder"
-HOMEPAGE="http://aften.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1 BSD"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="cxx"
-
-PATCHES=(
-   "${FILESDIR}/${P}-multilib.patch"
-   "${FILESDIR}/${P}-ppc.patch"
-)
-
-src_configure() {
-   local mycmakeargs="-DSHARED=1"
-   use cxx && mycmakeargs+=" -DBINDINGS_CXX=1"
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-   dodoc README Changelog
-   # File collision with media-sound/wavbreaker, upstream informed
-   mv "${D}/usr/bin/wavinfo" "${D}/usr/bin/wavinfo-aften" || die
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/aften/

2018-06-07 Thread Agostino Sarubbo
commit: 0854c28f981a1c4080a0bacf178eb8240fa3a3e1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun  7 10:09:49 2018 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun  7 10:09:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0854c28f

media-libs/aften: amd64 stable wrt bug #657258

Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --include-arches="amd64"

 media-libs/aften/aften-0.0.8-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/aften/aften-0.0.8-r2.ebuild 
b/media-libs/aften/aften-0.0.8-r2.ebuild
index bf15a3ad7f3..a52cda27855 100644
--- a/media-libs/aften/aften-0.0.8-r2.ebuild
+++ b/media-libs/aften/aften-0.0.8-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="LGPL-2.1 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="cxx"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: media-libs/aften/files/, media-libs/aften/

2016-09-05 Thread Michael Orlitzky
commit: a1115b15ff396d0096dade43aba4fa5faa1a0826
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Mon Sep  5 22:11:14 2016 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Sep  5 22:12:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1115b15

media-libs/aften: new revision with dynamically-linked executable.

This new revision includes a tiny patch from Gentoo user Ihar
Hrachyshka. The upstream build system defaults to building a target
called "aften_static", and all we need to do is change that to "aften"
to get the dynamically-linked version.

Non-maintainer commit with permission from David Seifert (soap).

Gentoo-Bug: 258397

Package-Manager: portage-2.2.28

 .../{aften-0.0.8-r1.ebuild => aften-0.0.8-r2.ebuild}  |  1 +
 media-libs/aften/files/aften-0.0.8-no-static-aften.patch  | 15 +++
 2 files changed, 16 insertions(+)

diff --git a/media-libs/aften/aften-0.0.8-r1.ebuild 
b/media-libs/aften/aften-0.0.8-r2.ebuild
similarity index 94%
rename from media-libs/aften/aften-0.0.8-r1.ebuild
rename to media-libs/aften/aften-0.0.8-r2.ebuild
index b07f04f..6a18871 100644
--- a/media-libs/aften/aften-0.0.8-r1.ebuild
+++ b/media-libs/aften/aften-0.0.8-r2.ebuild
@@ -18,6 +18,7 @@ IUSE="cxx"
 PATCHES=(
"${FILESDIR}/${P}-multilib.patch"
"${FILESDIR}/${P}-ppc.patch"
+   "${FILESDIR}/${P}-no-static-aften.patch"
 )
 
 src_configure() {

diff --git a/media-libs/aften/files/aften-0.0.8-no-static-aften.patch 
b/media-libs/aften/files/aften-0.0.8-no-static-aften.patch
new file mode 100644
index ..66cb18d
--- /dev/null
+++ b/media-libs/aften/files/aften-0.0.8-no-static-aften.patch
@@ -0,0 +1,15 @@
+Patch from user Ihar Hrachyshka on Gentoo bug 258397. Replaces the
+"aften_static" target with "aften" which is dynamically linked.
+
+diff -urN aften-0.0.8.orig/CMakeLists.txt aften-0.0.8/CMakeLists.txt
+--- a/CMakeLists.txt   2007-09-08 04:51:47.0 +0300
 b/CMakeLists.txt   2009-08-30 22:56:00.0 +0300
+@@ -278,7 +278,7 @@
+   # When linking to static aften, dllimport mustn't be used
+   SET_TARGET_PROPERTIES(aften_exe PROPERTIES COMPILE_FLAGS 
-DAFTEN_BUILD_LIBRARY)
+ ENDIF(WIN32)
+-TARGET_LINK_LIBRARIES(aften_exe aften_pcm aften_static)
++TARGET_LINK_LIBRARIES(aften_exe aften_pcm aften)
+ 
+ ADD_EXECUTABLE(wavinfo util/wavinfo.c)
+ TARGET_LINK_LIBRARIES(wavinfo aften_pcm)



[gentoo-commits] repo/gentoo:master commit in: media-libs/aften/, media-libs/aften/files/

2016-01-27 Thread David Seifert
commit: 3478887cc8b1243d8cfd8fc4a247403476e5e69a
Author: David Seifert  gentoo  org>
AuthorDate: Wed Jan 27 20:12:01 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 27 20:12:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3478887c

media-libs/aften: Declare mycmakeargs to be an array

Gentoo-Bug: 573152
* EAPI=6
* Amend patch to be -p1 compliant

Package-Manager: portage-2.2.27

 media-libs/aften/aften-0.0.8-r1.ebuild   | 36 
 media-libs/aften/files/aften-0.0.8-ppc.patch | 16 ++---
 2 files changed, 44 insertions(+), 8 deletions(-)

diff --git a/media-libs/aften/aften-0.0.8-r1.ebuild 
b/media-libs/aften/aften-0.0.8-r1.ebuild
new file mode 100644
index 000..b07f04f
--- /dev/null
+++ b/media-libs/aften/aften-0.0.8-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="An A/52 (AC-3) audio encoder"
+HOMEPAGE="http://aften.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1 BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cxx"
+
+PATCHES=(
+   "${FILESDIR}/${P}-multilib.patch"
+   "${FILESDIR}/${P}-ppc.patch"
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DSHARED=1
+   -DBINDINGS_CXX=$(usex cxx)
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+   dodoc README Changelog
+   # File collision with media-sound/wavbreaker, upstream informed
+   mv "${D}"/usr/bin/wavinfo{,-aften} || die
+}

diff --git a/media-libs/aften/files/aften-0.0.8-ppc.patch 
b/media-libs/aften/files/aften-0.0.8-ppc.patch
index a841acf..f21d816 100644
--- a/media-libs/aften/files/aften-0.0.8-ppc.patch
+++ b/media-libs/aften/files/aften-0.0.8-ppc.patch
@@ -1,7 +1,7 @@
 Index: libaften/ppc/ppc_cpu_caps.h
 ===
 libaften/ppc/ppc_cpu_caps.h
-+++ libaften/ppc/ppc_cpu_caps.h
+--- aften-0.0.8/libaften/ppc/ppc_cpu_caps.h
 aften-0.0.8/libaften/ppc/ppc_cpu_caps.h
 @@ -20,6 +20,7 @@
  #ifndef PPC_CPU_CAPS_H
  #define PPC_CPU_CAPS_H
@@ -12,8 +12,8 @@ Index: libaften/ppc/ppc_cpu_caps.h
  
 Index: libaften/ppc/mdct_altivec.c
 ===
 libaften/ppc/mdct_altivec.c(revision 659)
-+++ libaften/ppc/mdct_altivec.c(revision 660)
+--- aften-0.0.8/libaften/ppc/mdct_altivec.c(revision 659)
 aften-0.0.8/libaften/ppc/mdct_altivec.c(revision 660)
 @@ -47,11 +47,11 @@
  #include "mem.h"
  
@@ -58,8 +58,8 @@ Index: libaften/ppc/mdct_altivec.c
  
 Index: libaften/ppc/altivec_common.h
 ===
 libaften/ppc/altivec_common.h  (revision 659)
-+++ libaften/ppc/altivec_common.h  (revision 660)
+--- aften-0.0.8/libaften/ppc/altivec_common.h  (revision 659)
 aften-0.0.8/libaften/ppc/altivec_common.h  (revision 660)
 @@ -28,11 +28,23 @@
  typedef vector unsigned int   vec_u32_t;
  typedef vector signed int vec_s32_t;
@@ -84,8 +84,8 @@ Index: libaften/ppc/altivec_common.h
  
  static inline vector float vec_ld_float(const float *a)
  {
 ppc_cpu_caps.bak   2007-12-23 17:13:33.0 +
-+++ libaften/ppc/ppc_cpu_caps.c2007-12-23 17:13:43.0 +
+--- aften-0.0.8/ppc_cpu_caps.bak   2007-12-23 17:13:33.0 +
 aften-0.0.8/libaften/ppc/ppc_cpu_caps.c2007-12-23 17:13:43.0 
+
 @@ -81,7 +81,7 @@
  //Attempt to use AltiVec
  if(!sigsetjmp(g_env, 0))