Skip to content

Commit

Permalink
ebuild edit
Browse files Browse the repository at this point in the history
  • Loading branch information
transtone committed Feb 7, 2015
1 parent b221e8b commit 5ebc73f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
1 change: 1 addition & 0 deletions net-misc/freeswitch/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST freeswitch-1.2.23.tar.xz 29608016 SHA256 1eb00378b868130737c29cfd0d3e35215978a5abea44dee00198f49391b613b8
DIST freeswitch-1.4.15.tar.xz 25220840 SHA256 6146843e1cc5aed4707aecf1991df0d5792f7a18087eeff9101185bfa489263f
32 changes: 27 additions & 5 deletions net-misc/freeswitch/freeswitch-1.2.23.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,33 @@ KEYWORDS="~x86 ~amd64"
LICENSE="MPL-1.1"
SLOT="0"

EGIT_REPO_URI="https://freeswitch.org/stash/scm/fs/freeswitch.git"
EGIT_BRANCH="v1.2.stable"
EGIT_BOOTSTRAP=""
inherit git-2

case ${PV} in
9999*)
EGIT_REPO_URI="git://git.freeswitch.org/freeswitch.git"
EGIT_BOOTSTRAP=""
inherit git-2
;;
${PV%.*}.9999*)
EGIT_REPO_URI="git://git.freeswitch.org/freeswitch.git"
EGIT_BRANCH="v${PV%.*}.stable"
EGIT_BOOTSTRAP=""
inherit git-2
;;
*_beta*)
MY_P="${PN}-${PV/_/.}" # 1.4.0_betaX -> 1.4.0.betaX
SRC_URI="http://files-sync.freeswitch.org/${MY_P}.tar.bz2"
S="${WORKDIR}/${PN}-${PV/_beta?/}"
;;
*_rc*)
MY_P="${PN}-${PV/.?_/.}" # 1.2.0_rcX -> 1.2.rcX
SRC_URI="http://files.freeswitch.org/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
;;
*)
SRC_URI="http://files.freeswitch.org/${P/_/}.tar.xz"
S="${WORKDIR}/${P/_/}"
;;
esac

IUSE="esl nosamples odbc +resampler sctp zrtp"

Expand Down

0 comments on commit 5ebc73f

Please sign in to comment.