Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
extrowerk authored and Begasus committed Oct 23, 2024
1 parent 8b3d7c7 commit 25e1cc7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 29 deletions.
2 changes: 1 addition & 1 deletion generic/additional-files/projectx.rdef.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource app_version {
variety = B_APPV_FINAL,
internal = 0,

short_info = "Audacious",
short_info = "Project X",
long_info = "@LONG_INFO@"
};

Expand Down
13 changes: 6 additions & 7 deletions generic/generic_cmd-1.2.3.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ SOURCE_URI="https://github.com/HaikuArchives/ProjectX/archive/projectx-$portVers
CHECKSUM_SHA256="000000000000000000000000000000000"
SOURCE_DIR="$portVersionedName"
PATCHES="projectx-$portVersion.patchset"
ADDITIONAL_FILES="projectx.rdef"

ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="?all"

GLOBAL_WRITABLE_FILES="
settings/projectx.conf keep-old
"

PROVIDES="
projectx = $portVersion
Expand All @@ -35,12 +38,8 @@ BUILD_PREREQUIRES="
cmd:gcc
"

GLOBAL_WRITABLE_FILES="
settings/projectx.conf keep-old
"

defineDebugInfoPackage projectx \
"$commandBinDir"/projectx
"$binDir"/projectx

BUILD()
{
Expand Down
19 changes: 9 additions & 10 deletions generic/generic_cmd_secondary_arch-1.2.3.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ SOURCE_URI="https://github.com/HaikuArchives/ProjectX/archive/projectx-$portVers
CHECKSUM_SHA256="000000000000000000000000000000000"
SOURCE_DIR="$portVersionedName"
PATCHES="projectx-$portVersion.patchset"
ADDITIONAL_FILES="projectx.rdef"

ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="?all ?x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"

# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
Expand All @@ -28,24 +27,24 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then
commandBinDir=$prefix/bin
fi

GLOBAL_WRITABLE_FILES="
settings/projectx.conf keep-old
"

PROVIDES="
projectx = $portVersion
projectx$secondaryArchSuffix = $portVersion
cmd:projectx$commandSuffix = $portVersion
"
REQUIRES="
haiku
haiku$secondaryArchSuffix
"

BUILD_REQUIRES="
haiku_devel
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
"

GLOBAL_WRITABLE_FILES="
settings/projectx.conf keep-old
cmd:gcc$secondaryArchSuffix
"

defineDebugInfoPackage projectx \
Expand Down
14 changes: 3 additions & 11 deletions generic/generic_font-1.2.3.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,10 @@ DISABLE_SOURCE_PACKAGE=yes
PROVIDES="
generic_font = $portVersion
"
REQUIRES="
"

BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
"
REQUIRES=""

BUILD()
{
: # means nothing.
}
BUILD_REQUIRES=""
BUILD_PREREQUIRES=""

INSTALL()
{
Expand Down

0 comments on commit 25e1cc7

Please sign in to comment.