mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:47:34 +00:00
Ports: Improve consistency and quality of ports
- Replaced /Root with - Improved documentation. - Removed a few typos. - Replaced with - Added brackets in some cases. Most of the changes were reviewed and applied manually.
This commit is contained in:
parent
139288b071
commit
492f7132d2
53 changed files with 115 additions and 117 deletions
|
@ -9,7 +9,7 @@ depends="SDL2 libvorbis"
|
|||
configure() {
|
||||
run ./configure \
|
||||
--host="${SERENITY_ARCH}-pc-serenity" \
|
||||
--with-sdl-prefix="${SERENITY_BUILD_DIR}/Root/usr/local" \
|
||||
--with-sdl-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
|
||||
--enable-music-opus=false --enable-music-opus-shared=false \
|
||||
--enable-music-mod-modplug=false --enable-music-mod-modplug-shared=false \
|
||||
EXTRA_LDFLAGS="-lgui -lgfx -lipc -lcore -lcompression"
|
||||
|
@ -20,7 +20,7 @@ build() {
|
|||
}
|
||||
|
||||
install() {
|
||||
run make -k DESTDIR="${SERENITY_BUILD_DIR}/Root" install
|
||||
${CC} -shared -o $DESTDIR/usr/local/lib/libSDL2_mixer.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libSDL2_mixer.a -Wl,--no-whole-archive -Wl,--no-as-needed -lvorbis -lvorbisfile
|
||||
rm -f $DESTDIR/usr/local/lib/libSDL2_mixer.la
|
||||
run make -k DESTDIR="${SERENITY_INSTALL_ROOT}" install
|
||||
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_mixer.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_mixer.a -Wl,--no-whole-archive -Wl,--no-as-needed -lvorbis -lvorbisfile
|
||||
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_mixer.la
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue