Skip to content

Commit

Permalink
Prepare new alpha release.
Browse files Browse the repository at this point in the history
  • Loading branch information
enzo1982 committed Apr 23, 2019
1 parent 289dc03 commit d98e337
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
4 changes: 2 additions & 2 deletions cdk.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mkdir %CDK_INSTALL_PATH%\system\etc 2> nul
set BUILD_WIN32=True
set BUILD_X86=True

echo fre:ac Component Development Kit v1.1 Alpha 20181201
echo Copyright (C) 2001-2018 Robert Kausch
echo fre:ac Component Development Kit v1.1 Alpha 20190423
echo Copyright (C) 2001-2019 Robert Kausch

bash
4 changes: 2 additions & 2 deletions cdk64.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mkdir %CDK_INSTALL_PATH%\system64\etc 2> nul
set BUILD_WIN32=True
set BUILD_X86_64=True

echo fre:ac Component Development Kit v1.1 Alpha 20181201 (x64)
echo Copyright (C) 2001-2018 Robert Kausch
echo fre:ac Component Development Kit v1.1 Alpha 20190423 (x64)
echo Copyright (C) 2001-2019 Robert Kausch

bash
17 changes: 10 additions & 7 deletions packaging/haiku/boca-version.recipe.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ converter. It provides unified interfaces for components like encoders, \
decoders, taggers and extensions as well as code to support communication \
between applications and their components."
HOMEPAGE="https://github.com/enzo1982/BoCA"
COPYRIGHT="2007-2018 Robert Kausch"
COPYRIGHT="2007-2019 Robert Kausch"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/enzo1982/BoCA/releases/download/v<version>/freac-cdk-<version>.tar.gz"
Expand All @@ -15,15 +15,16 @@ ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"

libVersion="${portVersion%~*}"
libVersionCompat="0 compat >= 0"
libVersionCompat="1 compat >= 1"

PROVIDES="
boca$secondaryArchSuffix = $portVersion
lib:libboca_${libVersion}$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsmooth_0.8.74$secondaryArchSuffix >= 0
smooth$secondaryArchSuffix >= 0.8.74.0~pre6
lib:libsmooth_0.8.74$secondaryArchSuffix >= 1
lib:libexpat$secondaryArchSuffix
lib:liburiparser$secondaryArchSuffix
lib:libz$secondaryArchSuffix
Expand All @@ -35,11 +36,13 @@ PROVIDES_devel="
"
REQUIRES_devel="
boca$secondaryArchSuffix == $portVersion base
devel:libsmooth_0.8.74$secondaryArchSuffix >= 0
smooth${secondaryArchSuffix}_devel >= 0.8.74.0~pre6
devel:libsmooth_0.8.74$secondaryArchSuffix >= 1
"

BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
smooth${secondaryArchSuffix}_devel >= 0.8.74.0~pre6
devel:libsmooth_0.8.74$secondaryArchSuffix
devel:libexpat$secondaryArchSuffix
devel:liburiparser$secondaryArchSuffix
Expand All @@ -64,10 +67,10 @@ INSTALL()

mkdir -p "$developLibDir"

ln -r -s "$libDir"/libboca-$libVersion.so.0 \
ln -r -s "$libDir"/libboca-$libVersion.so.1 \
"$developLibDir"/libboca-$libVersion.so
ln -r -s "$libDir"/libboca-$libVersion.so.0 \
"$developLibDir"/libboca-$libVersion.so.0
ln -r -s "$libDir"/libboca-$libVersion.so.1 \
"$developLibDir"/libboca-$libVersion.so.1

packageEntries devel \
"$developDir"
Expand Down
13 changes: 7 additions & 6 deletions runtime/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
TARGET = boca
TYPE = runtime
VERSION = 1.0
REVISION = 1

BOCA_PATH = ..

Expand Down Expand Up @@ -62,9 +63,9 @@ else
LDOPTS += -L$(prefix)/lib -lsmooth-$(SMOOTHVER)

ifeq ($(BUILD_OSX),True)
LDOPTS += -Wl,-dylib_install_name,libboca-$(VERSION).0$(SHARED)
LDOPTS += -Wl,-dylib_install_name,libboca-$(VERSION).$(REVISION)$(SHARED)
else
LDOPTS += -Wl,-soname,libboca-$(VERSION)$(SHARED).0
LDOPTS += -Wl,-soname,libboca-$(VERSION)$(SHARED).$(REVISION)
endif
endif

Expand Down Expand Up @@ -119,9 +120,9 @@ ifneq ($(BUILD_WIN32),True)
ln -fs boca/boca.$(VERSION)$(SHARED) $(DESTDIR)$(libdir)/libboca-$(VERSION)$(SHARED)

ifeq ($(BUILD_OSX),True)
ln -fs boca/boca.$(VERSION)$(SHARED) $(DESTDIR)$(libdir)/libboca-$(VERSION).0$(SHARED)
ln -fs boca/boca.$(VERSION)$(SHARED) $(DESTDIR)$(libdir)/libboca-$(VERSION).$(REVISION)$(SHARED)
else
ln -fs boca/boca.$(VERSION)$(SHARED) $(DESTDIR)$(libdir)/libboca-$(VERSION)$(SHARED).0
ln -fs boca/boca.$(VERSION)$(SHARED) $(DESTDIR)$(libdir)/libboca-$(VERSION)$(SHARED).$(REVISION)
endif

ifneq ($(BUILD_OSX),True)
Expand All @@ -138,9 +139,9 @@ endif
uninstall:
ifneq ($(BUILD_WIN32),True)
ifeq ($(BUILD_OSX),True)
rm -f $(DESTDIR)$(libdir)/libboca-$(VERSION).0$(SHARED)
rm -f $(DESTDIR)$(libdir)/libboca-$(VERSION).$(REVISION)$(SHARED)
else
rm -f $(DESTDIR)$(libdir)/libboca-$(VERSION)$(SHARED).0
rm -f $(DESTDIR)$(libdir)/libboca-$(VERSION)$(SHARED).$(REVISION)
endif

rm -f $(DESTDIR)$(libdir)/libboca-$(VERSION)$(SHARED)
Expand Down

0 comments on commit d98e337

Please sign in to comment.